From: GitHub <no...@gi...> - 2013-12-09 21:16:01
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 4604dac3a7aeb7f85b81c6b14cef8daf4e9af714 https://github.com/OpenSC/OpenSC/commit/4604dac3a7aeb7f85b81c6b14cef8daf4e9af714 Author: Andreas Schwier <and...@ca...> Date: 2013-11-15 (Fri, 15 Nov 2013) Changed paths: M src/libopensc/card-sc-hsm.c Log Message: ----------- sc-hsm: Fixed memory checking and removed warning Commit: 633c98e9ee39b61494ad04f28f14c8ef5e687095 https://github.com/OpenSC/OpenSC/commit/633c98e9ee39b61494ad04f28f14c8ef5e687095 Author: Andreas Schwier <and...@ca...> Date: 2013-11-15 (Fri, 15 Nov 2013) Changed paths: M src/pkcs15init/pkcs15-sc-hsm.c Log Message: ----------- sc-hsm: Removed compiler warning Commit: 3a6e7ba95934116c681dd2c41b6ed90e3b64980e https://github.com/OpenSC/OpenSC/commit/3a6e7ba95934116c681dd2c41b6ed90e3b64980e Author: Andreas Schwier <and...@ca...> Date: 2013-11-15 (Fri, 15 Nov 2013) Changed paths: M src/libopensc/pkcs15-algo.c M src/libopensc/pkcs15-pubkey.c M src/libopensc/pkcs15.h M src/pkcs15init/pkcs15-lib.c M src/pkcs15init/pkcs15-sc-hsm.c Log Message: ----------- pkcs15: Changed encoding for EC public keys in PuKDF to SPKI rather than ECPoint, preserving domain parameter Commit: 09e5a9fa7f09e3cbab72189b8f2eedaaacc24d01 https://github.com/OpenSC/OpenSC/commit/09e5a9fa7f09e3cbab72189b8f2eedaaacc24d01 Author: Andreas Schwier <and...@ca...> Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M src/libopensc/pkcs15-pubkey.c Log Message: ----------- pkcs11: Fixed typo Commit: d4be8ec747ae2f665f1b95e13f1210ed10fcaf12 https://github.com/OpenSC/OpenSC/commit/d4be8ec747ae2f665f1b95e13f1210ed10fcaf12 Author: Andreas Schwier <and...@ca...> Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M src/libopensc/libopensc.exports M src/libopensc/pkcs15-piv.c M src/libopensc/pkcs15-pubkey.c M src/libopensc/pkcs15.h M src/pkcs15init/pkcs15-lib.c M src/pkcs15init/pkcs15-sc-hsm.c M src/tools/pkcs15-tool.c Log Message: ----------- sc_pkcs15_encode_pubkey_as_spki replaces sc_pkcs15_encode_pubkey_with_param. The name implies what the format of the returned value, a SPKI. The support for spki as a pkcs15 format of a pubkey, is extended to work for any algorithm not just EC pubkeys. PKCS#15 appears to allow this. sc_pkcs15_decode_pubkey_with_param will look for a SPKI and attempt to use it for any algorithm, including RSA. (RSA is the null case, as there are no algorithm parameters.) sc_pkcs15_encode_pubkey_as_spki is exported from libopensc. pkcs15-piv.c will use sc_pkcs15_encode_pubkey_as_spki to load public keys as SPKI for RSA and EC. The pubkey->data is never a SPKI, it is the DER encoding of the pubkey without the parameters. If an spki is needed, use the sc_pkcs15_encode_pubkey_as_spki to get the DER encoding of the spki. As in the previous set of patches, pkcs15-tool.c will output both sc_pkcs15_decode_pubkey_with_param and its internal. This was left for testing, and the pubkey_pem_encode should be deleted Commit: dff25190d28931bfa15499b9d0e91fd7ec15a5d1 https://github.com/OpenSC/OpenSC/commit/dff25190d28931bfa15499b9d0e91fd7ec15a5d1 Author: Doug Engert <dee...@an...> Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M src/libopensc/card-sc-hsm.c M src/libopensc/libopensc.exports M src/libopensc/pkcs15-algo.c M src/libopensc/pkcs15-piv.c M src/libopensc/pkcs15-pubkey.c M src/libopensc/pkcs15.h M src/pkcs15init/pkcs15-lib.c M src/pkcs15init/pkcs15-sc-hsm.c M src/tools/pkcs15-tool.c Log Message: ----------- Merge pull request #197 from CardContact/master Changing EC Public Key format in PuKDF from raw to spki Compare: https://github.com/OpenSC/OpenSC/compare/1acb4adc3e49...dff25190d289 |