Fixed all imports in keys

This commit is contained in:
Ethan Frey
2017-04-19 17:14:19 +02:00
parent 0bfae964e1
commit 91bd7efb7b
13 changed files with 24 additions and 25 deletions

View File

@ -50,7 +50,7 @@ func TestSecretBox(t *testing.T) {
// decoding with a different pass is an error
pk, err := enc.Decrypt(b, "decode")
require.NotNil(err)
require.Nil(pk)
require.True(pk.Empty())
// but decoding with the same passphrase gets us our key
pk, err = enc.Decrypt(b, pass)