Hello, after fixing the export the new engine works again fine with the our HSM. But I just tested the "slot_X-label-ABC" notation so far.
On a different topic, are there any plans to allow the engine to use token/hsm stored Diffie Hellman Keypairs or Elliptic Curves? If not then this would be something I could start looking into. kind regards Andreas > -----Original Message----- > From: Andreas Jellinghaus [mailto:a...@dungeon.inka.de] > Sent: 17 June 2009 06:41 > To: Kroehnert, Andreas > Cc: opensc-devel@lists.opensc-project.org; Ubi - opensc > Subject: Re: [opensc-devel] Problems (bug?) in engine_pkcs11 ver 0.1.5 > > Am Dienstag 16 Juni 2009 12:18:02 schrieb Kroehnert, Andreas: > > Hi Andreas, > > > > indeed my fault, the attempt was to check if the slotid is not 0, > there > > is a conversion missing. > > > > Problem was that the slot id was not parsed from the string but the > > whole string. e.g. "slot_5" resulted in a slot ID equals to the > string > > instead of "5". This caused problems with one of our HSM's where if > no > > slot ID is passed on it defaults to 0. Ending up in situation if a > lot > > greater 0 is used as keystore, the engine wont be able to access it. > > > > should have been changed to somehing better, but ended up in a bogus > > that worked. > > > > Currently checking the new build... > > libp11.exports needs the new symbol. > > except for that, the engine_pkcs11.c code looks good (but I haven't > done any testing on it). > > Regards, Andreas ______________________________________________________________ The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it. ______________________________________________________________ SafeNet UK Ltd. Registered Office: Rivercourt, 3 Meadows Business Park, Station Approach, Blackwater, Camberley, Surrey, GU17 9AB. Registered in England Number 02258824
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel