Fixed all imports in keys

This commit is contained in:
Ethan Frey
2017-04-19 17:25:53 +02:00
parent 0bfae964e1
commit 91bd7efb7b
13 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ func readInfo(path string) (info keys.Info, err error) {
return
}
pk, err := crypto.PubKeyFromBytes(data)
info.PubKey = crypto.PubKeyS{pk}
info.PubKey = pk
return
}
+1 -1
View File
@@ -25,7 +25,7 @@ func TestBasicCRUD(t *testing.T) {
pubkey := crypto.GenPrivKeyEd25519().PubKey()
info := keys.Info{
Name: name,
PubKey: crypto.PubKeyS{pubkey},
PubKey: pubkey.Wrap(),
}
// No data: Get and Delete return nothing
+1 -1
View File
@@ -17,7 +17,7 @@ func TestBasicCRUD(t *testing.T) {
pubkey := crypto.GenPrivKeyEd25519().PubKey()
info := keys.Info{
Name: name,
PubKey: crypto.PubKeyS{pubkey},
PubKey: pubkey,
}
// No data: Get and Delete return nothing