Commit Graph

94 Commits

Author SHA1 Message Date
Arnaud Fontaine
faaa48c042 Remove CI/CD that rely on bin/smartpgp-cli 2022-01-10 21:14:01 +01:00
Arnaud Fontaine
e84853414f Improve CI/CD: RSA sign+decrypt and EC decrypt 2022-01-10 20:54:19 +01:00
Ryad Benadjila
0b43929a83 Add CI/CD tests using Github Actions.
The tests compile and run the applet in the jcardsim Javacard simulator.
ECDSA signature tests are performed using OpenPGPpy, other tests such as
AES are performed using the local bin/smartpgp-cli script.

TODO: add tests for RSA, asymmetric encryption, pin modifications, secure
messaging (if well supported by jcardsim), etc.
2022-01-10 16:40:35 +01:00
Arnaud Fontaine
4fbafe513b Fix possible implicit extended length usage support 2022-01-10 16:17:28 +01:00
Arnaud Fontaine
c2d7070f2d TestApplet: include object deletion test 2021-12-20 15:02:15 +01:00
Arnaud Fontaine
1720a3494b switch smartpgp-cli to Python3 2021-09-27 14:08:35 +02:00
Arnaud Fontaine
461e5fd123 Fix issue #39: no RSA key import with format 1 by default 2021-09-22 15:18:31 +02:00
Arthur Moore
55c97d590c Added the correct Python library to README.md
A new user upon encountering errors is likely to just `pip install smartcard` and wonder why nothing works.
2021-07-16 11:54:46 +02:00
Arnaud Fontaine
630974f6fe Update default value for sex attribute 2021-07-15 11:55:43 +02:00
Arnaud Fontaine
af148332b5 smartpgp-cli: add switch commands for RSA 2021-07-15 10:37:17 +02:00
Arnaud Fontaine
f66c46b61d Update ant-javacard 2021-04-15 11:06:05 +02:00
Stelian Pop
bdfe17606f Fix ACTIVATE FILE when APDU is received over a logical channel. 2021-04-15 10:35:43 +02:00
Arnaud Fontaine
6952d4e03d Avoid dynamic instances creation 2021-02-21 15:09:32 +01:00
Antoine FERRON [BitLogiK]
cfdcb943c3 Switch case default added 2021-02-17 22:09:48 +01:00
Antoine FERRON [BitLogiK]
e72be29fc7 Remove unused import 2021-02-17 21:56:04 +01:00
Arnaud Fontaine
6e66f5ab6d Remove the secure_messaging description for 3.0.1 build 2020-11-30 14:10:17 +01:00
Arnaud Fontaine
1187a038de Fix the README for 3.0.1 build 2020-11-30 14:07:30 +01:00
Arnaud Fontaine
7069fb5cb5 Remove gradle build 2020-11-30 14:01:24 +01:00
Arnaud Fontaine
01e05ed5ae smartpgp-cli: add getm-sm-key command 2020-05-15 10:36:47 +02:00
Arnaud Fontaine
c23c620a1e Update to OpenPGP specs v3.4.1 2020-04-09 09:47:41 +02:00
Arnaud Fontaine
4be0fa442b Implement setup-kdf in smartpgp-cli 2020-01-23 19:37:41 +01:00
Arnaud Fontaine
9b77f6c26b Functional KDF support 2020-01-23 19:35:22 +01:00
Arnaud Fontaine
f78db3e999 Document RSA key import 2020-01-15 11:39:08 +01:00
Arnaud Fontaine
89608a203e Fix issue #20 2020-01-13 17:01:56 +01:00
Arnaud Fontaine
af66739729 TestApplet: add tests for RSA 3072 and RSA 4096 2020-01-07 15:34:30 +01:00
Rodolphe Breard
eb0c410405 Update the ant-javacard version 2019-11-05 18:30:05 +01:00
Rodolphe Breard
d61fed2c04 Update the default AID in order to use OpenPGP card 3.4 2019-11-05 18:30:02 +01:00
Arnaud Fontaine
244561a370 Update OpenPGP specifications version to 3.4 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
f0b3a513a5 Update patches 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
bf29d95c60 Handle extended length CRT 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
c67545e128 Handle tag Algorithm Information 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
1e89a26e8e Add support for KEY INFORMATION tag 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
eebca4b69e Remove SHA224 2019-07-02 10:10:22 +02:00
Arnaud Fontaine
a9e52ab31b TestApplet: add test for EC without W 2018-12-06 11:24:04 +01:00
Arnaud Fontaine
b5567df674 patches: support_extended_length APDU patch 2018-11-30 14:58:38 +01:00
Arnaud Fontaine
f97ee6c539 patches: remove_factory_reset patch 2018-11-30 14:58:33 +01:00
Arnaud Fontaine
4857f97f49 New TestApplet to test various card features 2018-11-30 14:58:13 +01:00
Arnaud Fontaine
2eec3e2f3f Remove checkPinFormat2 method 2018-11-30 14:58:10 +01:00
Arnaud Fontaine
44516dd79e smartpgp-cli: add put AUTH and SIGN certificates 2018-11-30 14:58:06 +01:00
Arnaud Fontaine
770c7a3f50 Use OFFSET_CDATA instead of getOffsetCdata() (issue #4) 2018-11-30 10:18:03 +01:00
Arnaud Fontaine
9637be6035 Fix problem with null length PIN verification on J3D081 2018-09-11 12:56:38 +02:00
Arnaud Fontaine
7e1e257e9d
Merge pull request #12 from martinpaljak/301
Use ant-javacard for building the applet
2018-07-02 13:56:02 +02:00
Martin Paljak
a6b72983af Use ant-javacard for building the applet 2018-07-02 14:37:56 +03:00
Arnaud Fontaine
1cf269d6f2 Update JCDK version 2018-06-04 11:31:28 +02:00
Arnaud Fontaine
848b616c8e Change Java compilation compatibility levels 2018-06-04 11:29:47 +02:00
Dominik Schürmann
3254c091e6 Add build files for Gradle 2018-06-04 11:29:19 +02:00
Arnaud Fontaine
5022bca0b5 Improve PUK (aka Reset Code) handling 2018-05-23 17:09:50 +02:00
Arnaud Fontaine
981899718f Remove PIN2 format support 2018-05-23 17:09:23 +02:00
Arnaud Fontaine
79d9342827 Fix useless/misplaced short conversions 2018-03-21 11:41:26 +01:00
Arnaud Fontaine
4796f6ea78 smartpgp-cli: get KDF-DO 2018-02-09 10:58:19 +01:00