
Digamos que eu configurei ou defini um grupo de chaves ou vários grupos de chaves. Como faço para listar esses grupos? Como posso determinar quais chaves são membros desses grupos?
Responder1
gpg --with-colons --list-config group
DeUsando o GNU Privacy Guard: opções esotéricas do GPG:
--list-config
Exibe vários parâmetros de configuração interna do GnuPG. Esta opção destina-se a programas externos que chamam o GnuPG para executar tarefas e, portanto, geralmente não é útil. Consulte o arquivo
doc/DETAILS
na distribuição fonte para obter detalhes sobre quais itens de configuração podem ser listados.--list-config
só pode ser usado com--with-colons
set.
Do doc/DETAILS
arquivo ema fonte do 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