OpenSC fork, with some Italian healthcare smart card utils
Go to file
Alexander Paetzelt 09a594d0f0 OpenPGP Card v3 ECC support (#1506)
* pgp: initialize ecc keys for OPC3

* Add supported ECC algorithms by card version

* Add tasks identified so far

* pgp: Recognize ECC set on card

* pgp: get_pubkey_pem read ECC pubkey from card

* pgp: minor code changes for ECC compatibility

* pgp: expand sc_cardctl_openpgp_keygen_info to hold ec info

* Fix segfault problem in pkcs15-pubkey.c

* pgp: enable key generation with pkcs15-init and ECC

* pgp: adapt calculate_and_store_fingerprint to accept ECC

* pgp: adapt rest of pgp_gen_key and subfunctions to accept ECC

* pgp: add kdf parameters for ECDH fingerprint calculation

* pgp: enable key import with pkcs15-init and ECC

* pkcs15-pubkey: fix_ec_parameters onlz accpets explicit data or named_curve

* Fix some mistakes during merge

* More clean up for PR

* Fix some ugly alignments

* Improve code readability

* Prevent unitialized variable by using FUNC_RETURN

* OpenPGP: add length check

* pgp: save exponent length in bits for sc_cardctl_openpgp_keystore_info_t

* pgp: length checks and reallocations

* pgp: oid init added

* OpenPGP: slightly re-factor pgp_update_new_algo_attr()

* replace loop copy with memcpy()
* use ushort2bebytes() to set RSA modulus & exponent
* use symbolic name SC_OPENPGP_KEYFORMAT_RSA_STD for the key import format

* OpenPGP: slighly re-factor pgp_parse_and_set_pubkey_output()

* check for RSA modulus & exponent lengths not being a multiple of 8
* make sure RSA modulus & exponent lengths are always set
* remove a left-over RSA setting from the EC code

* pgp: adding BYTES4BITS

* pgp: initialization of values in pgp_build_extended_header_list based on key type

* pgp: add BYTES4BITS and remove unnecessary tests

* Fix broken pgp_update_new_algo_attr

* pgp: fix the ecpoint_len variable
2019-01-30 22:00:36 +01:00
.github speed up checking out nightly branch 2018-11-20 13:02:29 +01:00
MacOSX Simulate and test Open Source Java Card Applets 2019-01-15 00:10:55 +01:00
doc Remove repeated words from manual pages 2019-01-23 20:41:01 +01:00
etc pkcs11: CKF_WRITE_PROTECTED based on card's read_only flag 2018-09-14 08:23:08 +02:00
m4 opensc-notify: notify for card events 2017-08-02 19:04:09 +02:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
src OpenPGP Card v3 ECC support (#1506) 2019-01-30 22:00:36 +01:00
tests Generalized fuzzing script 2019-01-30 21:57:59 +01:00
win32 Use opensc-pkcs11.so for static build of pkcs11-tool 2019-01-30 21:57:59 +01:00
.gitignore added GoID Tool 2019-01-15 07:31:20 +01:00
.travis.yml reduce the number of builds 2019-01-15 00:10:55 +01:00
COPYING - changed license to LGPL 2001-11-06 18:34:19 +00:00
Makefile.am Move the test into separate directory 2018-12-06 09:27:50 +01:00
Makefile.mak fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
NEWS updated NEWS 2018-09-13 13:47:21 +02:00
README link README to README.md 2015-11-02 23:54:36 +01:00
README.md added LGTM badge 2019-01-20 23:02:21 +01:00
appveyor.yml Appveyor: use deploy_script 2019-01-04 00:46:41 +01:00
bootstrap build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
bootstrap.ci bootstrap.ci: stop echoing executed commands 2018-05-21 20:45:04 +02:00
configure.ac Use opensc-pkcs11.so for static build of pkcs11-tool 2019-01-30 21:57:59 +01:00
version.m4 version.m4: remove unused macro PACKAGE_VERSION_REVISION 2018-05-21 20:45:04 +02:00

README.md

OpenSC documentation

Wiki is available online

Please take a look at the documentation before trying to use OpenSC.

Travis CI Build Status AppVeyor CI Build Status Coverity Scan Status Language grade: C/C++

Build and test status of specific cards:

Cards Status
CAC CAC
Coolkey Coolkey