Merge pull request #166 from ProtonMail/fix/unarmor-error-message

Fix typo in error message for internal.Unarmor()
This commit is contained in:
marinthiercelin 2022-02-28 11:57:19 +01:00 committed by GitHub
commit 00cf9080d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ func Unarmor(input string) (*armor.Block, error) {
io := strings.NewReader(input)
b, err := armor.Decode(io)
if err != nil {
return nil, errors.Wrap(err, "gopenpgp: unable to armor")
return nil, errors.Wrap(err, "gopenpgp: unable to unarmor")
}
return b, nil
}