diff options
author | Jakob Unterwurzacher | 2018-02-18 12:42:22 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-02-18 12:42:22 +0100 |
commit | 5b5c7a0a5d73859f74d2151061593ba2f9f9cac7 (patch) | |
tree | aaf168d4e7e26c26fc30f8484f0286f11114b83e /tests/reverse/correctness_test.go | |
parent | bd78b44389189a57816f9d5be3e4c5fb3c73700f (diff) |
main: overwrite keys and let them run out of scope
As soon as we don't need them anymore, overwrite
keys with zeros. Make sure they run out of scope
so we don't create a risk of inadvertedly using
all-zero keys for encryption.
https://github.com/rfjakob/gocryptfs/issues/211
Diffstat (limited to 'tests/reverse/correctness_test.go')
0 files changed, 0 insertions, 0 deletions