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
133 Check the full path to your ``gpg`` or ``gpg2`` command and use the
134 ``gpg2`` command if regular ``gpg`` for you is the legacy GnuPG v.1.
187 is what you will have. You can verify by running ``gpg --list-secret-keys``,
213 $ gpg --change-passphrase [fpr]
222 $ gpg --quick-addkey [fpr] ed25519 sign
227 $ gpg --send-key [fpr]
263 $ gpg --export-secret-key [fpr] | paperkey -o /tmp/key-backup.txt
313 $ gpg --homedir=/media/disk/foo/gnupg-backup --list-key [fpr]
348 $ gpg --with-keygrip --list-key [fpr]
380 $ gpg --list-secret-keys
387 You should also remove any ``secring.gpg`` files in the ``~/.gnupg``
394 secret keys are still stored in the legacy ``secring.gpg`` file used by
397 ``secring.gpg`` format to use ``private-keys-v1.d`` instead.
399 Once you get that done, make sure to delete the obsolete ``secring.gpg``
475 $ gpg --card-status
486 $ gpg --card-edit
488 gpg/card> admin
490 gpg/card> passwd
520 $ gpg --edit-key [fpr]
533 gpg>
537 commands are done from inside this menu mode, as indicated by ``gpg>``.
543 gpg> key 1
552 gpg> keytocard
565 gpg> key 1
566 gpg> key 2
567 gpg> keytocard
578 gpg> q
591 $ gpg --list-secret-keys
615 $ echo "Hello world" | gpg --clearsign > /tmp/test.asc
616 $ gpg --verify /tmp/test.asc
619 show "Good signature" after you run ``gpg --verify``.
638 $ gpg --list-secret-keys
654 $ gpg --quick-set-expire [fpr] 1y
659 $ gpg --quick-set-expire [fpr] 2020-07-01
663 $ gpg --send-key [fpr]
671 $ gpg --export | gpg --homedir ~/.gnupg --import
674 Using gpg-agent over ssh
677 You can forward your gpg-agent over ssh if you need to sign tags or
722 tell git to always use it instead of the legacy ``gpg`` from version 1::
724 $ git config --global gpg.program gpg2
758 # gpg: Signature made [...]
759 # gpg: Good signature from [...]
767 If you get "``gpg: Can't check signature: unknown pubkey
827 Make sure you configure ``gpg-agent`` before you turn this on.
848 Add the following to your ``~/.gnupg/gpg.conf``::
862 accounts. Once you have the above changes in your ``gpg.conf``, you can
866 $ gpg --locate-keys torvalds@kernel.org gregkh@kernel.org
898 ``trust-model`` setting in ``~/.gnupg/gpg.conf``::
922 gpg: Signature made Sun 07 Jan 2018 10:51:55 PM EST
923 gpg: using RSA key DA73759BF8619E484E5A3B47389A54219C0F2430
924 gpg: issuer "wens@...org"
925 gpg: Can't check signature: No public key
931 $ gpg --search DA73759BF8619E484E5A3B47389A54219C0F2430
932 gpg: data source: hkp://keys.gnupg.net
941 $ gpg --list-key torvalds@kernel.org
947 Next, find a trust path from Linus Torvalds to the key-id you found via ``gpg
957 $ gpg --recv-key C94035C21B4F2AEB