Hello, On Sep 8, 2010, at 3:15 PM, jons...@terra.es wrote: > We have tried to compile, install and get running OpenSC 0.12 with Spanish > DNIe code. > > Status: compile,installs, but fails to run trying to stablish secure channel. > Too many changes > in debug code, sc_xxx structs, API changes... and not sure about correctness > of some patches I've done Nothing except r4008 [1] is important to the DNIe, and it is a rather cosmetical change, the der->content move. The rest of sc_debug related code changes are many, but straightforward (and annoying). The code seems OK to me, but ....
> You can see the discussion (and Martin's suggestions) at Kriptopolis site: > http://www.kriptopolis.org/opensc-dnie-linux > > I've sent patches to Martin. Not sure about the best way to continue > integration+debugging > until Legal issues get clarified There's a follow-up [2] and a try to put the dnie driver directly into OpenSC as a normal driver, bypassing the module loading scheme. But in addition to the missing SM keys, there are two functions missing from the source release by DNIe folks: int card_create_cert_file( sc_card_t *card, sc_path_t *path, size_t size ) int get_ckaid_from_certificate( sc_card_t *card, const u8 *data, const size_t data_size, sc_pkcs15_id_t *card_ckaid ) The code is on github for those who want to try. [3] [1] http://www.opensc-project.org/opensc/changeset/4008 [2] http://www.kriptopolis.org/opensc-dnie-linux#comment-57959 [3] http://github.com/martinpaljak/OpenSC/tree/dnie -- Martin Paljak @martinpaljak.net +3725156495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel