
Angenommen, ich habe eine Schlüsselgruppe oder mehrere Schlüsselgruppen eingerichtet oder definiert. Wie liste ich diese Gruppen auf? Wie kann ich feststellen, welche Schlüssel zu diesen Gruppen gehören?
Antwort1
gpg --with-colons --list-config group
AusVerwenden des GNU Privacy Guard: Esoterische GPG-Optionen:
--list-config
Zeigt verschiedene interne Konfigurationsparameter von GnuPG an. Diese Option ist für externe Programme gedacht, die GnuPG aufrufen, um Aufgaben auszuführen, und ist daher im Allgemeinen nicht nützlich.
doc/DETAILS
Einzelheiten zu den aufgelisteten Konfigurationselementen finden Sie in der Datei in der Quellverteilung.--list-config
ist nur mit set verwendbar--with-colons
.
Aus der doc/DETAILS
Datei indie Quelle von GPG 1.4.22:
Format of the "--list-config" output
====================================
--list-config outputs information about the GnuPG configuration for
the benefit of frontends or other programs that call GnuPG. There are
several list-config items, all colon delimited like the rest of the
--with-colons output. The first field is always "cfg" to indicate
configuration information. The second field is one of (with
examples):
...
group: the third field contains the name of the group, and the fourth
field contains the values that the group expands to, separated
by semicolons.
For example, a group of:
group mynames = paige 0x12345678 joe patti
would result in:
cfg:group:mynames:patti;joe;0x12345678;paige