Revision: 840
          
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=840
Author:   ineiev
Date:     2025-07-22 12:33:30 -0400 (Tue, 22 Jul 2025)
Log Message:
-----------
amend per sv-hackers-public@

<[email protected]>

Describe downloading the current keyring of a group
and listing keys in it with --show-keys.
Fix a typo.
Minor reformatting.

Modified Paths:
--------------
    trunk/sviki/GpgKeyrings.mdwn

Modified: trunk/sviki/GpgKeyrings.mdwn
===================================================================
--- trunk/sviki/GpgKeyrings.mdwn        2025-07-21 14:29:08 UTC (rev 839)
+++ trunk/sviki/GpgKeyrings.mdwn        2025-07-22 16:33:30 UTC (rev 840)
@@ -12,6 +12,20 @@
 to select the home directory to operate on, the `--homedir` option
 and the `GNUPGHOME` environment variable.  This page will use the former.
 
+## Downloading the current keyring
+
+This is how you can get the current keyring of a group
+(where *group* is the 'unix group name'),
+
+       wget --content-disposition \
+         
'https://savannah.gnu.org/p/release-gpgkeys.php?group=*group*&download=1'
+
+The command saves the keyring in a file named *group*-keyring.gpg.
+
+You can list the downloaded keys with the `gpg --show-keys` command,
+
+       gpg --show-keys *group*-keyring.gpg
+
 ## Creating a fresh GnuPG home directory
 
 Usually, the default home directory contains all keys used for your everyday
@@ -69,13 +83,13 @@
 
 ## Listing keys
 
-       gpg --homedir keyring --list-keys [_key_...]
+       gpg --homedir keyring --list-keys [*key*...]
 
 When no keys are specified, all keys in the home directory are listed.
 
 ## Deleting keys
 
-       gpg --homedir keyring --delete-keys _key_ [_another_key_...]
+       gpg --homedir keyring --delete-keys *key* [*another_key*...]
 
 GnuPG will ask for confirmation.
 
@@ -88,7 +102,7 @@
 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_
+       gpg --homedir keyring --edit-key *key*
 
 The most useful commands in the `--edit-key` menu are `help`,
 `uid`, `key`, `delsig`, `deluid`, `delkey`, `sign`, `expire`, `clean`,
@@ -101,12 +115,12 @@
 
 ## Exporting keys
 
-       gpg --homedir keyring --armor --export [_key_...] > new-keyring.asc
+       gpg --homedir keyring --armor --export [*key*...] > new-keyring.asc
 
 When no keys are specified, all keys from the home directory are exported.
 
 Note the `--armor` option.  It makes GnuPG export in the ASCII format;
-by default, it the format is binary.  The binary format has two disadvantages.
+by default, the format is binary.  The binary format has two disadvantages.
 
 First, it's harder to copy and paste into the browser
 without unintentional corruption.


Reply via email to