gdt: Kangaroo road sign (Default)
[personal profile] gdt

So you've got a new computer and you realise that you GPG keys are on the old one.

gpg --armor --export > keys.asc
gpg --armor --export-secret-keys >> keys.asc
gpg --armor --export-ownertrust > trust.asc

Then some sleight of hand to move the two .asc key files to the new computer. [1]

gpg --import keys.asc
gpg --import-ownertrust trust.asc

---
[1] And yeah, read that with irony. Moving keys around is one of the "hard" problems of everyday cryptography, and the hassle to do it right can be large (and thus expensive, for example a "hand-to-hand courier" where the key material never leaves someone's immediate possession).

Profile

gdt: Kangaroo road sign (Default)
Glen Turner

September 2021

S M T W T F S
   1234
567891011
121314151617 18
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2026-01-01 07:12
Powered by Dreamwidth Studios