<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=22&amp;t=1073" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-01-14T11:10:39+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=22&amp;t=1073</id>
<entry>
<author><name><![CDATA[air]]></name></author>
<updated>2014-01-14T11:10:39+01:00</updated>
<published>2014-01-14T11:10:39+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4803#p4803</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4803#p4803"/>
<title type="html"><![CDATA[Re: YubiKey Import Failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4803#p4803"><![CDATA[
<div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />pyhsm.exception.YHSM_CommandFailed: &lt;YHSM_CommandFailed instance at 0xb737e194L: Command YSM_BUFFER_AEAD_GENERATE failed: YSM_KEY_STORAGE_LOCKED&gt;<br /></div><br /><br />Not sure if you solved this already. I think you need to unlock the YubiHSM first. It looks like you set either the Master Key, or a Admin YubiKey. You can run the yhsm-keystore-unlock to unlock the HSM. This should hopefully resolve the issue.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2675">air</a> — Tue Jan 14, 2014 11:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[freewill]]></name></author>
<updated>2013-05-28T04:17:37+01:00</updated>
<published>2013-05-28T04:17:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4009#p4009</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4009#p4009"/>
<title type="html"><![CDATA[YubiKey Import Failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1073&amp;p=4009#p4009"><![CDATA[
Hi,<br /><br />I am trying to configure YubiHSM but keep getting the following error when trying to import YubiKey.<br /><br />Any advise will be appreciated<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />output dir: /var/cache/yubikey-ksm/aeads<br />key handles: {1: '1'}<br />YHSM device: /dev/ttyACM0<br /><br />Traceback (most recent call last):<br />  File &quot;/usr/sbin/yhsm-import-keys&quot;, line 227, in &lt;module&gt;<br />    sys.exit(main())<br />  File &quot;/usr/sbin/yhsm-import-keys&quot;, line 224, in main<br />    return not import_keys(hsm, args)<br />  File &quot;/usr/sbin/yhsm-import-keys&quot;, line 149, in import_keys<br />    aead = hsm.generate_aead(public_id.decode('hex'), kh)<br />  File &quot;/usr/lib/pymodules/python2.6/pyhsm/base.py&quot;, line 404, in generate_aead<br />    return pyhsm.aead_cmd.YHSM_Cmd_AEAD_Buffer_Generate(self.stick, nonce, key_handle).execute()<br />  File &quot;/usr/lib/pymodules/python2.6/pyhsm/cmd.py&quot;, line 73, in execute<br />    return self._read_response()<br />  File &quot;/usr/lib/pymodules/python2.6/pyhsm/cmd.py&quot;, line 108, in _read_response<br />    return self.parse_result(res)<br />  File &quot;/usr/lib/pymodules/python2.6/pyhsm/aead_cmd.py&quot;, line 82, in parse_result<br />    raise pyhsm.exception.YHSM_CommandFailed(pyhsm.defines.cmd2str(self.command), self.status)<br />pyhsm.exception.YHSM_CommandFailed: &lt;YHSM_CommandFailed instance at 0xb737e194L: Command YSM_BUFFER_AEAD_GENERATE failed: YSM_KEY_STORAGE_LOCKED&gt;<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2455">freewill</a> — Tue May 28, 2013 4:17 am</p><hr />
]]></content>
</entry>
</feed>