<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GnuPG on Documentation</title><link>https://docs.daper.io/gnupg/index.html</link><description>Recent content in GnuPG on Documentation</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://docs.daper.io/gnupg/index.xml" rel="self" type="application/rss+xml"/><item><title>GnuPG</title><link>https://docs.daper.io/gnupg/gpg/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/gnupg/gpg/index.html</guid><description>source article: https://zeos.ca/post/2018/gpg-yubikey5/#configuring-your-workstation
Start by installing GPG Suite and smart card drivers.
$ yay -S gnupg ccid opensc Next, I use the following for my ~/.gnupg/gpg.conf file. Make sure to update the default-key parameter to your Key ID.
~/.gnupg/gpg.conf no-greeting require-cross-certification keyserver hkps://keys.openpgp.org keyserver-options no-honor-keyserver-url auto-key-locate https://keys.openpgp.org auto-key-retrieve cert-digest-algo SHA512 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed personal-digest-preferences SHA512 SHA384 SHA256 SHA224 no-emit-version no-comments keyid-format 0xlong with-fingerprint use-agent default-key 0x?</description></item><item><title>Install Key</title><link>https://docs.daper.io/gnupg/install-key/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/gnupg/install-key/index.html</guid><description>Upload to OpenPGP Export and upload the key to https://keys.openpgp.org. Then save the url to your card:
gpg --card-edit gpg/card&amp;gt; admin gpg/card&amp;gt; url URL to retrieve public key: &amp;lt;paste the url to your public key&amp;gt; Install card key on a new machine gpg --edit-card gpg/card&amp;gt; fetch gpg/card&amp;gt; quit</description></item><item><title>Renew subkeys</title><link>https://docs.daper.io/gnupg/renew-subkeys/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/gnupg/renew-subkeys/index.html</guid><description>Import the secret master key gpg2 --import KEYID Edit it gpg2 --expert --edit-key KEYID gpp&amp;gt; key 1 ... gpp&amp;gt; key 2 ... gpp&amp;gt; key 3 ... gpg&amp;gt; expire ... Key is valid for? (0) 1y ... Is this correct? (y/N) y ... gpg&amp;gt; save Delete the secret material from your keyring gpg --delete-secret-keys KEYID Export and distribute Now export the public key with the following command. And upload to keys.openpgp.org, then on other machines, use the fetch command from card to retrieve them.</description></item></channel></rss>