Revision: 843 http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=843 Author: ineiev Date: 2025-07-22 12:51:20 -0400 (Tue, 22 Jul 2025) Log Message: ----------- finally fix markdown
Modified Paths: -------------- trunk/sviki/GpgKeyrings.mdwn Modified: trunk/sviki/GpgKeyrings.mdwn =================================================================== --- trunk/sviki/GpgKeyrings.mdwn 2025-07-22 16:48:45 UTC (rev 842) +++ trunk/sviki/GpgKeyrings.mdwn 2025-07-22 16:51:20 UTC (rev 843) @@ -15,19 +15,17 @@ ## Downloading the current keyring This is how you can get the current keyring of a group -(where <i>group</i> is the 'unix group name'), +(where <b>group</b> is the 'unix group name'), -<pre><code> -wget --content-disposition \ - 'https://savannah.gnu.org/p/release-gpgkeys.php?group=<i>group</i>&download=1' +<pre><code>wget --content-disposition \ + 'https://savannah.gnu.org/p/release-gpgkeys.php?group=<b>group</b>&download=1' </code></pre> -The command saves the keyring in a file named <i>group</i>-keyring.gpg. +The command saves the keyring in a file named <b>group</b>-keyring.gpg. You can list the downloaded keys with the `gpg --show-keys` command, -<pre><code> -gpg --show-keys <i>group</i>-keyring.gpg +<pre><code>gpg --show-keys <b>group</b>-keyring.gpg </pre></code> ## Creating a fresh GnuPG home directory @@ -87,13 +85,15 @@ ## Listing keys - gpg --homedir keyring --list-keys [*key*...] +<pre><code>gpg --homedir keyring --list-keys [<b>key</b>...] +</code></pre> When no keys are specified, all keys in the home directory are listed. ## Deleting keys - gpg --homedir keyring --delete-keys *key* [*another_key*...] +<pre><code>gpg --homedir keyring --delete-keys <b>key</b> [<b>another_key</b>...] +</code></pre> GnuPG will ask for confirmation. @@ -106,7 +106,8 @@ export the key, import it in the temporary directory and edit the key there to remove the data that shouldn't come into the final keyring. - gpg --homedir keyring --edit-key *key* +<pre><code>gpg --homedir keyring --edit-key <b>key</b> +</code></pre> The most useful commands in the `--edit-key` menu are `help`, `uid`, `key`, `delsig`, `deluid`, `delkey`, `sign`, `expire`, `clean`, @@ -119,7 +120,8 @@ ## Exporting keys - gpg --homedir keyring --armor --export [*key*...] > new-keyring.asc +<pre><code>gpg --homedir keyring --armor --export [<b>key</b>...] > new-keyring.asc +</code></pre> When no keys are specified, all keys from the home directory are exported.