Jordan Rose
be6f28682b
Merge pull request #17 from signalapp/jrose/CiphertextMessageType
...
ffi: Expose CiphertextMessageType constants
2020-10-23 14:42:32 -07:00
Jordan Rose
c89c94b3a0
swift: Add some tests for the ClonableHandleOwner helper
2020-10-22 17:42:14 -07:00
Jordan Rose
c1ffb1b805
ffi: Expose named constants for CiphertextMessageType
...
Also:
- Expose them to Swift as well in a type-safe way
- Verify that each constant matches the encoding used in rust/protocol/
2020-10-22 11:34:25 -07:00
Jordan Rose
7f88b80a12
verifySignature(against:) takes a PublicKey, not a PrivateKey
2020-10-21 13:01:02 -07:00
Jordan Rose
e6e389e643
Swift: Drop 'SignalProtocol' module and just use 'SignalClient'
...
We can use folders for grouping within targets, but it's not obvious
that "protocol" is a useful group for the stuff we have, long-term.
2020-10-19 11:29:30 -07:00
Jordan Rose
d2a4463846
Swift: Build against the in-tree libsignal-ffi
...
And change the full package name to "SignalClient" instead of
"SignalProtocol", since it will eventually contain multiple modules.
This configuration won't allow the package to be used as a dependency
elsewhere without the client having its own set of search paths and
stuff, but that's fine.
2020-10-16 14:25:21 -07:00
Jordan Rose
8d8504669c
Move libsignal-protocol-swift to swift/
2020-10-16 11:23:50 -07:00