Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread NdK
On 15/02/2011 11:17, Toni Sjoblom - Aventra wrote: > Current MyEID cards are 80K, but some of this space is used by the MyEID > applet itself. > > The file size you see in the 3F00 file is the remaining free space, but due > to a limitation of java cards in general, as Martin mentioned, 32k

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread NdK
On 15/02/2011 19:47, Viktor TARASOV wrote: > Sorry, this card can generate key 512bit . > For that the corresponding algorithm should be added to the list of the > card's algorithms. > > --- src/libopensc/card-myeid.c (révision 5194) > +++ src/libopensc/card-myeid.c (copie de travail) > @@ -100

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread Viktor TARASOV
On 15.02.2011 18:56, NdK wrote: > On 15/02/2011 16:47, Viktor TARASOV wrote: > >>> Ok. So, 'limiting' to 32 keys (due to said limit in pkcs15-tool), I >>> could have: >>> cdf_size = 8640 # 3 * 32 * 90 (an average of 3 keys in every cert) >> You mean 3 certs for each key? >> I think that it's di

Re: [opensc-devel] Using pkcs15-init to set profile options prkdf-size and pukdf-size

2011-02-15 Thread NdK
On 15/02/2011 17:26, Viktor TARASOV wrote: > As for me, more appropriate solution is to define in your card profile some > section like 'option my_macros { macros { ... }}', > after (or instead of) the section 'option onepin' (to overwrite the existing > macro value), > and then to use something

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread NdK
On 15/02/2011 16:47, Viktor TARASOV wrote: >> Ok. So, 'limiting' to 32 keys (due to said limit in pkcs15-tool), I >> could have: >>cdf_size = 8640 # 3 * 32 * 90 (an average of 3 keys in every cert) > You mean 3 certs for each key? > I think that it's difficult to generalize this relation, the

Re: [opensc-devel] Using pkcs15-init to set profile options prkdf-size and pukdf-size

2011-02-15 Thread Jean-Michel Pouré - GOOZE
Le mardi 15 février 2011 à 17:26 +0100, Viktor TARASOV a écrit : > As for me, more appropriate solution is to define in your card profile > some section like 'option my_macros { macros { ... }}', > after (or instead of) the section 'option onepin' (to overwrite the > existing macro value), > and th

Re: [opensc-devel] Using pkcs15-init to set profile options prkdf-size and pukdf-size

2011-02-15 Thread Viktor TARASOV
On 27.01.2011 09:04, Jean-Michel Pouré - GOOZE wrote: > Dear all, > > I would like to set the size of public and private memory of the Feitian > PKI. This is controlled by 'prkdf-size' and 'pukdf-size in > entersafe.profile. > > Is there a way to call > pkcs15-init --create-pkcs15 --profile pkcs15+

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread Viktor TARASOV
On 15.02.2011 12:40, NdK wrote: > Il 15/02/2011 11:17, Toni Sjoblom - Aventra ha scritto: >> Hi, > Woa. *That's* customer support! > >> Current MyEID cards are 80K, but some of this space is used by the MyEID >> applet itself. > Ok. I'm starting to understand. > >> The file size you see in the 3F00

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread Jean-Michel Pouré - GOOZE
Le lundi 14 février 2011 à 17:52 +0100, Andreas Jellinghaus a écrit : > fine tuning for each different card and driver: I don't think anyone > has the time and manpower for that. The Feitian PKI has the same features. It is possible to set free space in profile using prkdf-size and pukdf-size. U

Re: [opensc-devel] MyEID init patch

2011-02-15 Thread Viktor TARASOV
On 04.02.2011 18:20, Toni Sjöblom - Aventra wrote: > > Hi, > > I have created a very small patch for the MyEID card driver that adds the > appropriate flags when the card is initialized. > > Please review and comment or commit. This requires also the fix that Andre > presented a while ago (I also

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread NdK
Il 15/02/2011 11:17, Toni Sjoblom - Aventra ha scritto: > Hi, Woa. *That's* customer support! > Current MyEID cards are 80K, but some of this space is used by the MyEID > applet itself. Ok. I'm starting to understand. > The file size you see in the 3F00 file is the remaining free space, but due >

Re: [opensc-devel] Multiple certs on a MyEID card?

2011-02-15 Thread Toni Sjoblom - Aventra
Hi, > -Original Message- > From: opensc-devel-boun...@lists.opensc-project.org [mailto:opensc-devel- > boun...@lists.opensc-project.org] On Behalf Of Martin Paljak > Sent: 15. helmikuuta 2011 7:47 > To: NdK > Cc: opensc-devel@lists.opensc-project.org > Subject: Re: [opensc-devel] Multiple