From: GitHub <no...@gi...> - 2015-03-07 22:36:34
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 48bd6b09645014365a2be8361d113757a1736814 https://github.com/OpenSC/OpenSC/commit/48bd6b09645014365a2be8361d113757a1736814 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/Makefile.am M src/libopensc/Makefile.mak A src/libopensc/card-isoApplet.c M src/libopensc/cardctl.h M src/libopensc/cards.h M src/libopensc/ctx.c M src/pkcs15init/Makefile.am M src/pkcs15init/Makefile.mak A src/pkcs15init/isoApplet.profile M src/pkcs15init/pkcs15-init.h A src/pkcs15init/pkcs15-isoApplet.c M src/pkcs15init/pkcs15-lib.c Log Message: ----------- Add support for the IsoApplet (Java Card applet) The IsoApplet can be found here: https://github.com/philipWendland/IsoApplet Add read/write support for this applet, including RSA and ECC support. Commit: 6f9e894ebe8189eaf64fc20f644c3683b3f42930 https://github.com/OpenSC/OpenSC/commit/6f9e894ebe8189eaf64fc20f644c3683b3f42930 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: set lock when doing command chaining Commit: e3cc851b728ce7c5e681f67c58ef9788f74ca2fd https://github.com/OpenSC/OpenSC/commit/e3cc851b728ce7c5e681f67c58ef9788f74ca2fd Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c M src/libopensc/cardctl.h M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: EC key-gen rework and refactorings Rework the EC key generation mechanism to send the curve parameters to the card. In earlier versions, the applet had a copy of the curve parameters and there was a different algorithm reference for every curve. This is unfeasible when trying to support a larger number of curves because of size limitations of the applet. This commit additionally includes some refactorings that should not change the functionality. Commit: c463f1a7a1e4bfa653c6d34f5ee4f0a2d41883b1 https://github.com/OpenSC/OpenSC/commit/c463f1a7a1e4bfa653c6d34f5ee4f0a2d41883b1 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: Do not set RSA hashes See: 189e998486a5813bca2f6737a465ad62abb318c7 The IsoApplet requires the host to do the hashes with RSA. OpenSC will add all hashes that are available in software and will not expect the card to do the hashing. Commit: 09acfd7ec00d6561a9561c243cc75470d414cd2e https://github.com/OpenSC/OpenSC/commit/09acfd7ec00d6561a9561c243cc75470d414cd2e Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: ECDSA signatures - only strip excess zeroes It is required to strip excessive zeroes returned by some Java Cards when removeing the ASN1 structural information for PKCS#11 so that the x/y can be calculated by dividing the signature length by 2. However, the leading zero may only be stripped if it is excessive (outside the field length). Otherwise generated signatures are wrong in rare cases (1 out of 256). Commit: 6cdf6c08a598779903ff5eb81850d8cf574f6ba0 https://github.com/OpenSC/OpenSC/commit/6cdf6c08a598779903ff5eb81850d8cf574f6ba0 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: use AID directly when selecting applet Now that apdu.data is const (see ef94c6b875b7927bb80e49139a29a3ce2b4937b7), this can be done without discarding the const qualifier of the aid parameter. Commit: e791948e4230cad5d8def22f5148ceaf9248e837 https://github.com/OpenSC/OpenSC/commit/e791948e4230cad5d8def22f5148ceaf9248e837 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: Simplify the private key import Use the new features of sc_asn1_put_tag introduced in OpenSC/OpenSC#314. Additionally, a RSA private key is sent from one large buffer using either extended APDUs or chaining (in compliance to IsoApplet API version 00.05). Commit: 73b391731b49ad37625ef52ca60f84f56112963a https://github.com/OpenSC/OpenSC/commit/73b391731b49ad37625ef52ca60f84f56112963a Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: Don't set ECC field length of 512 512 is wrong for EC FP (correct would be 521 bit), and neither of those two are currently supported by OpenSC. Commit: 0473decae4dbc3b463028c59015a6086f9e3fa00 https://github.com/OpenSC/OpenSC/commit/0473decae4dbc3b463028c59015a6086f9e3fa00 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: clear memory after prkey import. Private key import via plain APDUs is dangerous and not recommended anyway, but clearing the apdu buffer does not hurt anyone. Commit: 43fa99c0f2943fc86a241501919bba3491a8c1f7 https://github.com/OpenSC/OpenSC/commit/43fa99c0f2943fc86a241501919bba3491a8c1f7 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: Move the key gen debug info to the right places Commit: 5628a06353e34c5462b132a9f288a438204d52bd https://github.com/OpenSC/OpenSC/commit/5628a06353e34c5462b132a9f288a438204d52bd Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: Align comments with spaces instead of tabs Better view with tabstop=8. Commit: 44d724b012484b751bb24d40c20196ff29105242 https://github.com/OpenSC/OpenSC/commit/44d724b012484b751bb24d40c20196ff29105242 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: fix more (comment) alignment issues with tabstop=8 Commit: da05fa2a473354ab8beb6edff89c9dc84d102148 https://github.com/OpenSC/OpenSC/commit/da05fa2a473354ab8beb6edff89c9dc84d102148 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: try to fix EC parameters when importing private keys from file Commit: 3312c1e2b9967942e04f498c7a84b939ec5f8b96 https://github.com/OpenSC/OpenSC/commit/3312c1e2b9967942e04f498c7a84b939ec5f8b96 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M win32/OpenSC.wxs.in Log Message: ----------- IsoApplet: install isoApplet.profile on windows Commit: a9d43af4bf08d46b369bf4f59ad892005e325085 https://github.com/OpenSC/OpenSC/commit/a9d43af4bf08d46b369bf4f59ad892005e325085 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: use a buffer large enough when generating EC keys larger than 320 bit Commit: 59eeacb74b3971c0f510230feba01516c5e8e9d1 https://github.com/OpenSC/OpenSC/commit/59eeacb74b3971c0f510230feba01516c5e8e9d1 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: react to removal of sc_pkcs15_ec_parameters in fa923831f8e8073f0b57ea492c9e2e93f661a373 Commit: 1aeebdaf1c0ad1143329eac62aaf75cf3f0fe055 https://github.com/OpenSC/OpenSC/commit/1aeebdaf1c0ad1143329eac62aaf75cf3f0fe055 Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: react to changes of _sc_card_add_ec_alg() in fa923831f8e8073f0b57ea492c9e2e93f661a373 Commit: 85d16fbc57170bf2177e0d29d7c70993fb01d27c https://github.com/OpenSC/OpenSC/commit/85d16fbc57170bf2177e0d29d7c70993fb01d27c Author: Philip Wendland <wen...@gm...> Date: 2015-02-20 (Fri, 20 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c Log Message: ----------- IsoApplet: use helper function sc_asn1_sig_value_sequence_to_rs() introduced in #381 Commit: 74aeb8c92325ab7730f32712144c79c0ffee98bb https://github.com/OpenSC/OpenSC/commit/74aeb8c92325ab7730f32712144c79c0ffee98bb Author: Philip Wendland <wen...@gm...> Date: 2015-02-22 (Sun, 22 Feb 2015) Changed paths: M src/libopensc/card-isoApplet.c M src/pkcs15init/pkcs15-isoApplet.c Log Message: ----------- IsoApplet: register supported EC curve *per curve* Commit: 595be37feeeb7b2355c9f543d8061da980a39be8 https://github.com/OpenSC/OpenSC/commit/595be37feeeb7b2355c9f543d8061da980a39be8 Author: viktorTarasov <vik...@gm...> Date: 2015-03-07 (Sat, 07 Mar 2015) Changed paths: M src/libopensc/Makefile.am M src/libopensc/Makefile.mak A src/libopensc/card-isoApplet.c M src/libopensc/cardctl.h M src/libopensc/cards.h M src/libopensc/ctx.c M src/pkcs15init/Makefile.am M src/pkcs15init/Makefile.mak A src/pkcs15init/isoApplet.profile M src/pkcs15init/pkcs15-init.h A src/pkcs15init/pkcs15-isoApplet.c M src/pkcs15init/pkcs15-lib.c M win32/OpenSC.wxs.in Log Message: ----------- Merge pull request #305 from philipWendland/master Add support for the IsoApplet Java Card applet Compare: https://github.com/OpenSC/OpenSC/compare/2abe135f971a...595be37feeeb |