update vendor keybase/go-crypto (#10234)

This commit is contained in:
6543 authored and GitHub committed 2020-02-11 20:58:23 +02:00
1 parent 86fdba177a
commit bfd62b6f01
29 files changed
+1062 -769

No files matched your search

+8
View File
@@ -70,3 +70,11 @@ type UnknownPacketTypeError uint8
func (upte UnknownPacketTypeError) Error() string {
return "openpgp: unknown packet type: " + strconv.Itoa(int(upte))
}
// DeprecatedKeyError indicates that the key was read and verified
// properly, but uses a deprecated algorithm and can't be used.
type DeprecatedKeyError string
func (d DeprecatedKeyError) Error() string {
return "openpgp: key is deprecated: " + string(d)
}