Торификация gpg: где найти how to?


На сайте тора сказано: https://trac.torproject.org/pr.....oc/TorifyHOWTO/GnuPG[link1]
[quote][b]Torifying GnuPG on GNU/Linux[/b]
It is very likely both Tor and GnuPG will be in your distributions repositories. If you do not already have them installed, please refer to the documentation for your OS for more information on the packages.
Torifying GnuPG from the command line is a relatively simple task. Since v2.1, GnuPG uses dirmngr to facilitate communication with keyservers. To quote the documentation directly:
[quote]"The option [code]use-tor[/code] switches Dirmngr and thus GnuPG into “Tor mode” to route all network access via the Tor Network. Certain other features are disabled in this mode. The effect of [code]use-tor[/code] cannot be overridden by any other command or even be reloading gpg-agent. The use of [code]--no-use-tor[/code] disables the use of Tor. The default is to use Tor if it is available on startup or after reloading dirmngr."[/quote]
Another option is to insert use-tor into the [code]/.gnupg/dirmngr.conf[/code] file.
For further information on dirmngr options in GnuPG, see ​this section of their official documentation.[/quote]
И дана ссылка https://www.gnupg.org/document.....ml#index-use_002dtor[link2] на руководство
Я запускал [code]gpg-connect-agent --dirmngr 'keyserver --use-tor pgp.mit.edu' /bye[/code]
Я вписал в [code]/.gnupg/dirmngr.conf[/code] [code]use-tor[/code]
Но ничего не добился, [code]torsocks gpg --keyserver pgp.mit.edu --recv-keys 0x4E2C6E8793298290[/code] выдаёт [quote]gpg: keyserver receive failed: Server indicated a failure[/quote]

Где можно найти простое how to с командами, которые нужно вводить?

Комментарии
— poptalk (11/02/2021 23:00)   

gpg сам обращается к демону Tor, поэтому torsocks не нужен.

Попробуйте остановить демон Tor. Тогда gpg должен выдать ошибку.

Ссылки
[link1] https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/GnuPG

[link2] https://www.gnupg.org/documentation/manuals/gnupg/Dirmngr-Options.html#index-use_002dtor