Ingo Klöcker <kloec...@kde.org> wrote:
> On Sonntag, 2. August 2020 06:38:21 CEST Dmitry Alexandrov wrote:
>>
>>      $ wget -qO - "$(/usr/lib/gnupg/gpg-wks-client --print-wkd-url 
>> w...@gnupg.org)" | gpg --with-colons
>>      gpg: WARNING: no command supplied.  Trying to guess what you mean ...
>>      pub:-:256:22:63113AE866587D0A:1538149415:1801393200::-:
>>      uid:::::::::w...@gnupg.org:
>>      sub:-:256:18:3CD7B3A055039224:1538149415:1643626805:::
>
>> BTW, does anyone remember, how to command gpg(1) to print the above in a 
>> human-readable format?  There was some incantation, IIRC, but GPGʼs options 
>> are so tangled, that I have failed to find it.
>
> Do you mean "gpg --show-key" resp. "gpg --show-key --with-subkey-fingerprint"?

Yes, exactly.  Indeed, in contrast with --with-colons, 
--with-subkey-fingerprint alone does nothing:

        $ wget -qO - ‹…› | gpg
        gpg: WARNING: no command supplied.  Trying to guess what you mean ...
        pub   ed25519 2018-09-28 [SC] [expires: 2027-01-31]
              AEA84EDCF01AD86C4701C85C63113AE866587D0A
        uid           w...@gnupg.org
        sub   cv25519 2018-09-28 [E] [expires: 2022-01-31]
        
        $ wget -qO - ‹…› | gpg --with-subkey-fingerprint
        gpg: WARNING: no command supplied.  Trying to guess what you mean ...
        pub   ed25519 2018-09-28 [SC] [expires: 2027-01-31]
              AEA84EDCF01AD86C4701C85C63113AE866587D0A
        uid           w...@gnupg.org
        sub   cv25519 2018-09-28 [E] [expires: 2022-01-31]
        
        $ wget -qO - ‹…› | gpg --show-key --with-subkey-fingerprint
        pub   ed25519 2018-09-28 [SC] [expires: 2027-01-31]
              AEA84EDCF01AD86C4701C85C63113AE866587D0A
        uid                      w...@gnupg.org
        sub   cv25519 2018-09-28 [E] [expires: 2022-01-31]
              E05BA20ED4F17768613B03C53CD7B3A055039224

Thank you.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to