Thanks Victor!
No objections here, the patch looks good.

br,
Toni

> -----Original Message-----
> From: opensc-devel-boun...@lists.opensc-project.org [mailto:opensc-devel-
> boun...@lists.opensc-project.org] On Behalf Of Viktor TARASOV
> Sent: 30. elokuuta 2010 16:19
> Cc: 'OpenSC-devel'
> Subject: Re: [opensc-devel] Problem with 2K keys and MyEID
> 
> Aventra development wrote:
> >
> > The 1K key generation works nicely, but we are having a problem
> > generating a 2K key using OpenSC 0.11.13 and our own MyEID card.
> >
> > OpenSC correctly finds a new file id and creates the file, and after
> > that it tries to store the key to that file.
> >
> > The issue is that the created file’s size is only 1024 bytes, so the
> > card will answer with 67 00 (Wrong length).
> >
> > Some code in OpenSC decides to create the wrong sized file, but I have
> > not been able to find it.
> >
> > Now I’m curious that, does other cards work when generating (or just
> > loading) 2048 byte keys?
> >
> 
> 
> For me, to generate the 2048 bits key on the Aventra card,
> the following path was needed to be applied to the OpenSC trunk.
> 
> If no objection, I'll commit this patch to trunk.
> 
> > Regards,
> >
> > Toni Sjöblom
> >
> Kind wishes,
> Viktor.
> 
> --
> Viktor Tarasov        <viktor.tara...@opentrust.com>


_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to