
How to export a GPG private key and public key to a file
Nov 15, 2018 · I have generated keys using GPG, by executing the following command gpg --gen-key Now I need to export the key pair to a file; i.e., private and public keys to private.pgp …
How to renew an expired encryption subkey with gpg
Nov 17, 2019 · There is (a newer?) option in gpg (2.2.41) where you can extend all your subkeys at once with only the command: gpg --quick-set-expire <1> <2> <3> meaning: <1> fingerprint …
gpg --list-keys command outputs uid - Unix & Linux Stack Exchange
Nov 26, 2017 · I did a clean install of Arch Linux and imported my backed up gpg private key. As a sanity check I ran: gpg --list-keys Everything showed up as normal except for the uid which …
How to import secret gpg key (copied from one machine to …
Feb 15, 2015 · I'm trying to copy my gpg key from one machine to another. I do: gpg --export ${ID} > public.key gpg --export-secret-key ${ID} > private.key Move files to new machine, and …
help understanding gpg --list--keys output - Unix & Linux Stack …
Oct 9, 2020 · Your private key, which, for historical reasons*, PGP and GPG call 'secret' and which is shown by --list-secret-keys, would be even longer; in addition, showing it on a …
How to find and add a public key to my gpg keyring from …
Nov 19, 2017 · There is gpg --search, though, which allows to (interactively) search the key servers on the command line -- but be aware about the security issues it implies, and make …
shell script - gpg asks for password even with --passphrase - Unix ...
I expect the following command to extract the gpg file without asking for password: gpg --passphrase 1234 file.gpg But it asks for the password. Why? This also have the same …
Encrypt with GPG using a key passed as CLI argument
Dec 14, 2016 · As a solution I decided to encrypt them with GPG. The issue is that I can't find any clues on how to encrypt a particular file with a passphrase passed as a CLI argument to a gpg …
gpg: keyserver receive failed: Server indicated a failure
Jan 6, 2019 · gpg: keyserver receive failed: Server indicated a failure /etc/resolv.conf is using stub 127.0.0.53 but resolves hostname fine (ie. getent hosts google.com work as expected) more …
How to fix GPG key retrieval failed: [Errno 14]?
Jun 6, 2015 · So, by manually writing the GPG key to /etc/pki/rpm-gpg/RPM-GPG-KEY-puias like you did, YUM was then able to find the key at that path. Alternatively, you could have set …