
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 of your …
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 and public.pgp, …
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 terminal where in …
How to import secret gpg key (copied from one machine to another)?
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 then: gpg - …
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 now …
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 behavior: gpg --
gpg - SSH server accepts key, but signing fails - Unix & Linux Stack ...
May 26, 2019 · I have recently tried migrating from a standard ssh public key setup to managing my keys with GPG. Following instructions on my distribution's wiki, I set up ssh to use gpg-agent instead …
How do I tell which GPG key an RPM package was signed with?
The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If...
How to edit a .gpg file with vi? - Unix & Linux Stack Exchange
So I created a gpg encrypted file with password: gpg -c passwords.txt.gpg how can I open it with vi, edit it, then close it? (So that no passwords.txt file will be created, the decrypted passwords.txt is only in …
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 than 1 …