Tongsuo-Project / RustyVault

A rusted vault that can do many awesome secrets management stuff...
Apache License 2.0
264 stars 21 forks source link

Zeroize sensitive memory in barrier_aes_gcm context #39

Closed InfoHunter closed 9 months ago

InfoHunter commented 10 months ago

As per: https://github.com/Tongsuo-Project/RustyVault/issues/38, this commit addresses that issue.

This is only one fix, more fixes in other context (for instance, the shamir) are coming up later...

InfoHunter commented 10 months ago

CI failure is not related.

Besides, I found crate secrecy is also suitable to use in this context. May switch to that in another PR in the future.