Commit Graph

107 Commits

Author SHA1 Message Date
Michelle Linington
90f1776e63 Merge branch 'mlin/PR/ExposeUnsealedContent' 2021-09-17 13:12:55 -07:00
Michelle Linington
2ca9aafb27 Expose unsealed ciphertext content 2021-09-16 22:04:01 -07:00
Matthew Chen
998b761970 Fix build break. 2021-09-08 18:01:38 -03:00
Michelle Linington
4c8ddf0b04 Merge branch 'mlin/PR/ExposeGroupIdForSingleRecipientMessages' into feature/SignalClient-adoption 2021-08-12 19:45:14 -07:00
Michelle Linington
d8afca956d Callers can now add groupId to single recipient messages
We need to plumb through groupId. Desktop needs this to properly handle
resend responses.
2021-08-10 21:24:08 -07:00
Michelle Linington
7e59c7e818 Merge branch 'mlin/PR/ZeroedAccessKey' into feature/SignalClient-adoption 2021-08-04 17:08:53 -07:00
Michelle Linington
dcf17cdade Add zeroed SMKUDAccessKey
Used against the multi_recipient endpoint. The server doesn't need an
access key for unrestricted UD recipients.
2021-08-04 17:07:01 -07:00
Michelle Linington
882049b3f2 Adopt renames from SignalClient 2021-07-21 23:08:10 -07:00
Michelle Linington
c5f427f1bc Merge branch 'mlin/PR/LeftoverSenderKeyWork' into feature/SignalClient-adoption 2021-07-21 23:07:21 -07:00
Michelle Linington
242caf0d54 Plumbing of cipher type through decryption errors 2021-07-20 17:54:39 -07:00
Michelle Linington
06d7766c0e Support for decrypting PlaintextContent type
Also, returns the contentHint and groupId of any sealed-sender
decryption errors.
2021-06-02 21:19:12 -07:00
Michelle Linington
d1a3d73c5f Composable access keys
Sender key requires a derived access key that's composed of each
recipients access key xor-ed.
2021-05-28 00:33:53 -07:00
Michelle Linington
5c822fb4d0 Merge branch 'mlin/PR/SenderKey' into feature/SignalClient-adoption 2021-05-20 17:10:25 -07:00
Michelle Linington
6ac7b020fc PR Feedback and minor test change
Originally I used the `throwswrapped` prefix to match existing naming
convention. Jordan said this is a legacy convention.
2021-05-20 17:08:36 -07:00
Michelle Linington
bf0b0403bc Support for SealedSender SenderKeys 2021-05-20 01:22:25 -07:00
Jordan Rose
af0c4d1753 Merge branch 'jrose/remove-AxolotlKit' into feature/SignalClient-adoption 2021-03-22 16:09:30 -07:00
Jordan Rose
564fa5f1f7 Remove last references to AxolotlKit (and HKDFKit) 2021-03-19 18:27:32 -07:00
Jordan Rose
6bcb9a4e21 Update for SignalClient requiring SenderCertificates to have UUIDs
The removed test has been moved to SignalClient in
https://github.com/signalapp/libsignal-client/pull/197
2021-02-23 12:12:11 -08:00
Jordan Rose
c0b114797a Fix misuse of logTag, prefer Int32.max to INT32_MAX 2021-01-27 14:58:17 -08:00
Jordan Rose
7beae489c8 Update for SignalClient.StoreContext 2020-12-14 15:17:32 -08:00
Jordan Rose
bb1f262434 Update for 'throws' removal in SignalClient 2020-12-14 15:17:32 -08:00
Jordan Rose
902ed32a34 Remove SMK{Sender,Server}Certificate in favor of SignalClient 2020-12-14 15:17:32 -08:00
Jordan Rose
276a3cc873 Remove SMKSessionCipherTest
SessionCipher is still in use for classic message decryption (i.e. not
using SMKSecretSessionCipher), but it'll go away soon as well.
2020-12-10 15:21:18 -08:00
Jordan Rose
814a7121c7 Remove SMKEnvironment and SMKAccountIdFinder
SMKSecretSessionCipher now uses SMKAddress rather than an account ID,
leaving it up to SignalServiceKit to map things down to account IDs.
2020-12-10 15:21:18 -08:00
Jordan Rose
89dd24b617 Remove unused SMKUnidentifiedSenderMessage(Content) 2020-12-10 15:21:18 -08:00
Jordan Rose
07fbbfbedc Adopt SignalClient for en/decryption in SMKSecretSessionCipher 2020-12-10 15:21:18 -08:00
Jordan Rose
50fbd4fd21 Adopt SignalClient.PublicKey in certificate types 2020-11-11 16:43:59 -08:00
Jordan Rose
56876641ac Adopt SignalClient in tests to avoid prependKeyType() 2020-11-11 16:43:59 -08:00
Jordan Rose
65002cc8f4 Use SignalClient instead of Curve25519Kit for signature verification 2020-11-11 16:43:59 -08:00
Jordan Rose
c322b49ad2 Remove stray "bridging" header that was exposed as public 2020-11-11 16:43:59 -08:00
Jordan Rose
5b1d0ab759 Adjust testBadSignature to expect errors from SignalClient 2020-11-06 12:43:51 -08:00
Matthew Chen
7addcc1c4b Merge branch 'charlesmchen/prekeyLifecycle' 2020-08-25 21:25:11 -03:00
Matthew Chen
f337ab82f9 Use protocol contexts in prekey stores. 2020-08-25 20:19:29 -03:00
Matthew Chen
70bd1ed3c1 Use protocol contexts in prekey stores. 2020-08-25 20:08:50 -03:00
Michael Kirk
3fcb31137b Merge branch 'mkirk/fixup-tests-1' 2020-03-10 11:38:42 -06:00
Michael Kirk
967b5fa87d Fix tests: adapt to new SPK nullability annotations 2020-03-10 11:36:12 -06:00
Nora Trapp
1d738023e4 Merge branch 'nt/allow-longer-aesgcm-ivs' 2020-02-20 13:56:46 -08:00
Nora Trapp
a02ee0a422 allow different IV lengths for AESGCM256 2020-02-20 10:48:59 -08:00
Matthew Chen
33dc101ee6 Merge branch 'charlesmchen/fixBrokenTests' 2019-11-07 17:20:58 -03:00
Matthew Chen
17baff765b Fix broken tests. 2019-11-07 13:28:22 -03:00
Michael Kirk
b572f728d0 Merge branch 'mkirk/public-key-getters-to-curve' 2019-10-17 09:52:09 -06:00
Michael Kirk
b419ce0c50 move curve extensions to curve lib 2019-10-14 20:59:57 -06:00
Nora Trapp
ad13dd470c Merge branch 'nt/deployment-target' 2019-09-23 16:50:18 -07:00
Nora Trapp
d0b9ae1d7c Update deployment target to iOS 10 2019-09-23 10:44:31 -07:00
Matthew Chen
f7c0c7bd97 Merge branch 'charlesmchen/randomnessVsNil' 2019-07-29 14:55:04 -03:00
Matthew Chen
2c3986051d Fix build breakage around nil Randomness. 2019-07-29 14:50:58 -03:00
Michael Kirk
58e0316701 Merge branch 'mkirk/uuid' 2019-07-17 09:18:33 -06:00
Michael Kirk
5b1a6ad1b2 UUID support 2019-07-17 09:18:28 -06:00
Michael Kirk
e7db16f578 codegen 2019-07-16 23:15:27 -06:00
Michael Kirk
49f4bc19cf update protos for uuid 2019-07-16 23:15:20 -06:00