Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trezor-gpg init "muceua" -v
- 2023-09-22 15:23:57,059 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]
- 2023-09-22 15:23:57,062 INFO device name: trezor [__init__.py:126]
- 2023-09-22 15:23:57,062 INFO GPG home directory: /home/muce/.gnupg/trezor [__init__.py:131]
- 2023-09-22 15:23:57,065 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:33]
- 2023-09-22 15:23:57,114 INFO Enumerating UdpTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:23:57,116 INFO Enumerating HidTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:23:57,120 INFO Enumerating WebUsbTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:23:57,124 INFO Enumerating BridgeTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:23:57,124 INFO creating client instance for device: webusb:001:5:1 [client.py:117]
- 2023-09-22 15:24:07,508 INFO Enumerating UdpTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:07,511 INFO Enumerating HidTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:07,514 INFO Enumerating WebUsbTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:07,526 INFO Enumerating BridgeTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:07,526 INFO creating client instance for device: webusb:001:5:1 [client.py:117]
- 2023-09-22 15:24:07,674 INFO Successfully resumed session [client.py:354]
- 2023-09-22 15:24:08,409 INFO creating new nist256p1 GPG primary key for "muceua" [__init__.py:62]
- 2023-09-22 15:24:08,409 INFO please confirm GPG signature on Trezor for "<gpg://muceua|nist256p1>"... [client.py:32]
- 2023-09-22 15:24:08,410 INFO Enumerating UdpTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:08,413 INFO Enumerating HidTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:08,415 INFO Enumerating WebUsbTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:08,427 INFO Enumerating BridgeTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:08,427 INFO creating client instance for device: webusb:001:5:1 [client.py:117]
- 2023-09-22 15:24:08,573 INFO Successfully resumed session [client.py:354]
- 2023-09-22 15:24:10,663 INFO please confirm GPG signature on Trezor for "<gpg://muceua|nist256p1>"... [client.py:32]
- 2023-09-22 15:24:10,664 INFO Enumerating UdpTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:10,667 INFO Enumerating HidTransport: found 0 devices [__init__.py:138]
- 2023-09-22 15:24:10,669 INFO Enumerating WebUsbTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:10,680 INFO Enumerating BridgeTransport: found 1 devices [__init__.py:138]
- 2023-09-22 15:24:10,680 INFO creating client instance for device: webusb:001:5:1 [client.py:117]
- 2023-09-22 15:24:11,200 INFO Successfully resumed session [client.py:354]
- gpg: keybox '/home/muce/.gnupg/trezor/pubring.kbx' created
- gpg: armor header: Version: GnuPG v2
- gpg: pub nistp256/199396EA747C67AD 1970-01-01 muceua
- gpg: /home/muce/.gnupg/trezor/trustdb.gpg: trustdb created
- gpg: using pgp trust model
- gpg: key 199396EA747C67AD: public key "muceua" imported
- gpg: Total number processed: 1
- gpg: imported: 1
- gpg: inserting ownertrust of 6
- gpg: checking the trustdb
- gpg: marginals needed: 3 completes needed: 1 trust model: pgp
- gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
- gpg: keydb_search failed: End of file
- gpg: error reading key: End of file
- Traceback (most recent call last):
- File "/home/muce/.local/bin/trezor-gpg", line 8, in <module>
- sys.exit(gpg_tool())
- ^^^^^^^^^^
- File "/home/muce/.local/pipx/venvs/trezor-agent/bin/trezor_agent.py", line 6, in <lambda>
- gpg_tool = lambda: gpg.main(DeviceType)
- ^^^^^^^^^^^^^^^^^^^^
- File "/home/muce/.local/pipx/venvs/trezor-agent/lib/python3.11/site-packages/libagent/gpg/__init__.py", line 331, in main
- return args.func(device_type=device_type, args=args)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/muce/.local/pipx/venvs/trezor-agent/lib/python3.11/site-packages/libagent/gpg/__init__.py", line 198, in run_init
- check_call(keyring.gpg_command(['--homedir', homedir,
- File "/home/muce/.local/pipx/venvs/trezor-agent/lib/python3.11/site-packages/libagent/gpg/__init__.py", line 104, in check_call
- subprocess.check_call(args=args, stdin=stdin, env=env)
- File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['/usr/bin/gpg', '--homedir', '/home/muce/.gnupg/trezor', '--list-secret-keys', 'muceua']' returned non-zero exit status 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement