
Digamos que he configurado o definido un grupo de claves o varios grupos de claves. ¿Cómo enumero esos grupos? ¿Cómo puedo determinar qué claves son miembros de esos grupos?
Respuesta1
gpg --with-colons --list-config group
DeUso de GNU Privacy Guard: Opciones esotéricas de GPG:
--list-config
Muestra varios parámetros de configuración interna de GnuPG. Esta opción está destinada a programas externos que llaman a GnuPG para realizar tareas y, por lo tanto, generalmente no es útil. Consulte el archivo
doc/DETAILS
en la distribución fuente para obtener detalles sobre qué elementos de configuración pueden aparecer en la lista.--list-config
sólo se puede utilizar con--with-colons
el set.
Del doc/DETAILS
archivo enla fuente de 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