When I run the command from the instructions.
onlykey-agent user@host -e rsa -sk RSA2
Traceback (most recent call last):
File "/usr/local/bin/onlykey-agent", line 8, in <module>
sys.exit(ssh_agent())
^^^^^^^^^^^
File "/usr/local/bin/onlykey_agent.py", line 5, in <lambda>
ssh_agent = lambda: libagent.ssh.main(DeviceType)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libagent/ssh/__init__.py", line 185, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libagent/ssh/__init__.py", line 323, in main
for pk in conn.public_keys():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libagent/ssh/__init__.py", line 221, in public_keys
self.public_keys_cache = conn.export_public_keys(self.identities)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libagent/ssh/client.py", line 26, in export_public_keys
vk = self.device.pubkey(identity=i)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libagent/device/onlykey.py", line 271, in pubkey
raise interface.DeviceError("Error response length is not a valid public key")
libagent.device.interface.DeviceError: Error response length is not a valid public key