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

aead: enable missing_debug_implementations lint and add Debug impls #1411

Merged
merged 1 commit into from Nov 17, 2023

Conversation

newpavlov
Copy link
Member

@newpavlov newpavlov commented Nov 17, 2023

The Payload fields may be considered secret, but they are public in the first place. Plus, usually it's used as a temporary value, so risk of unintentionally exposing sensitive data through it is quite low. IIUC nonce and position fields in the stream constructions are not considered secret, so we can expose them in Debug, while AEAD internals will be protected by its own Debug impl (if it exists).

Relevant issue: #1389

@newpavlov newpavlov merged commit 20ae48b into master Nov 17, 2023
8 checks passed
@newpavlov newpavlov deleted the aead_debug branch November 17, 2023 16:43
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

2 participants