Lines Matching refs:gpg

69 ``gpg`` command invoking GnuPG v.1. To check, run::
71 $ gpg --version | head -n1
73 If you see ``gpg (GnuPG) 1.4.x``, then you are using GnuPG v.1. Try the
79 If you see ``gpg (GnuPG) 2.x.x``, then you are good to go. This guide
86 If you have both ``gpg`` and ``gpg2`` commands, you should make sure you
90 $ alias gpg=gpg2
94 Configure gpg-agent options
98 you use the ``gpg`` command and run in the background with the purpose
111 edit your ``~/.gnupg/gpg-agent.conf`` file to set your own values::
119 It is no longer necessary to start gpg-agent manually at the
186 is what you will have. You can verify by running ``gpg --list-secret-keys``,
209 $ gpg --change-passphrase [fpr]
218 $ gpg --quick-addkey [fpr] ed25519 sign
252 $ gpg --export-secret-key [fpr] | paperkey -o /tmp/key-backup.txt
300 $ gpg --homedir=/media/disk/foo/gnupg-backup --list-key [fpr]
335 $ gpg --with-keygrip --list-key [fpr]
367 $ gpg --list-secret-keys
374 You should also remove any ``secring.gpg`` files in the ``~/.gnupg``
381 secret keys are still stored in the legacy ``secring.gpg`` file used by
384 ``secring.gpg`` format to use ``private-keys-v1.d`` instead.
386 Once you get that done, make sure to delete the obsolete ``secring.gpg``
463 $ gpg --card-status
474 $ gpg --card-edit
476 gpg/card> admin
478 gpg/card> passwd
508 $ gpg --edit-key [fpr]
521 gpg>
525 commands are done from inside this menu mode, as indicated by ``gpg>``.
531 gpg> key 1
540 gpg> keytocard
553 gpg> key 1
554 gpg> key 2
555 gpg> keytocard
566 gpg> q
579 $ gpg --list-secret-keys
603 $ echo "Hello world" | gpg --clearsign > /tmp/test.asc
604 $ gpg --verify /tmp/test.asc
607 show "Good signature" after you run ``gpg --verify``.
626 $ gpg --list-secret-keys
642 $ gpg --quick-set-expire [fpr] 1y
647 $ gpg --quick-set-expire [fpr] 2020-07-01
651 $ gpg --send-key [fpr]
659 $ gpg --export | gpg --homedir ~/.gnupg --import
662 Using gpg-agent over ssh
665 You can forward your gpg-agent over ssh if you need to sign tags or
711 tell git to always use it instead of the legacy ``gpg`` from version 1::
713 $ git config --global gpg.program gpg2
747 # gpg: Signature made [...]
748 # gpg: Good signature from [...]
756 If you get "``gpg: Can't check signature: unknown pubkey
816 Make sure you configure ``gpg-agent`` before you turn this on.
894 Add the following to your ``~/.gnupg/gpg.conf``::
908 accounts. Once you have the above changes in your ``gpg.conf``, you can
912 $ gpg --locate-keys torvalds@kernel.org gregkh@kernel.org
944 ``trust-model`` setting in ``~/.gnupg/gpg.conf``::