class Capsium::Package::OpenPgpSigner

Signs and verifies Capsium packages with OpenPGP detached signatures (ARCHITECTURE.md section 6a) through librnp (Capsium::Package::OpenPgp). Parallel to the RSA-SHA256/X.509 Signer with the same construction semantics and the same error taxonomy (Signer::SignatureError subclasses), so loaders and the CLI handle both schemes uniformly.

The signed payload is identical to the Signer’s: the concatenation, in sorted package-relative path order, of the raw bytes of every file covered by the security.json integrity checksums. signature.sig holds the armored detached OpenPGP signature (SHA-256) over that payload; the signer’s armored public key is embedded as signature.pub.asc and security.json records:

"digitalSignatures": { "certificateType": "OpenPGP",
  "publicKey": "signature.pub.asc",
  "signatureFile": "signature.sig" }

Keys are OpenPGP key files (armored or binary, auto-detected); signing needs a secret key, verification a public one.