I try this instruction with ubuntu 18.4 and windows system for linux
trezor-dot-io/learn/a/what-is-gpg
I can’t make step
6. Initialize the agent GPG directory
$ trezor-gpg init "Username " -v
bridge see trezor
Trezor Bridge status
Version: 2.0.27 <p>Connected devices: 1</p>
but trezor-gpg say not connected
aborisov@MSKV-IT-12:~$ trezor-gpg init "aborisov" -v
/home/aborisov/.local/lib/python3.6/site-packages/libagent/age/__init__.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.exceptions import InvalidTag
2022-12-09 14:38:36,647 WARNING This GPG tool is still in EXPERIMENTAL mode, so please note that the API and features may change without backwards compatibility! [__init__.py:118]
2022-12-09 14:38:36,658 INFO device name: trezor [__init__.py:126]
2022-12-09 14:38:36,659 INFO GPG home directory: /home/aborisov/.gnupg/trezor [__init__.py:131]
2022-12-09 14:38:36,672 WARNING NOTE: in order to re-generate the exact same GPG key later, run this command with "--time=0" commandline flag (to set the timestamp of the GPG key manually). [__init__.py:35]
Traceback (most recent call last):
File "/home/aborisov/.local/bin/trezor-gpg", line 8, in <module>
sys.exit(gpg_tool())
File "/home/aborisov/.local/bin/trezor_agent.py", line 6, in <lambda>
gpg_tool = lambda: gpg.main(DeviceType)
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/gpg/__init__.py", line 331, in main
return args.func(device_type=device_type, args=args)
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/gpg/__init__.py", line 182, in run_init
export_public_key(device_type, args))
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/gpg/__init__.py", line 39, in export_public_key
verifying_key = c.pubkey(identity=identity, ecdh=False)
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/gpg/client.py", line 27, in pubkey
with self.device:
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/device/interface.py", line 126, in __enter__
self.conn = self.connect()
File "/home/aborisov/.local/lib/python3.6/site-packages/libagent/device/trezor.py", line 52, in connect
raise interface.NotFoundError('{} not connected'.format(self))
libagent.device.interface.NotFoundError: Trezor not connected