Skip to content

Conversation

@ZephSibley
Copy link

Looking at the config around the IV and the use of it in the code it seems that the system would encrypt more than one message with the same IV, making the messages vulnerable to attacks explained here

This PR changes the mode to CBC, which can use a fixed IV, and has minimal drawbacks. An alternative to this would be to use a nonce as the IV and send it along with the ciphertext for use in decryption.

Thanks!

@dskvr
Copy link

dskvr commented Oct 20, 2022

Also see https://github.com/rgrizzell/Armachat-circuitpython/blob/refactor/docs/guides/user_guide.md, there was some work done on a refactor but unclear where it stands at this moment

@bobricius
Copy link
Owner

There is many non working thinks. etc addressing and communication, I was not able run this refactor fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants