Hi, please find my latest patches for the OpenGP card driver on: https://github.com/marschap/OpenSC/commits/OpenPGP-20110603
Here's what they do: [PATCH 1/8] OpenPGP: fix algorithms & key lengths calculation Also include forgotten DO C3 in keylength calculation. It contains the parameters for the authentication key. [PATCH 2/8] OpenPGP: remove DO info entry for DO FF DO FF is a "catch-all" DO that returns all the infos contained in the other DOs in one hierarchy. It is hence duplicate and not necessary. [PATCH 3/8] OpenPGP: immediately quit on allocation errors in init [PATCH 4/8] OpenPGP: re-factor gpg_new_blob() * get file as parameter & fail if it is NULL * allow parent to be NULL * do not rely on DO info to be passed as parameter, search it yourself using the global DO info list for the card. * infer file type automatically from DO info matching the file ID. [PATCH 5/8] OpenPGP: update pgp_list_files() * fail if buffer passed as parameter is too small * only list readable objects [PATCH 6/8] OpenPGP: add DO info entries for MF For consistency, add DO info entries for the MF 3F00. [PATCH 7/8] OpenPGP: use pgp_new_blob() to setup MF blob Use the standard way to create blobs, pgp_new_blob(), also for the MF. [PATCH 8/8] OpenPGP: unlink blob from blob tree in pgp_free_blob() Remove links pointing to the blob to be deleted from other blobs in the blob tree structure, so that removing a subordinate blob does not hurt its parent or siblings. Please consider including them in OpenSC mainline/trunk/master Thanks for OpenSC Peter -- Peter Marschall pe...@adpm.de _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel