Decide whether to zeroize buffer or encrypt it back on tag check failure
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- cryptography, security
Research direction
Compare the zeroization approach used by ascon-aead in issue #659 with the encrypt-back approach used by aes-gcm in issue #551. Survey how libraries outside the Rust ecosystem handle one-pass decryption after tag-check failure; done requires a decided strategy and agreement on the resulting buffer behavior.
Written by the indexing model from the issue text.
Description
With one-pass decryption we start to decrypt ciphertext before its integrity was verified. In the case if tag check has failed in the end we need to erase decrypted data. It can be done either by zeroizing the input buffer (as done in ascon-aead, see #659) or by encrypting it back (as done in aes-gcm, see #551).
We probably should look into what is done in other libraries outside of the Rust ecosystem.
- Dominant language
- Rust
- Stars
- 961
- Forks
- 200
- Avg merge
- 1h 30m
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RustCrypto/AEADs
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RustCrypto/AEADs#864 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
RustCrypto/AEADs#765 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
RustCrypto/AEADs#755 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
RustCrypto/AEADs#706 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
RustCrypto/AEADs#628 · 2 comments · 1 reaction ·
All issues in RustCrypto/AEADs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100