publishing PGP keys in DNS

Bjoern Schiessle bjoern at
Tue Dec 20 22:44:35 CET 2016

Hi all,

I want to publish my GnuPG key in DNS, therefore I followed this Howto:

I can lookup the DNS entry and it looks OK to me:

$ dig +short TXT

But if I try to test it with gpg like described in the Howto:

echo "foo" | gpg --no-default-keyring --keyring /tmp/gpg-$$ --encrypt
--armor --auto-key-locate pka -r bjoern at

I get this error:

gpg: 0xE2BF04F6: skipped: No public key
gpg: [stdin]: encryption failed: No public key

Any idea what's wrong?


Björn Schießle <bjoern at>
twitter: @schiessle
gnupg/pgp key: 0x0x2378A753E2BF04F6
fingerprint: 244F CEB0 CB09 9524 B21F B896 2378 A753 E2BF 04F6

More information about the Gnupg-users mailing list