GPG의 주요 그룹을 어떻게 나열할 수 있나요?

GPG의 주요 그룹을 어떻게 나열할 수 있나요?

키 그룹 또는 여러 키 그룹을 설정하거나 정의했다고 가정해 보겠습니다. 해당 그룹을 어떻게 나열합니까? 해당 그룹의 구성원인 키를 어떻게 확인할 수 있나요?

답변1

gpg --with-colons --list-config group

에서GNU Privacy Guard 사용: GPG Esoteric 옵션:

--list-config

GnuPG의 다양한 내부 구성 매개변수를 표시합니다. 이 옵션은 작업을 수행하기 위해 GnuPG를 호출하는 외부 프로그램을 위한 것이므로 일반적으로 유용하지 않습니다. doc/DETAILS어떤 구성 항목이 나열될 수 있는지에 대한 자세한 내용은 소스 배포판의 파일을 참조하세요 . 세트 --list-config로만 사용 가능합니다 --with-colons.

doc/DETAILS다음 파일 에서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

관련 정보