Make it clear that failing to unlock a key isn't fatal
This commit is contained in:
parent
05d0806b56
commit
ee861e4175
|
@ -295,7 +295,7 @@ func (c *Client) Unlock(auth *Auth, passphrase string) (openpgp.EntityList, erro
|
|||
}
|
||||
|
||||
if err := unlockKey(entity, passphraseBytes); err != nil {
|
||||
log.Printf("failed to unlock key %v: %v", entity.PrimaryKey.KeyIdString(), err)
|
||||
log.Printf("warning: failed to unlock key %v: %v", entity.PrimaryKey.KeyIdString(), err)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue