mirror of
https://github.com/go-gitea/gitea
synced 2025-07-08 19:47:21 +00:00
update vendor keybase/go-crypto (#10234)
This commit is contained in:
8
vendor/github.com/keybase/go-crypto/openpgp/errors/errors.go
generated
vendored
8
vendor/github.com/keybase/go-crypto/openpgp/errors/errors.go
generated
vendored
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user