Skip to content

Description

Notes about GPG.


Attributes

UpdatedNever
Created
CategoryNotes
EffortStub

Topics


Source

View on sourcehut

License

GPG © 2022 by Jon Webb is licensed under CC BY-SA 4.0

GPG

Import from backup

  1. Import master key from backup
gpg --import jon@jonwebb.dev.master.gpg
  1. Get keygrip of primary secret key (sec)
gpg --list-secret-keys --with-keygrip
  1. Delete secret key (sec), retaining signing and encryption secret subkeys (ssb) (laptop keypair)
sudo rm ~/.gnupg/private-keys-v1.d/${SECRET_KEY_KEYGRIP}.key
  1. Assign key trust
gpg --edit-key jon@jonwebb.dev

> trust # follow the prompt to set trust level (ultimate)
> quit