Re: [opensc-devel] Small correction on westcos card.

2009-12-02 Thread Andreas Jellinghaus
Am Montag 23 November 2009 11:19:18 schrieb François Leblanc: > I repost the patch to improve pkcs15init on westcos and I add one to > correct issue on p15emu thanks, both commited to trunk. Regards, Andreas ___ opensc-devel mailing list opensc-devel@l

[opensc-devel] pam_pkcs11 & CFK_LOGIN_REQUIRED

2009-12-02 Thread Oleg Smirnov
Hi! pam_pkcs11 doesn't work with cards with no PIN installed. It tries to C_Login() whenever PIN is really needed and fails with "C_Login() failed: 0x0102". I've made a patch which corrects this behavior: * implements get_slot_login_required() function what checks whether current slot req

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Pierre Ossman
On Wed, 2 Dec 2009 16:05:13 +0300 "Aktiv Co. Aleksey Samsonov" wrote: > Pierre Ossman: > > On Wed, 2 Dec 2009 12:48:56 +0300 > > "Aktiv Co. Aleksey Samsonov" wrote: > >> Pierre Ossman: > >>> Comment away! > >> Please see: > >> http://www.opensc-project.org/pipermail/opensc-devel/2009-November/01

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Aktiv Co. Aleksey Samsonov
Pierre Ossman: > On Wed, 2 Dec 2009 12:48:56 +0300 > "Aktiv Co. Aleksey Samsonov" wrote: >> Pierre Ossman: >>> Comment away! >> Please see: >> http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012894.html >> http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012891

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Pierre Ossman
On Wed, 2 Dec 2009 12:48:56 +0300 "Aktiv Co. Aleksey Samsonov" wrote: > Pierre Ossman: > > I've had another look at this and implemented a somewhat ugly hack to > > provide this functionality. Basically C_Login will return success for > > CKU_SO if it can't find an auth object and then rely on th

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Aktiv Co. Aleksey Samsonov
Pierre Ossman: > I've had another look at this and implemented a somewhat ugly hack to > provide this functionality. Basically C_Login will return success for > CKU_SO if it can't find an auth object and then rely on the PIN cache > in C_InitPIN. > > Comment away! Please see: http://www.opensc-pr

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Pierre Ossman
On Wed, 2 Dec 2009 09:51:20 +0100 Pierre Ossman wrote: > On Tue, 10 Nov 2009 18:48:21 +0100 > Pierre Ossman wrote: > > > I'm looking at implementing support for unblocking a locked PIN in my > > application, but looking at OpenSC that doesn't seem to be possible. In > > fact, there are a number

Re: [opensc-devel] Unblocking PIN via PKCS#11?

2009-12-02 Thread Pierre Ossman
On Tue, 10 Nov 2009 18:48:21 +0100 Pierre Ossman wrote: > I'm looking at implementing support for unblocking a locked PIN in my > application, but looking at OpenSC that doesn't seem to be possible. In > fact, there are a number of issues along the way. > I've had another look at this and imple