mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 13:05:52 +03:00
[PR #70] [MERGED] implement cryptographic suggestions #77
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/70
Author: @cs01
Created: 7/25/2021
Status: ✅ Merged
Merged: 7/28/2021
Merged by: @cs01
Base:
master← Head:cs01/encryption-improvements📝 Commits (2)
c0a4adeadd key roation; use two AES keys; retrieve AES keys with RSA pubkey36e7dcbdo not use random nonces in browser📊 Changes
11 files changed (+927 additions, -468 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
README.md(+9 -7)📝
docs/termpair_architecture.excalidraw(+238 -209)📝
docs/termpair_architecture.png(+0 -0)📝
termpair/encryption.py(+26 -5)📝
termpair/frontend_src/src/App.tsx(+215 -33)📝
termpair/frontend_src/src/encryption.tsx(+95 -11)📝
termpair/frontend_src/src/events.tsx(+23 -3)📝
termpair/server.py(+9 -4)📝
termpair/server_websocket_subprotocol_handlers.py(+1 -3)📝
termpair/share.py(+310 -193)📄 Description
CHANGELOG.mdSummary of changes
Use new key sharing scheme and address points 1, 3, and 4 from https://github.com/cs01/termpair/issues/36#issue-907434506. I know I said I wasn't going to work on this, but it seemed like a fun challenge to get it all working, and I got to learn some things along the way.
message_count_rotation_required). I can also switch from 128 bit keys to 256 if necessary since I saw a key rotation is recommended after 2^32 when using 256 bit keys.Test plan
Tested by running
Would appreciate any input from @colmmacc or @ignoramous if you have the time. I realize it's a big PR so feel free to ask questions, I'm happy to answer any.
closes #36
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.