Add signature tests, fix tests

This commit is contained in:
Aron Wussler 2019-05-14 16:08:25 +00:00 committed by Daniel Huigens
parent 4081e693fc
commit b42e382224
8 changed files with 121 additions and 27 deletions

View file

@ -125,10 +125,9 @@ func (kr *KeyRing) GetSigningEntity(passphrase string) (*openpgp.Entity, error)
if err := e.PrivateKey.Decrypt([]byte(passphrase)); err != nil {
continue
}
signEntity = e
break
}
signEntity = e
break
}
}
if signEntity == nil {