summaryrefslogtreecommitdiff
path: root/internal/cryptocore/randprefetch_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-02-18 12:42:22 +0100
committerJakob Unterwurzacher2018-02-18 12:42:22 +0100
commit5b5c7a0a5d73859f74d2151061593ba2f9f9cac7 (patch)
treeaaf168d4e7e26c26fc30f8484f0286f11114b83e /internal/cryptocore/randprefetch_test.go
parentbd78b44389189a57816f9d5be3e4c5fb3c73700f (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 'internal/cryptocore/randprefetch_test.go')
0 files changed, 0 insertions, 0 deletions