This package has been moved into https://github.com/hockeypuck/hockeypuck. Further contributions should be made there, this project has been archived.
Package openpgp
provides OpenPGP packet processing for keyservers. It is
intended to support verification of signed key material and certifications.
Public keyservers are intended to be beneficial directory service, but in the OpenPGP cryptosystem, they are not intended to be securely reliable authorities on the authenticity of keys. Rather, they are tasked with propagating key material -- good, bad or ugly -- for OpenPGP agents like GnuPG to determine authenticity and acceptable content.
This package supports the unique concerns of a keyserver, which is not (and probably should not be) addressed in a typical OpenPGP implementation oriented toward user agents.
- Merging packets among two keyrings.
- De-duplication or preservation of redundant packets in a public keyring.
- Resolve revocations, expirations and certifying self-signatures for non-authoritative purposes.
- Tolerance and classification of experimental, new, and outdated key material for interoperability.
- Keyring digest calculation method compatible with SKS.
- Hierarchical entity modeling of keyring packets.
- Unique scoped identifiers for all packets.
- Reversed-hex key IDs support prefix matching, optimal for many database indexes.
This package is newly API versioned by gopkg.in. Expect a v1 branch once it stabilizes.
import "github.com/hockeypuck/openpgp.v0"
AGPLv3. Copyright (c) 2015 Casey Marshall.