Versions in this module Expand all Collapse all v0 v0.56.0 Sep 2, 2026 GO-2026-5932 GO-2026-5932: The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues Changes in this version + var ArmorCorrupt error = errors.StructuralError("armor invalid") + func Encode(out io.Writer, blockType string, headers map[string]string) (w io.WriteCloser, err error) + type Block struct + Body io.Reader + Header map[string]string + Type string + func Decode(in io.Reader) (p *Block, err error)