The golang.org/x/crypto/openpgp package is unsafe by design, has numerous known security issues, is not maintained, and should not be used.
If you are required to interoperate with OpenPGP systems and need a maintained package, consider github.com/ProtonMail/go-crypto/openpgp which is a maintained fork that aims to be a drop-in replacement for this package.
{
"url": "https://pkg.go.dev/vuln/GO-2026-5932",
"review_status": "REVIEWED"
}{
"imports": [
{
"path": "golang.org/x/crypto/openpgp"
},
{
"path": "golang.org/x/crypto/openpgp/packet"
},
{
"path": "golang.org/x/crypto/openpgp/armor"
},
{
"path": "golang.org/x/crypto/openpgp/clearsign"
},
{
"path": "golang.org/x/crypto/openpgp/errors"
},
{
"path": "golang.org/x/crypto/openpgp/elgamal"
},
{
"path": "golang.org/x/crypto/openpgp/s2k"
}
]
}