You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this lib relies on ring for crypto, it may not be possible to zero the memory directly. This should be investigated and possibly updated upstream. Tagging @briansmith since he knows better than I how ring behaves.
At the points where private keys are read, the API could request a &mut [u8] and then zero the bytes after it reads them to ensure they don't float around the caller's program where they could be exploited outside rust-tuf's control. This may be overkill. More research needed.
The text was updated successfully, but these errors were encountered:
Since this lib relies on
ring
for crypto, it may not be possible to zero the memory directly. This should be investigated and possibly updated upstream. Tagging @briansmith since he knows better than I howring
behaves.At the points where private keys are read, the API could request a
&mut [u8]
and then zero the bytes after it reads them to ensure they don't float around the caller's program where they could be exploited outsiderust-tuf
's control. This may be overkill. More research needed.The text was updated successfully, but these errors were encountered: