diff options
author | Jakob Unterwurzacher | 2015-12-06 14:24:45 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-06 14:24:45 +0100 |
commit | 71b94828edb00d3a86bbe366f49295d81f91c28c (patch) | |
tree | 502a8a770ae57629947a4a23179f17553a0def6a /cryptfs/kdf.go | |
parent | fc23aba65b061fab65aa7040c8928c63b3f04310 (diff) |
init: create gocryptfs.diriv after creating gocryptfs.conf
Creating the config file can fail easily, for example if the
password is not entered the same twice. This would leave an
orphaned gocryptfs.diriv behind.
Diffstat (limited to 'cryptfs/kdf.go')
-rw-r--r-- | cryptfs/kdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs/kdf.go b/cryptfs/kdf.go index db08500..9a1d81c 100644 --- a/cryptfs/kdf.go +++ b/cryptfs/kdf.go @@ -28,7 +28,7 @@ func NewScryptKdf(logN int) scryptKdf { s.N = 1 << SCRYPT_DEFAULT_LOGN } else { if logN < 10 { - fmt.Printf("Error: scryptn below 10 is too low to make sense. Aborting.") + fmt.Printf("Error: scryptn below 10 is too low to make sense. Aborting.\n") os.Exit(1) } s.N = 1 << uint32(logN) |