Commit Graph

18 Commits

Author SHA1 Message Date
6e96b6cee4 Let users initialize bwb object with ID themselves 2019-10-05 00:16:30 +00:00
85db7df8ef Set the encryption secret 2019-09-28 09:11:42 +00:00
47ad8b575a Protect main OTP against unauthed changes
This is a problem if someone sends:

000000handshake xyz

...because they will have set our OTP to xyz and could guess codes.

Fixed by using a separate OTP object for handshaking only.
2019-09-23 04:52:24 +00:00
03e37f5601 Update README to use event.respond 2019-09-23 04:50:55 +00:00
b3f8b30dab Clear init secret if becoming a slave 2019-09-12 05:02:16 +00:00
734d9a2c75 Stop logging decryption errors 2019-09-11 20:17:47 +00:00
9c5ca67d53 Fix b58 encode bug 2019-09-11 04:38:17 +00:00
377e561764 Support multi-bot secure key exchange 2019-09-11 04:31:44 +00:00
b95c6593c8 Switch from pycryptodome to cryptography library 2019-09-11 00:51:43 +00:00
9a7e0bb23c Update handshake algorithm 2019-09-10 04:56:57 +00:00
e0c9dfd2ad Fix decryption bug 2019-09-10 03:30:21 +00:00
4400455769 Make check_auth return True / False 2019-09-10 03:07:39 +00:00
a0f3c9ce11 Fix typo 2019-09-10 02:37:14 +00:00
d379d2c138 Add README and build script 2019-09-10 02:32:11 +00:00
52ed901270 Add install requires and Molly 2019-09-10 01:43:20 +00:00
b669615f12 Move functions over from tannerbot 2019-09-10 01:24:01 +00:00
3c3bf9ed37 Rename folder 2019-09-06 08:19:52 +00:00
e4b5714d57 Initial commit 2019-09-06 01:56:11 -06:00