PGP Key Generation
Generate the security@useatrium.me PGP key for vulnerability disclosure encryption.
Prerequisites
- Air-gapped or offline machine (preferred)
- GPG installed (
gpg --version≥ 2.2) - 1Password Team vault access (for private key storage)
Steps
1. Generate key
gpg --full-generate-key
Prompts:
- Kind: (1) RSA and RSA
- Keysize: 4096
- Expiration: 1y
- Real name: Atrium Security
- Email: security@useatrium.me
- Passphrase: strong passphrase (store in 1Password) OR empty if on air-gapped machine
2. Export public key
gpg --armor --export security@useatrium.me > pgp.asc
3. Place in repo
Copy pgp.asc to:
apps/verify/public/security/pgp.asc
Remove the .placeholder suffix file once the real key is in place.
4. Update security.txt
Ensure apps/verify/public/.well-known/security.txt references:
Encryption: https://verify.useatrium.me/security/pgp.asc
5. Test import
On a clean machine:
gpg --import pgp.asc
gpg --list-keys security@useatrium.me
6. Test encrypt/decrypt
echo "test" | gpg --armor --encrypt -r security@useatrium.me > test.asc
gpg --decrypt test.asc # should output "test"
rm test.asc
7. Store private key
- Export:
gpg --armor --export-secret-keys security@useatrium.me > private.asc - Store
private.ascin 1Password Team vault under "Atrium PGP Key". - Two team members must have access.
- Delete
private.ascfrom disk:shred -u private.asc
8. Set renewal reminder
- Calendar reminder: 11 months from generation date.
- Renewal:
gpg --edit-key security@useatrium.me→expire→ set new 1y expiry → re-export.