summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-02-18 12:37:37 +0100
committerJakob Unterwurzacher2018-02-18 12:39:44 +0100
commit0efd220d1e10ac8e3d0048ff4d068cc8174e7185 (patch)
tree693ad42a85a692b27d998515d5df8c74b89a3a99 /main.go
parent72ddbae1e60470943aaae0bfce74ebdc88c07cd2 (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 'main.go')
0 files changed, 0 insertions, 0 deletions