Proposals Unofficial Go proposal tracker

Move openpgp out of x/crypto into its own tagged module and delete it

#81227 · x/crypto/openpgp · low impact · Implemented ·

The x/crypto/openpgp package has been frozen and deprecated since 2021. Its vulnerability entry calls it unsafe by design, with many known security issues, and the Go team rejects bug reports and fixes for it. But the code still lives in the x/crypto repository, so some security scanners flag x/crypto users even when they never import openpgp.

The proposal finishes the deprecation in the usual way: move openpgp into its own nested module, tag a release of that module, and then delete the code from x/crypto. Existing users can keep depending on the tagged module, though they should migrate to a maintained OpenPGP library. Everyone else stops getting scanner warnings about code they don't use.

Proposal
#81227 by seankhliao
Status
Implemented on Oct 9, 2026
Impact
low
Area
x/crypto/openpgp