Skip to content

squeed/openpgp

 
 

Repository files navigation

Build Status GoDoc

openpgp

Package openpgp provides OpenPGP packet processing for keyservers. It is intended to support verification of signed key material and certifications.

Purpose

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.

Features

  • 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.

Usage

This package is newly API versioned by gopkg.in. Expect a v1 branch once it stabilizes.

import "github.com/hockeypuck/openpgp.v0"

License

AGPLv3. Copyright (c) 2015 Casey Marshall.

About

OpenPGP packet processing for keyservers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%