Commit Graph

221 Commits

Author SHA1 Message Date
Nora Trapp
06c654a757
Update README.md 2021-04-08 10:21:14 -07:00
Nora Trapp
36601e4bbe Don't archive sessions when they are fresh. 2021-01-16 18:04:32 -08:00
Nora Trapp
9413e47751 Increase ratchet counter limit 2021-01-16 12:49:24 -08:00
Nora Trapp
c40a9fb072 Fix tests 2020-11-12 17:45:51 -08:00
Nora Trapp
18a7031342 Merge branch 'nt/fix-missing-session-issues' 2020-11-12 17:27:02 -08:00
Nora Trapp
43aa55e6be PR Feedback 2020-11-12 17:26:50 -08:00
Nora Trapp
89c447b636 Add additional logging for decryption errors 2020-11-12 17:24:46 -08:00
Nora Trapp
170acafbc8 Only check identity key changes if our current session state has an identity key 2020-11-12 17:24:46 -08:00
Nora Trapp
99d700a87c Don't purge previous session states after identity key change or promote previous session states after decryption. 2020-11-12 17:23:49 -08:00
Matthew Chen
582ec1a96c Merge branch 'charlesmchen/sessionLogging' 2020-11-12 17:20:55 -03:00
Matthew Chen
8f8d565412 Improve logging around sessions. 2020-11-11 10:19:51 -03:00
Matthew Chen
0516a98a55 Merge branch 'charlesmchen/missingEphemeralPrekey' 2020-10-23 18:45:10 -03:00
Matthew Chen
f0632b87bb Improve logging around missing ephemeral prekeys. 2020-10-23 16:09:52 -03:00
Matthew Chen
97ae15634e Merge branch 'charlesmchen/prekeyLifecycle' 2020-08-25 21:24:50 -03:00
Matthew Chen
34073098e9 Use protocol contexts in prekey stores. 2020-08-25 20:27:11 -03:00
Matthew Chen
61ce278894 Use protocol contexts in prekey stores. 2020-08-25 20:19:43 -03:00
Matthew Chen
852d43fe8d Use protocol contexts in prekey stores. 2020-08-25 20:08:38 -03:00
Michael Kirk
debc5cb311 Merge branch 'mkirk/compiler-warnings' 2020-03-09 16:49:17 -06:00
Michael Kirk
6a1c548be0 fix compiler warnings: missing nullability annotations 2019-12-16 17:47:16 -08:00
Matthew Chen
97bc4ea101 Merge branch 'charlesmchen/fixBrokenTests' 2019-11-07 17:19:02 -03:00
Matthew Chen
ddcdbd04da Fix broken tests. 2019-11-07 13:27:48 -03:00
Matthew Chen
905c5d0e0c Merge branch 'charlesmchen/prekeyManagement' 2019-11-02 08:14:31 -03:00
Matthew Chen
fb8ca529ae Delete old and unused one-time prekeys.
Thanks Mikunj Varsani for the bug report.
2019-11-01 12:54:06 -03:00
Nora Trapp
4a4899ea14 Merge branch 'nt/deployment-target' 2019-09-23 16:52:14 -07:00
Nora Trapp
1c5425eb26 Update deployment target to iOS 10 2019-09-23 10:46:21 -07:00
Michael Kirk
8d4451262d Merge branch 'mkirk/missing-nullability-macros' 2019-06-19 10:08:44 -06:00
Michael Kirk
832cb97c95 add missing nullability macros 2019-06-19 10:08:32 -06:00
Michael Kirk
9bdcbaade2 Merge branch 'mkirk/typed-protocol-context' 2019-05-22 14:57:45 -04:00
Michael Kirk
d1739b2669 Apply ReadContext 2019-05-22 12:00:19 -04:00
Michael Kirk
3fe60a30fe rename ProtocolContext -> SPKProtocolWriteContext 2019-05-22 10:50:45 -04:00
Matthew Chen
41c6a84b46 Add ProtocolContext Protocol. 2019-05-22 10:40:09 -04:00
Michael Kirk
aa4b0a7bfa Merge branch 'mkirk/no-throws-on-load' 2019-05-21 11:08:55 -04:00
Michael Kirk
f852496e31 Move throw from loadPreKey protocol to AxolotlKit 2019-05-13 15:42:21 -06:00
Michael Kirk
dedb0f987a Merge branch 'mkirk/fixup-tests' 2018-11-12 09:21:02 -06:00
Michael Kirk
5ca2eb05d2 CR: rename AxolotlInMemoryStore -> SPKMockProtocolStore 2018-11-12 09:20:46 -06:00
Michael Kirk
d5c81762a0 bundle update 2018-11-11 10:08:37 -06:00
Michael Kirk
604eb1c19c remove empty test file 2018-11-10 12:24:33 -06:00
Michael Kirk
6f418ac522 clean up imports 2018-11-10 12:24:33 -06:00
Michael Kirk
28467b6819 move AxolotlInMemoryStore to public 2018-11-10 12:24:33 -06:00
Michael Kirk
66b38e23b4 Merge branch 'mkirk/rename-throwing-methods' 2018-10-30 11:15:03 -06:00
Michael Kirk
7b2c34bb61 Fixup HKDF tests 2018-10-30 10:03:42 -06:00
Michael Kirk
a87f2fc9c1 find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 2018-10-30 09:19:21 -06:00
Michael Kirk
3d799beccf use modular include 2018-10-29 22:14:25 -06:00
Michael Kirk
5c312e5aea Swift Exception wrap HKDFKit 2018-10-29 21:45:41 -06:00
Michael Kirk
5d20c55fff Swift Exception wrap Curve25519 2018-10-29 21:24:07 -06:00
Michael Kirk
1865a2e4ac audit additional exceptions thrown in PKWM 2018-10-29 15:07:04 -06:00
Michael Kirk
e5a8061c1a Swift Exception wrap SerializationUtilities 2018-10-29 14:44:24 -06:00
Michael Kirk
5a85385d42 Swift Exception wrap NSData+keyVersionByte 2018-10-29 14:36:39 -06:00
Michael Kirk
344d881d69 Exception wrap ECKeyPair for Swift 2018-10-29 14:00:25 -06:00
Michael Kirk
6b2961c2b0 swift exception wrappers used in tests 2018-10-29 12:05:03 -06:00