Skip to content

ssh-key: Hash impl cleanups#149

Merged
tarcieri merged 1 commit intomasterfrom
ssh-key/hash-cleanups
Aug 13, 2023
Merged

ssh-key: Hash impl cleanups#149
tarcieri merged 1 commit intomasterfrom
ssh-key/hash-cleanups

Conversation

@tarcieri
Copy link
Member

Don't impl Hash on Mpint which contains potentially secret data. Instead, have the caller determine if a particular Mpint is safe to Hash and then explicitly pass its data to the relevant Hasher.

Don't impl `Hash` on `Mpint` which contains potentially secret data.
Instead, have the caller determine if a particular `Mpint` is safe to
`Hash` and then explicitly pass its data to the relevant `Hasher`.
@tarcieri tarcieri force-pushed the ssh-key/hash-cleanups branch from 0000aaa to bd37307 Compare August 12, 2023 16:35
@tarcieri tarcieri merged commit 06ec42c into master Aug 13, 2023
@tarcieri tarcieri deleted the ssh-key/hash-cleanups branch August 13, 2023 12:32
@tarcieri tarcieri mentioned this pull request Aug 13, 2023
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.

1 participant