[tor-relays] Strange OpenPGP behavior during key import under Debian Buster

Olaf Grimm jeep665 at posteo.de
Fri Nov 15 19:43:12 UTC 2019


Hello!

I repeatedly try to install Tor under Debian Buster and fail again at
key import.
With the last system I found the solution by activating the
"Experimental repos" under Debian. This time it didn't work and I kept
looking.

Before repair:
...
2019-11-15 21:18:33 (294 KB/s) -
‘A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc’ saved [19665/19665]
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

My procedure:
I opened the key copied from the Tor website and found at the end of the
key the spelling
...
sGsEejVHxvX7/iOE3rM=
=47bK
-----END PGP PUBLIC KEY BLOCK-----

I changed the last line intuitively with an editor to
...
sGsEejVHxvX7/iOE3rM==47bK
-----END PGP PUBLIC KEY BLOCK-----

and saved it.

Afterwards the import worked!

gpg2 --import ./A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc
gpg: key EE8CBC9E886DDD89: 36 signatures not checked due to missing keys
gpg: key EE8CBC9E886DDD89: public key "deb.torproject.org archive
signing key" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no ultimately trusted keys found

gpg2 --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
OK

I have no explanation!

Best regards!
Olaf


Translated with www.DeepL.com/Translator



More information about the tor-relays mailing list