Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
t) >> I would reuse e.g. the OpenSSH read_passphrase() code instead: Didn't even think about that. Thanks for the tips Peter. Patrik Martinsson, Sweden. On 09/08/2010 10:06 AM, Peter Stuge wrote: > Patrik Martinsson wrote: > >> I just wanted to share a small

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
1" and "slot with index 1 in the slot list": Ok, cool will do that instead. Thanks for the input Martin. Patrik Martinsson, Sweden. On 09/08/2010 11:48 AM, Martin Paljak wrote: > Hello, > On Sep 8, 2010, at 10:30 AM, Patrik Martinsson wrote: > >> I just wanted

[opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
ble and slot=1. Any comments, suggestions, improvements, thoughts around this method, are welcome. (Go easy on the coding-part since I'm not a programmer) /Patrik Martinsson, Sweden. pin_unlock.tar.gz Description: GNU Zip compressed data _

Re: [opensc-devel] Opensc and SetCOS.

2010-09-02 Thread Patrik Martinsson
27;m talking about >> No, it is a bug in OpenSC pcsc driver. Just wanted to draw the attention to >> the fact that it has nothing to do with Open*CT*. Ok cool. Is there anything i can debug to help us out here ? I would really like to get this working and I'm willing to

Re: [opensc-devel] Opensc and SetCOS.

2010-09-02 Thread Patrik Martinsson
an unnecessary cost in my opinion. /Patrik Martinsson, Sweden. On 09/01/2010 07:03 PM, Peter Stuge wrote: > Martin Paljak wrote: > >>> R5C822 (http://www.ricoh.com/LSI/product_pcif/pcc/5c821/index.html). >>> According to the homepage the chip is discontinued however HP

Re: [opensc-devel] Opensc and SetCOS.

2010-09-01 Thread Patrik Martinsson
sertion detecion b) event >> waiting. Hmm yes, I've checked the logs, and as i understand it you correctly, it's a pcsc-lite issue ? So i should take it on their mailinglist instead ? /Patrik Martinsson, Sweden On 09/01/2010 11:55 AM, Martin Paljak wrote: > Hello, > > On

Re: [opensc-devel] Opensc and SetCOS.

2010-09-01 Thread Patrik Martinsson
ossibility to unlock it with your puk, I don't know why this is not possible today ? ) 3. Support for NM to handle pkcs11 tokens when authenticating to 802x wireless networks. I guess 2 and 3 are application-specific rather then opensc, however i though i wo

Re: [opensc-devel] Opensc and SetCOS.

2010-09-01 Thread Patrik Martinsson
. Use a recent and supported smartcard and this should be Okay. Yeah, well unfortunately i can not make this happen, since my company bought these cards to all the employes (+500). I'm putting my faith in this mailing-list.. :) /Patrik Martinsson, Sweden. On 09/01/2010 10:25 AM, Jean-M

Re: [opensc-devel] Opensc and SetCOS.

2010-09-01 Thread Patrik Martinsson
aitForSlotEvent: sc_wait_for_event() returned -1112 0x7f79065f07c0 09:59:44.216 [opensc-pkcs11] misc.c:59:sc_to_cryptoki_error_common: opensc error: Timeout while waiting for event from card reader (-1112) /Patrik Martinsson, Sweden. On 09/01/2010 09:29 AM, Jean-Michel Pouré - GOOZE wrote: &g

Re: [opensc-devel] Opensc and SetCOS.

2010-09-01 Thread Patrik Martinsson
rdMan 3x21 00 00:SCardGetStatusChange failed: 0x8013 ccid-1.3.9-3.el6.x86_64 pcsc-lite-1.5.2-5.el6.x86_64 pcsc-lite-libs-1.5.2-5.el6.x86_64 Any ideas what could be wrong ? /Patrik Martinsson, Sweden. logs.tar.gz Description: GNU Zip compressed

Re: [opensc-devel] Opensc and SetCOS.

2010-08-30 Thread Patrik Martinsson
ntly using the one delivered from omnikey called, ifdokccid_lnx_x64-3.5.1. I could change to use the opensource ccid if you want ? /Patrik Martinsson, Sweden. On 08/30/2010 01:31 PM, Martin Paljak wrote: Hello, I already found the culprits. Just to confirm that the same thing happens the

Re: [opensc-devel] Opensc and SetCOS.

2010-08-30 Thread Patrik Martinsson
Hello again, Just to clarify before posting fully debuglogs, we have our private certificates on these cards. But those are not exportable right ? And by posting fully opensc(debug 99) logs here i wont expose those in any way right ? /Patrik Martinsson On 08/27/2010 01:37 PM, Patrik

Re: [opensc-devel] Opensc and SetCOS.

2010-08-27 Thread Patrik Martinsson
*have* to use NSS with pam_pkcs11, only because >> GDM uses NSS. I think that both pam_pkcs11 and gdm uses nss as default when they come packaged with Red Hat. So if I get one working i think the other one will too(if pam_eventmgr with nss = OK, i think gdm will work too, because the

Re: [opensc-devel] Opensc and SetCOS.

2010-08-27 Thread Patrik Martinsson
On 08/27/2010 02:40 PM, JP Szikora wrote: > Patrik Martinsson a écrit : >> >> Cards are delivered by a company called secmaker, is suppose to have >> setcos 4.4.1, cards delivered by gemalto. > Hi Patrik, > > The SetCOS cards is not produced anymore (end 2007) af

Re: [opensc-devel] Opensc and SetCOS.

2010-08-27 Thread Patrik Martinsson
g fishy when nss is involved. Again, thanks for any kind of help, and tell me what kind of debug info you need and I'll fix it. /Patrik Martinsson, Sweden. On 08/25/2010 02:14 PM, Martin Paljak wrote: Helo, On Aug 25, 2010, at 2:55 PM, Ludovic Rousseau wrote: 2010/8/25 M

Re: [opensc-devel] fix for daemonizing card_eventmgr.

2010-08-25 Thread Patrik Martinsson
Hey, Ah ok i see, cool. Hmm, couldn't find an svn-repository to check out pam_pkcs11 from. Have I missed something ? /Patrik On 08/25/2010 10:32 AM, Ludovic Rousseau wrote: > 2010/8/24 Patrik Martinsson: > >> Hey folks, >> > Hello, > > >>

Re: [opensc-devel] Opensc and SetCOS.

2010-08-24 Thread Patrik Martinsson
evelopers about that, if any of you are interested, here's the link. http://mail.gnome.org/archives/gdm-list/2010-August/msg00023.html Thanks anyway guys. /Patrik Martinsson, Sweden. On 08/24/2010 09:09 AM, Patrik Martinsson wrote: Hello everyone, At our company we use identification

[opensc-devel] fix for daemonizing card_eventmgr.

2010-08-24 Thread Patrik Martinsson
g/api/winscard__clnt_8c.html#aaa02e1f70d68a502cd92ed066c44542f) I don't know if anyone successfully used card_eventmgr in daemon mode before, I would say that, that was not possible, but maybe Im wrong here ? Any comments ? /Patrik Martinsson, Sweden. --- a/pam_pkcs11-0.6.4/src/tools/card_

[opensc-devel] Opensc and SetCOS.

2010-08-24 Thread Patrik Martinsson
re then happy to help debugging this more if necessary. Thanks in advance. /Patrik Martinsson, Sweden [opensc-pkcs11] ctx.c:735:sc_context_create: === [opensc-pkcs11] ctx.c:736:sc_context_create: opensc version: 0.11.13 [opensc-pkcs11] reader-pcsc.c:879:pcsc_dete