[pkg-gnupg-maint] Bug#831409: ltsp-client lacks gnupg / gnupg2 for apt-key to work
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Sep 6 03:10:40 UTC 2016
On Sat 2016-09-03 04:22:48 -0400, Werner Koch wrote:
> On Sat, 3 Sep 2016 05:24, vagrant at debian.org said:
>
>>> If you've got it in ascii-armored format and aren't sure how to decode
>>> it, you should be able to do that with a short awk | base64 -d pipeline:
>>>
>>> awk '/^$/{ x = 1; } /^[^=-]/{ if (x) { print $0; } ; }' | base64 -d
>>
>> Thanks!
>
> Or simply use
>
> gpg --dearmor <input >output
>
> to strip an OpenPGP armor.
The original report does point out that the system in question doesn't
have gpg available. the awk|base64 pipeline was written to accomodate
that constraint :)
--dkg
More information about the pkg-gnupg-maint
mailing list