EldoS | Feel safer!

Software components for data protection, secure storage and transfer

smartcard PIN dialog

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#15411
Posted: 01/01/2011 08:55:58
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

Hi!,

I'm signing a few xml documents with a certificate that has private key in a smartcard.
When signing first xml document, show PIN dialog.
But signing second xml document does not show PIN dialog.

Is there a way show PIN dialog everytime without restart the program ?

Thanks.
#15412
Posted: 01/01/2011 09:18:38
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

In most of the cases it's token driver who is responsible for PIN caching. Do you use TElWinCertStorage or TElPKCS11CertStorage to access the signing certificate?
#15413
Posted: 01/01/2011 11:30:39
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

I'm using TElWinCertStorage. My code is a copy of SimpleSigner project in samples folder.
#15414
Posted: 01/01/2011 11:53:00
by Ken Ivanov (EldoS Corp.)

Then please try to create new TElWinCertStorage object for every single signing operation. This might help (though there's no guarantee though, as PIN requesting is controlled by the token driver).
#15415
Posted: 01/01/2011 14:57:37
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

i tried to create new TElWinCertStorage object but it didn't work.

thanks for your help
#15416
Posted: 01/02/2011 02:51:57
by Ken Ivanov (EldoS Corp.)

Then this can only be controlled on driver level. Please check whether firmware of your token allows to adjust this option. Some vendors do allow user to enable/disable PIN caching.

BTW, are you destroying TElWinCertStorage object after signing (by calling Destroy() or Dispose() methods)? You must dispose of the storage object, as well as all other references to the signing certificate to close all the key handles.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 1188 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!