refactor functions and merge in keyring

This commit is contained in:
William Gotti 2019-05-14 08:07:49 +00:00 committed by Daniel Huigens
parent ef2f0e8340
commit e1098f7d34
8 changed files with 143 additions and 126 deletions

View file

@ -75,7 +75,7 @@ func TestKeyRing_Encrypt(t *testing.T) {
}
func TestKeyRing_ArmoredPublicKeyString(t *testing.T) {
s, err := testPrivateKeyRing.ArmoredPublicKeyString()
s, err := testPrivateKeyRing.GetArmoredPublicKey()
if err != nil {
t.Fatal("Expected no error while getting armored public key, got:", err)
}