Hi,
I am trying to configure YubiHSM but keep getting the following error when trying to import YubiKey.
Any advise will be appreciated
Quote:
output dir : /var/cache/yubikey-ksm/aeads
key handles : {1: '1'}
YHSM device : /dev/ttyACM0
Traceback (most recent call last):
File "/usr/sbin/yhsm-import-keys", line 227, in <module>
sys.exit(main())
File "/usr/sbin/yhsm-import-keys", line 224, in main
return not import_keys(hsm, args)
File "/usr/sbin/yhsm-import-keys", line 149, in import_keys
aead = hsm.generate_aead(public_id.decode('hex'), kh)
File "/usr/lib/pymodules/python2.6/pyhsm/base.py", line 404, in generate_aead
return pyhsm.aead_cmd.YHSM_Cmd_AEAD_Buffer_Generate(self.stick, nonce, key_handle).execute()
File "/usr/lib/pymodules/python2.6/pyhsm/cmd.py", line 73, in execute
return self._read_response()
File "/usr/lib/pymodules/python2.6/pyhsm/cmd.py", line 108, in _read_response
return self.parse_result(res)
File "/usr/lib/pymodules/python2.6/pyhsm/aead_cmd.py", line 82, in parse_result
raise pyhsm.exception.YHSM_CommandFailed(pyhsm.defines.cmd2str(self.command), self.status)
pyhsm.exception.YHSM_CommandFailed: <YHSM_CommandFailed instance at 0xb737e194L: Command YSM_BUFFER_AEAD_GENERATE failed: YSM_KEY_STORAGE_LOCKED>