Skip to main content

Pgp

@hivemq/pgpv2026.06.01.70· 2d agoMODELS
01README

ASCII-armored OpenPGP private key operations via the local gpg binary — inspect, extend expiry, sign-and-verify, upload to keyserver. Runs each invocation against an ephemeral GNUPGHOME so the host keyring is never touched. Auto-detects raw armored or base64-encoded armored key material on import (works around vault providers that strip newlines from multi-line field values).

02Models1
@hivemq/pgpv2026.05.13.2pgp.ts
fn inspect()
Read fingerprint and expiry metadata from an armored private key. Does not require the passphrase.
fn extendExpiry()
Extend the expiry of a private key (primary + all subkeys) and return the new armored key material.
fn verifySigning()
Sign a test payload with the key and verify the signature. Throws if verification fails. Use as a hard gate before destructive distribution.
fn uploadToKeyserver()
Upload an armored public key to a keyserver via gpg.

Resources

keyInfo(infinite)— Inspected metadata of a private PGP key (fingerprint + expiry on primary and subkeys)
extendedKey(infinite)— Armored key material produced by a successful expiry extension
verification(infinite)— Result of a sign-and-verify test against a private key
keyserverUpload(infinite)— Record of a public key uploaded to a keyserver
03Stats
D
50 / 100
Downloads
2
Archive size
11.4 KB
  • Has README or module doc0/2missing
  • README has a code example0/1missing
  • README is substantive0/1pending
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared0/1missing
  • Verified public repository0/2missing
04Platforms
05Labels