-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
I'm having trouble locating the code that zeroes memory containing the seed that is is computed in src/bin/compute.rs.
As far as I can tell the following bytes need to be zeroed so the value isn't leaked after the program terminates:
- the private key
- bytes gathered from OsRng (
r) - the text entered by the user (
user_input) - the hash computed from the previous two (
h) - the buffer
seedthat holds a copy ofh(digest is only a pointer as far as I can tell) rng, the ChaChaRng that is created from that seed- possibly some temporary variables in
keypair(...)andAccumulator::transform(...)
Metadata
Metadata
Assignees
Labels
No labels