David Baker
d37ed9ff6f
lint
2019-11-15 12:39:14 +00:00
David Baker
e541b96a71
Change check{User|Device}Trust interfaces
...
...to return objects with functions rather than a bitmask
2019-11-15 12:15:13 +00:00
David Baker
d9d65309b3
More s/cross-signing/crossSigning/
2019-11-14 11:29:08 +00:00
David Baker
a98e6964ef
Missed bits of callback renaming
2019-11-11 16:51:49 +00:00
David Baker
fabfe16d45
lint
2019-11-07 12:35:39 +00:00
David Baker
a34758f938
Convert event interface to callbacks
...
Use options.cryptoCallbacks for things that require information
from the app rather than events, since events can have zero, one
or many listeners and the emitter doesn't know how many, so if
nobody's listening then we would have just waited forever for a
response.
Also a collection of other changes like renaming 'fu' to 'firstUse'
2019-11-07 12:31:44 +00:00
David Baker
de1b545df1
lint
2019-10-28 15:42:42 +00:00
Hubert Chathi
7f8b9de560
offer to upgrade device verifications to cross-signing
2019-07-08 12:26:00 -04:00
Hubert Chathi
761f22b63d
minor cleanups
2019-07-08 12:25:28 -04:00
Hubert Chathi
1cae5e8b97
fix unit tests to match event name changes
2019-06-27 23:33:07 -04:00
Hubert Chathi
4c6fa89053
various cross-signing fixes and improvements
2019-06-12 11:47:12 -04:00
Hubert Chathi
0c714ba4a1
some cleanups
2019-06-05 15:24:03 -04:00
Hubert Chathi
95131c7658
add test for syncing trust on another user
2019-05-29 17:01:25 -04:00
Hubert Chathi
936eef194a
minor fixes to tests
2019-05-29 17:01:13 -04:00
Hubert Chathi
53804cac5c
save cross-signing keys from sync and verify new keys for user
2019-05-28 22:28:54 -04:00
Hubert Chathi
193ad9e09d
use 3 keys for cross-signing
2019-05-23 18:18:21 -04:00
Hubert Chathi
405451d783
complete some more unit tests
2019-05-03 23:23:08 -04:00
Hubert Chathi
b0275afac2
remove some debugging lines
2019-05-03 23:22:51 -04:00
Hubert Chathi
ae71f41138
add missing files
2019-05-03 18:12:17 -04:00