diff options
author | Jakob Unterwurzacher | 2018-02-18 12:37:37 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-02-18 12:39:44 +0100 |
commit | 0efd220d1e10ac8e3d0048ff4d068cc8174e7185 (patch) | |
tree | 693ad42a85a692b27d998515d5df8c74b89a3a99 /internal/readpassword/stdin_test.go | |
parent | 72ddbae1e60470943aaae0bfce74ebdc88c07cd2 (diff) |
configfile: overwrite and let keys run out of scope
As soon as we don't need them anymore, overwrite
keys with zeros and 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 'internal/readpassword/stdin_test.go')
0 files changed, 0 insertions, 0 deletions