Tpm/gpg Key
01README
TPM 2.0-backed non-exportable OpenPGP key via tpm2-pkcs11 + gnupg-pkcs11-scd; presents a ready GNUPGHOME for a pass vault (generate/unlock/status/revoke).
02Behaviors
@shrug/tpm/gpg-keyv2026.07.18.1gpg_key.ts
fn generate()
Provision the TPM key end-to-end and present a ready GNUPGHOME.
fn unlock()
Re-preset the vaulted user PIN into gpg-agent (after reboot/agent
fn status()
Report readiness of the GNUPGHOME: key present, agent reachable,
fn revoke()
Tear down the TPM key: delete the OpenPGP secret key, remove the
Resources
key(infinite)— Generated key state: OpenPGP fingerprint, keygrip, token/object
attempt(infinite)— Audit row for each mutating method (success and failure)
health(infinite)— Readiness snapshot produced by status
03Stats
B
86 / 100
Downloads
15
Archive size
22.5 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive0/1missing
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned
04Platforms
05Labels