Moin,

Am Tue, 26 Sep 2006 09:24:47 +0200 schrieb Nils Larsch:

> well it would have been easy if every pkcs15 function would leave
> the card in well defined state (for example: the selected DF is
> always the application DF) but with the current code I agree that
> it would be challenging (btw: I didn't veto the approach of making
> all path absolute after parsing, I just wanted to ask whether the
> other approach has been tried).

Ok, so I just committed it. With the suggested change of using
sc_concatenate_path() to actually concatenate the paths. (There is still
the sc_pkcs15_make_absolute_path() function, because the concatenation
only takes place when the path does not start with the MF path.)

> As I've just learned that there's an even better way: pkcs15
> offers the possibility to specify which mechanism should be
> used for a specific key but and the Siemens software sets this
> information. Unfortunately opensc currently doesn't support parsing
> this information (and afaik the asn.1 code needs to be extended to
> support parsing this). I will look at it to find out what needs
> to be changed.

Oh, that would be cool.

> from a quick look I don't see a reason why we shouldn't use
> a simple while loop

Ok, committed.

-- 
Henryk Plötz
Grüße aus Berlin
~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~

Attachment: pgp5nhRePmYbo.pgp
Description: PGP signature

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

Reply via email to