<div dir="ltr">On Tue, Aug 5, 2014 at 9:59 PM, Paul Wouters <span dir="ltr"><<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I did a softhsm v1 to v2 migration for opendnssec, which seemed to have<br>
worked:<br>
<br>
softhsm2-util --init-token --slot 0 --label "OpenDNSSEC" --pin 1234 --so-pin 1234<br>
softhsm2-migrate --db /var/softhsm/slot0.db --pin 1234 --slot 0<br>
<br>
this worked after chowning the files to the user ods.<br>
<br>
Then I ran (for testing):<br>
<br>
softhsm2-util --init-token --slot 6 --label "delme" --pin 1234 --so-pin 1234<br>
softhsm2-util --init-token --slot 1 --label "delme" --pin 1234 --so-pin 1234<br>
<br>
The first gave an error about the slot number. The second one worked. I<br>
guess it always has slotsused+1 slots.<br>
<br>
However, softhsm2-util --show-slots shows that both slot 0 and slot 1<br>
now have the "delme" label. So my slot 0 with OpenDNSSEC became<br>
unusable.<br></blockquote><div><br></div><div>I was unable to recreate this issue. See more details in <a href="https://issues.opendnssec.org/browse/SOFTHSM-100">https://issues.opendnssec.org/browse/SOFTHSM-100</a></div>
<div><br></div><div>Could you try this again and provide some more details?</div><div><br></div><div>// Rickard</div></div></div></div>