Re: [opensc-devel] PIV card not loading certificates on Fedora 15

2012-04-23 Thread Marc Boorshtein
Yes, it's a us gov agency card. I can use it to get into the building using multi factor so I would be shocked if it didn't have a certificate. The reader is a omnikey 3021. I'll run the script tonight. Thanks Marc Sent from my iPhone On Apr 23, 2012, at 10:14 AM, "Douglas E. Engert" wrote

Re: [opensc-devel] PIV card not loading certificates on Fedora 15

2012-04-23 Thread Douglas E. Engert
On 4/22/2012 6:38 AM, Marc Boorshtein wrote: All, I'm trying to get my PIV card to work on a Fedora Core 15 box running opensc: opensc 0.12.2 [gcc 4.6.0 20110530 (Red Hat 4.6.0-9)] Enabled features: zlib readline openssl pcsc(libpcsclite.so.1) I can insert the card, and authenticate to it u

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Ludovic Rousseau
Le 23 avril 2012 11:41, Nguyễn Hồng Quân a écrit : > Thanks, > Because I focus on OpenPGP support, I base my branch on Martin's. > Some coding convention (from GNU C for example) recommend not to place > any space character at the end of lines. I think doing such is a good > practice. I fully agr

Re: [opensc-devel] ubuntu 12.04 eidenv

2012-04-23 Thread duportail
Op 23-4-2012 11:50, Martin Paljak schreef: > Hello, > > On Thu, Apr 12, 2012 at 14:27, duportail wrote: >> Got a vasco reader working, eid-viewer works correct but got this error >> when eidenv: >> eidenv >> Using reader with a card: Vasco DP905 00 00 >> >> Failed to decode the ID file: Required A

Re: [opensc-devel] Failed to connect to card: Card is invalid or cannot be handled

2012-04-23 Thread Martin Paljak
Hello, On Sun, Apr 8, 2012 at 21:56, Anton Svensson wrote: > Hmm, what kind of info is needed? > Dont have that much to be honest, Its a "white card", got it after i went to > a pki workshop (for 2k8), its from crescendo. And its also typed "iclass eh" > on the bottom. > Should i attatch any more

[opensc-devel] Where the card->ops is populated?

2012-04-23 Thread Nguyễn Hồng Quân
Hi all I'm new and I'm researching OpenSC. I'm tracing the "card->ops" variable in opensc-explorer.c, which points to a list of functions to be called. I want to know when that list is populated, to see how OpenSC know to call the function specific to the connected card (function for OpenGPG for

Re: [opensc-devel] Failed to connect to card: Card is invalid or cannot be handled

2012-04-23 Thread Martin Paljak
On Sun, Apr 8, 2012 at 16:44, Ludovic Rousseau wrote: > PS: to the OpenSC members, don't we have a description of what is > needed when reporting a problem? > I could not find it on the wiki. When trying to post a new ticket, there is a bold link to ReportingBugs, which includes a (maybe too verb

Re: [opensc-devel] ubuntu 12.04 eidenv

2012-04-23 Thread Martin Paljak
Hello, On Thu, Apr 12, 2012 at 14:27, duportail wrote: > Got a vasco reader working, eid-viewer works correct but got this error > when eidenv: > eidenv > Using reader with a card: Vasco DP905 00 00 > > Failed to decode the ID file: Required ASN.1 object not found I have a test card with the sam

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Nguyễn Hồng Quân
Thanks, Because I focus on OpenPGP support, I base my branch on Martin's. Some coding convention (from GNU C for example) recommend not to place any space character at the end of lines. I think doing such is a good practice. Because I just start with this project, I think I should let my modifi

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Ludovic Rousseau
Le 23 avril 2012 11:09, Nguyễn Hồng Quân a écrit : > Thanks, > I made a pull request at https://github.com/martinpaljak/OpenSC/pull/19 I can't accept your pull request because: - you cloned martinpaljak/OpenSC instead of OpenSC/OpenSC - use the staging branch instead of the master branch - you ma

Re: [opensc-devel] OpenSC and multi-arch support

2012-04-23 Thread Martin Paljak
Hello, On Sat, Apr 14, 2012 at 19:55, Alon Bar-Lev wrote: > Anyway, now that mingw64 is maintained and I guess the old > pcsc-lite may not be supported any more (the one that broke some > interface), it should be safe to link at compile time, change should > not be significant. Direct linkin

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Nguyễn Hồng Quân
Thanks, I made a pull request at https://github.com/martinpaljak/OpenSC/pull/19 On 04/23/2012 03:05 PM, Frank Morgner wrote: > On Monday, April 23 at 02:11PM, Nguyễn Hồng Quân wrote: >> Hello all, >> >> I'm starting to code for OpenSC (with the focus on OpenPGP card). >> I found in opensc-explorer

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Martin Paljak
Hello, On Mon, Apr 23, 2012 at 11:05, Frank Morgner wrote: > On Monday, April 23 at 02:11PM, Nguyễn Hồng Quân wrote: >> Hello all, >> >> I'm starting to code for OpenSC (with the focus on OpenPGP card). >> I found in opensc-explorer.c, the do_update_binary() and >> do_update_record() function use

Re: [opensc-devel] Buffer size and defining constant

2012-04-23 Thread Frank Morgner
On Monday, April 23 at 02:11PM, Nguyễn Hồng Quân wrote: > Hello all, > > I'm starting to code for OpenSC (with the focus on OpenPGP card). > I found in opensc-explorer.c, the do_update_binary() and > do_update_record() function use the buffer of 240bytes in size. > I want to know if 240 is just co

[opensc-devel] Buffer size and defining constant

2012-04-23 Thread Nguyễn Hồng Quân
Hello all, I'm starting to code for OpenSC (with the focus on OpenPGP card). I found in opensc-explorer.c, the do_update_binary() and do_update_record() function use the buffer of 240bytes in size. I want to know if 240 is just convention or a limit of something? I want to replace the hardcode wit