>>>>> "WK" == Warren Kumari <[email protected]> writes:
WK> Also, a cute trick: dig type61 $(echo -n pwouters| sha224sum | sed "s/
WK> ..$//")._openpgpkey.fedoraproject.org |grep TYPE61 | sed
WK> "s/^.*TYPE61.*\\\#[0-9]* //" | grep -v ";" | sed "s/ //g" | xxd -r -p
WK> | gpg --import --dry-run
FWIW, that does not work here.
Bash adds a space after the $(), so one has to do:
dig type61 $(printf %s._openpgpkey.fedoraproject.org. \
$(printf pwouters | sha224sum | sed 's/..$//' )) \
| grep TYPE61 | sed 's/^.*TYPE61.*\\\#[0-9]* //' \
| grep -v ';' | sed 's/ //g' | xxd -r -p | gpg --import --dry-run
but gpg (2.0) does not like that binary data.
Replacing --import --dry-run with --list-packets does not do any better.
-JimC
--
James Cloos <[email protected]> OpenPGP: 0x997A9F17ED7DAEA6
_______________________________________________
dane mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dane