summaryrefslogtreecommitdiff
path: root/internal/tlog/tlog_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-20 12:59:45 +0200
committerJakob Unterwurzacher2021-06-20 18:09:21 +0200
commit50630e9f3d7f649e41ab6f1102b40a1e4ec99686 (patch)
tree06a41398169b6582b4cd4ce4eebe2434aef08b59 /internal/tlog/tlog_test.go
parenta611810ff46ed0899d677f24c330a994ad125bfb (diff)
fido2: hide "FIDO2" in gocryptfs.conf if not used
Result of: $ gocryptfs -init foo $ cat foo/gocryptfs.conf Before: { "Creator": "gocryptfs v2.0.1", "EncryptedKey": "FodEdNHD/cCwv1n5BuyAkbIOnJ/O5gfdCh3YssUCJ2DUr0A8DrQ5NH2SLhREeWRL3V8EMiPO2Ncr5IVwE4SSxQ==", "ScryptObject": { "Salt": "brGaw9Jg1kbPuSXFiwoxqK2oXFTgbniSgpiB+cu+67Y=", "N": 65536, "R": 8, "P": 1, "KeyLen": 32 }, "Version": 2, "FeatureFlags": [ "GCMIV128", "HKDF", "DirIV", "EMENames", "LongNames", "Raw64" ], "FIDO2": { "CredentialID": null, "HMACSalt": null } } After: { "Creator": "gocryptfs v2.0.1-5-gf9718eb-dirty.DerDonut-badnamecontent", "EncryptedKey": "oFMj1lS1ZsM/vEfanNMeCTPw3PZr5VWeL7ap8Jd8YQm6evy2BAhtQ/pd6RzDx84wlCz9TpxqHRihuwSEMnOWWg==", "ScryptObject": { "Salt": "JZ/5mhy4a8EAQ/wDF1POIEe4/Ss38cfJgXgj26DuA4M=", "N": 65536, "R": 8, "P": 1, "KeyLen": 32 }, "Version": 2, "FeatureFlags": [ "GCMIV128", "HKDF", "DirIV", "EMENames", "LongNames", "Raw64" ] }
Diffstat (limited to 'internal/tlog/tlog_test.go')
0 files changed, 0 insertions, 0 deletions