gpg --fingerprint show only fingerprints and nothing else?

adrelanos adrelanos at riseup.net
Wed Jun 19 12:07:09 CEST 2013


Peter Lebbing:
> On 19/06/13 00:10, Hauke Laging wrote:
>> gpg --with-colons --fingerprint | awk -F: '$1 == "fpr" {print $10;}'
> 
>>> when the output ever changes
>>
>> It won't (it's designed not to change).
> 
> At the risk of sounding pedantic, let me point out that the output you get with
> --with-colons is designed not to change. --with-colons is an option added
> precisely because the output without that option might change and break scripts.

Thats awesome! Thank you both!



More information about the Gnupg-users mailing list