WKD question

Dmitry Alexandrov dag at gnui.org
Sun Aug 2 19:16:22 CEST 2020


Ingo Klöcker <kloecker at 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 wk at gnupg.org)" | gpg --with-colons
>> 	gpg: WARNING: no command supplied.  Trying to guess what you mean ...
>> 	pub:-:256:22:63113AE866587D0A:1538149415:1801393200::-:
>> 	uid:::::::::wk at 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           wk at 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           wk at 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                      wk at gnupg.org
	sub   cv25519 2018-09-28 [E] [expires: 2022-01-31]
	      E05BA20ED4F17768613B03C53CD7B3A055039224

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200802/49bf3af9/attachment.sig>


More information about the Gnupg-users mailing list