Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cfb-mode): add Buffer{Encryptor|Decryptor} #17

Merged
merged 4 commits into from Sep 13, 2022

Conversation

dignifiedquire
Copy link
Member

This allows encrypting and decrypting based on multiple individual pieces of the data, rather than having to work with all data at once.

This allows encrypting and decrypting based on multiple individual pieces of the data, rather than having to work with all data at once.
@dignifiedquire
Copy link
Member Author

ping @tarcieri @newpavlov

@tarcieri
Copy link
Member

tarcieri commented Jun 6, 2022

I'm personally fine with this, although I'm curious what @newpavlov has to say

Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review! I have some minor nits/suggestions and the code can be improved in regards of eliminating unreachable panics, but otherwise I think it's good to merge. The comments about decryptor symmetrically apply to the encryptor as well. I will try to do the panics stuff later in a separate PR after releasing these changes.

cfb-mode/src/decrypt.rs Show resolved Hide resolved
cfb-mode/src/decrypt.rs Outdated Show resolved Hide resolved
cfb-mode/src/decrypt.rs Outdated Show resolved Hide resolved
@dignifiedquire
Copy link
Member Author

@newpavlov should be ready for rereview

@link2xt
Copy link

link2xt commented Aug 27, 2022

Ping @dignifiedquire @newpavlov

2 months passed since last activity here, just want to make sure this PR is not forgotten and bitrot along with rpgp/rpgp#165

@newpavlov
Copy link
Member

newpavlov commented Aug 30, 2022

Oh, I indeed forgot about it during my break from GitHub. I will try to refresh my memory about this PR today or tomorrow and assuming there are no issues (which is quite likely), I will merge and release it right away.

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.

None yet

4 participants