cashmere

cashmere

gpg

Key Management

Create a new GPG Key

The following command adds a new Key with ed25519 to be able to sign files and documents.

gpg --quick-generate-key "Your Name <email@domain>" ed25519 cert sign 2y

Now we add a RSA subkey, so our new key can also be used for SSH.

gpg --quick-add-key B877C0AC3B080FBB rsa4096 auth 2y

Display GPG-Key information

Display all GPG-Key information with key grip.

gpg --list-secret-keys --with-keygrip

Export your GPG SSH Public Key

gpg --export-ssh-key 0xB877C0AC3B080FBB