Re: [opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Martin Paljak
On Feb 3, 2011, at 10:04 PM, Douglas E. Engert wrote: > I have updates #321 with a new version of the cardmod patch > and would like to start to commit it in pieces. > > Piece 1 is the attachment I sent on 1/28 as new.martin.patch > based on Martin's patch from 1/19. This was the patch that woul

Re: [opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Andre Zepezauer
On Thu, 2011-02-03 at 15:55 -0600, Douglas E. Engert wrote: > > On 2/3/2011 3:14 PM, Andre Zepezauer wrote: > > On Thu, 2011-02-03 at 14:04 -0600, Douglas E. Engert wrote: > >> I have updates #321 with a new version of the cardmod patch > >> and would like to start to commit it in pieces. > >> > >

Re: [opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Andre Zepezauer
> Its not a straight forward as you might think. Have you tried reading the 135 > page "Windows Smart Card Minidriver Specification"? > http://www.microsoft.com/whdc/device/input/smartcard/sc-minidriver.mspx At least in so far to get a picture of the workings. And my impression is, that all the st

Re: [opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Douglas E. Engert
On 2/3/2011 3:14 PM, Andre Zepezauer wrote: > On Thu, 2011-02-03 at 14:04 -0600, Douglas E. Engert wrote: >> I have updates #321 with a new version of the cardmod patch >> and would like to start to commit it in pieces. >> >> Piece 1 is the attachment I sent on 1/28 as new.martin.patch >> based o

Re: [opensc-devel] emu

2011-02-03 Thread Andre Zepezauer
> Ok, now module loads... but fails on locating pkcs15 files, > as rsc_pkcs15_make_absolute_path() removes "5015" on _every_ > file... > > FYI: I know about these paths: > > These are (afaik) standard locations: > 3F00: DF Master.File > 3F005015: DF PKCS15 App > 3F0050155031: EF ODF

Re: [opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Andre Zepezauer
On Thu, 2011-02-03 at 14:04 -0600, Douglas E. Engert wrote: > I have updates #321 with a new version of the cardmod patch > and would like to start to commit it in pieces. > > Piece 1 is the attachment I sent on 1/28 as new.martin.patch > based on Martin's patch from 1/19. This was the patch that

[opensc-devel] cardmod driver now working with login switching cards in XP and Vista

2011-02-03 Thread Douglas E. Engert
plorer authentication to a web site may use hashAlg == CALG_SSL3_SHAMD5. Code was added to use the SC_ALGORITHM_RSA_HASH_MD5_SHA1. On XP I am using the BaseCSP see [3]. [1] http://www.opensc-project.org/opensc/ticket/321 [2] http://www.opensc-project.org/opensc/attachment/ticket/321/cardmod.mega.20

[opensc-devel] sc_ctx_detect_readers patch

2011-02-03 Thread Douglas E. Engert
I have updates #321 with a new version of the cardmod patch and would like to start to commit it in pieces. Piece 1 is the attachment I sent on 1/28 as new.martin.patch based on Martin's patch from 1/19. This was the patch that would work for Brian. The main change is adding two parameters to all

Re: [opensc-devel] DNIe driver: Needs Information on writing pkcs15-xxxx files

2011-02-03 Thread Andre Zepezauer
On Thu, 2011-02-03 at 16:15 +0100, Andre Zepezauer wrote: > Hello Juan Antonio, > > attached tar file contains an external loadable emulator. Most things in > it are written to the information I got from your 'pkcs15-tool -D' dump. > But don't expect it to work instantly. > > I assumed following

Re: [opensc-devel] DNIe driver: Needs Information on writing pkcs15-xxxx files

2011-02-03 Thread Andre Zepezauer
Hello Juan Antonio, attached tar file contains an external loadable emulator. Most things in it are written to the information I got from your 'pkcs15-tool -D' dump. But don't expect it to work instantly. I assumed following locations: * EF.TokenInfo 3F005032 * EF.ODF 3F005031 Ma

Re: [opensc-devel] OpenSC on Android

2011-02-03 Thread Martin Paljak
Hello, On Jan 26, 2011, at 10:09 AM, Ludovic Rousseau wrote: > I just found the page "SmartCardPKI" [1] on the seek-for-android > project. The goal is to build OpenSC for Android. They provide a patch > [2] but I do not remember reading any discussion about it on the > OpenSC mailing lists. Maybe t

Re: [opensc-devel] DNIe driver: Needs Information on writing pkcs15-xxxx files

2011-02-03 Thread jons...@terra.es
> Mensaje original > De: andre.zepeza...@student.uni-halle.de > Fecha: 03/02/2011 13:06 > Para: >CC: > Asunto: Re: [opensc-devel] DNIe driver: Needs Information on writing > pkcs15- files >On Thu, 2011-02-03 at 12:03 +0100, jons...@terra.es wrote: >> Hi All: >> >> I've

Re: [opensc-devel] r5124

2011-02-03 Thread Martin Paljak
On Feb 3, 2011, at 3:22 PM, Andre Zepezauer wrote: > That patch could be some lines shorter when using > sc_pkcs15_compare_id(). Additionally that would improve readability. > > I don't know what kind of function you did mean. Extracting only that > patch into a new function? I mean the lookup f

Re: [opensc-devel] r5124

2011-02-03 Thread Andre Zepezauer
On Thu, 2011-02-03 at 14:36 +0200, Martin Paljak wrote: > Hello, > > On Thu, Jan 27, 2011 at 20:08, Andre Zepezauer > wrote: > > Hello Martin, > > > > some comments on r5124: > > > > 1. The values of pin_info->reference and prkey_info->key_reference > > shouldn't be compared because: > > > > * pi

Re: [opensc-devel] r5124

2011-02-03 Thread Martin Paljak
Hello, On Thu, Jan 27, 2011 at 20:08, Andre Zepezauer wrote: > Hello Martin, > > some comments on r5124: > > 1. The values of pin_info->reference and prkey_info->key_reference > shouldn't be compared because: > > * pin_info->reference is used as P2 parameter in VERIFY command > * prkey_info->key_

Re: [opensc-devel] DNIe driver: Needs Information on writing pkcs15-xxxx files

2011-02-03 Thread Andre Zepezauer
On Thu, 2011-02-03 at 12:03 +0100, jons...@terra.es wrote: > Hi All: > > I've concluded that DNIe card is not so pkcs15 compliant as > promissed... > I think I need rewriting of several file permissions and paths, as > information > provided in card pkcs15 structure seems to be wrong or incomplet

[opensc-devel] DNIe driver: Needs Information on writing pkcs15-xxxx files

2011-02-03 Thread jons...@terra.es
Hi All: I've concluded that DNIe card is not so pkcs15 compliant as promissed... I think I need rewriting of several file permissions and paths, as information provided in card pkcs15 structure seems to be wrong or incomplete I've studying the source code of provided drivers, but still unsure o

Re: [opensc-devel] Some basic questions about the reader-pcscs.c modifications for cardmod

2011-02-03 Thread francois . leblanc
"Douglas E. Engert" a écrit sur 01/02/2011 22:25:04 : > [image supprimée] > > Re: Some basic questions about the reader-pcscs.c modifications for cardmod > > Douglas E. Engert > > A : > > OpenSC-devel, François Leblanc > > 01/02/2011 22:27 > > I have been doing some more testing. > > Th

Re: [opensc-devel] Some basic questions about the reader-pcscs.c modifications for cardmod

2011-02-03 Thread francois . leblanc
Hello, "Douglas E. Engert" a écrit sur 28/01/2011 23:24:27 : > [image supprimée] > > Some basic questions about the reader-pcscs.c modifications for cardmod > > Douglas E. Engert > > A : > > OpenSC-devel, François Leblanc > > 28/01/2011 23:26 > > > Other CSPs have been able to use the