Commit Graph

113 Commits

Author SHA1 Message Date
Teknique
469aefb873 Encrypt messages between nodes
Both sides of the chat now generate secrets based on their private key
and the other side's public key. They encrypt each message with a nonce
before sending it, and use the nonce in the decryption.

This _does_ mean that the responder has to specify the starter's name
now so that they can select the proper public key for encryption.
2023-08-02 23:21:46 -07:00
Teknique
04354d79c9 Cleanups and prepping for encryption
This cleans up some types, moves some typing to loading and saving keys,
uses clearer object names, and passes a crypto system into chatter.

This lays the groundwork for adding encryption.
2023-08-02 21:20:01 -07:00
Teknique
11858a1f5c Added with_privacy changes 2023-08-02 12:28:52 -07:00
Teknique
92439fede9 Working cross-server chat 2023-08-02 12:28:05 -07:00
Teknique
781051783c Responder tries to open the key before writing. 2023-08-02 12:28:05 -07:00
Teknique
18e283bb84 WIP snapshot. 2023-08-02 12:28:05 -07:00
Teknique
be2b3ec1e8 More helpful class reprs 2023-08-02 12:28:05 -07:00
Teknique
d9d03885d9 Run Black on veilid-python 2023-08-02 12:28:05 -07:00
John Smith
8a287d13ef 0.1.7 2023-07-30 19:33:58 -04:00
John Smith
422a645708 python and api fixes 2023-07-30 16:45:20 -04:00
John Smith
1861650d44 0.1.6 2023-07-22 16:28:05 -04:00
TC Johnson
4951e983c7
Release 0.1.5 2023-07-22 12:02:10 -05:00
Teknique
c4620218aa Worked around globals 2023-07-21 17:35:39 -07:00
Teknique
1e529c2474 Automatically skip tests when veilid-server isn't running 2023-07-21 16:54:32 -07:00
Christien Rioux
fa45f491eb 0.1.4 2023-07-19 21:15:54 -04:00
John Smith
4702a33a4a licensing 2023-07-19 12:48:44 -04:00
John Smith
fff6742c6f version bump 2023-07-17 17:53:42 -04:00
Christien Rioux
217a2470b0 first version bump 2023-07-16 15:04:00 -04:00
Christien Rioux
dbd61a9255 Versions 2023-07-16 14:51:12 -04:00
Christien Rioux
4078c00098 veilidchat work 2023-07-15 19:35:22 -04:00
Christien Rioux
19f384ab33 refactor create dht value 2023-07-15 19:35:22 -04:00
John Smith
d9dd0a3fba cleanup python 2023-07-04 13:38:25 -04:00
John Smith
bd7c5701fe fix python 2023-07-04 13:11:22 -04:00
John Smith
907075411d protocol level capabilities 2023-07-04 12:35:48 -04:00
John Smith
8f721c428b more capability work 2023-07-04 00:24:55 -04:00
John Smith
ffc54f482e more capabilities 2023-07-03 15:56:13 -04:00
John Smith
dfb4eefd92 switch out capabilities 2023-07-03 15:10:28 -04:00
John Smith
d290a66f32 dht fixes 2023-07-01 10:45:31 -04:00
John Smith
176d9ac68e dht testing work 2023-06-29 22:18:45 -04:00
John Smith
d044f646bf fix serialize for keypair 2023-06-29 20:49:15 -04:00
John Smith
17e4d17984 xfer 2023-06-29 14:52:53 -04:00
John Smith
f1292694a2 enable full safety selection through api 2023-06-28 11:40:02 -04:00
John Smith
291e3ef2fe add better dht debugging 2023-06-26 21:29:02 -04:00
John Smith
62aeec6faf debug less 2023-06-25 18:28:32 -04:00
John Smith
3e23f808d0 more sequencing 2023-06-25 01:23:24 -04:00
John Smith
197b7fef6e reliability work 2023-06-24 11:16:34 -04:00
John Smith
acebcb7947 network keying 2023-06-23 21:12:48 -04:00
John Smith
bc6421acf7 fixes 2023-06-23 17:01:52 -04:00
John Smith
16a3931219 fixes 2023-06-21 01:36:07 -04:00
John Smith
1c8ecab2b6 cli fixes 2023-06-20 23:46:39 -04:00
John Smith
f17c2f62cb xfer 2023-06-19 22:35:49 -04:00
John Smith
c556258fe7 disable dht test for now 2023-06-19 15:25:53 -04:00
John Smith
a01d286dcf fix tests 2023-06-19 15:23:30 -04:00
John Smith
ea651e526d xfer 2023-06-19 11:29:33 -04:00
John Smith
2314fcb57e more release lifetime cleanup and base class contextmanager stuff 2023-06-18 20:57:51 -04:00
John Smith
b6e055e47d test work 2023-06-18 18:47:39 -04:00
Teknique
e0efb2853b
Fix remaining type issues 2023-06-17 12:29:38 -07:00
Teknique
f1aad14099
tests/__init__ => conftest 2023-06-17 12:29:37 -07:00
Teknique
553ea7a3e0
Big refactoring sweep through tests 2023-06-17 12:29:36 -07:00
Teknique
b545c5c2be
Fixes 2023-06-17 12:29:35 -07:00
Teknique
00521a1283
Clean state types 2023-06-17 12:29:34 -07:00
Teknique
cf2c26e99b
Clean api types 2023-06-17 12:29:33 -07:00
Teknique
69087f2854
Clean json_api types 2023-06-17 12:29:32 -07:00
Teknique
fa92c9902d
Cleanup types 2023-06-17 12:29:31 -07:00
Teknique
861ca706ab
Simplify error dispatch. 2023-06-17 12:29:30 -07:00
Teknique
0a9cfb3338
Use dataclasses for configuration. 2023-06-17 12:29:29 -07:00
John Smith
c6e2836b85 xfer 2023-06-16 13:14:43 -04:00
John Smith
14ba85efda fixes 2023-06-16 11:57:55 -04:00
John Smith
d6f442d431 better error handling 2023-06-15 20:22:54 -04:00
John Smith
615e0ca1d0 more tests 2023-06-14 21:06:10 -04:00
John Smith
d053e93e72 python work 2023-06-14 16:33:14 -04:00
John Smith
df0b06bf3c python work 2023-06-13 23:17:45 -04:00
John Smith
cd04a8a74c python work 2023-06-11 21:41:13 -04:00