New answers tagged

1 vote
Accepted

How to import OpenPGP Card / YubiKey backup encryption key

Make backup of sk_xxx.gpg Import public key first: gpg --import public.pgp Add data to not fail with "no user id": printf '\xb4\x06foobar' >> sk_xxx.gpg Import updated backup key: gpg -...
user avatar
  • 26
0 votes

Can the public key be extracted from the message encrypted with it?

You are missing the point : You never give the Private Key. You give the Public Key so that people may send you encrypted messages that only you can decrypt with your Private Key. If you want to send ...
user avatar
  • 407k
1 vote

How to restrict the usage flags for primary key-pairs in OpenPGP certificates?

change-usage is the hidden subcommand that will change the allowed action. $ gpg --edit-key $KEYID gpg> change-usage Changing usage of the primary key. Possible actions for a RSA key: Sign ...
user avatar
0 votes

Public/Private key locations with Enigmail and Thunderbird on Windows

Unfortunately, I decided to follow the %AppData%/gnupg gaining control, changing the owner of the folder only to find that in Thunderbird, they are stored in the Thunderbird profile directory. Using ...
user avatar
0 votes

How to use gpg --gen-key in a script?

$ gpg --quick-gen-key --batch --passphrase '...' a@gmail.com From what I can see --quick-gen-key is a better choice for scripts: 4.5.3 The quick key manipulation interface Recent versions of GnuPG ...
user avatar
  • 277

Top 50 recent answers are included