Commit Graph

117 Commits

Author SHA1 Message Date
dd1b18e5cb Add words to spell check dictionary 2023-10-05 19:14:30 -05:00
cc7f455e83 Reset card serial to 00000000 2023-10-04 19:19:10 -05:00
943f922668 Reset command chaining + extended length to 0x80
Turns out that this does not work on the omni-ring, despite documention saying it should
2023-10-04 16:30:40 -05:00
52c4efd5f5 Hide venv and compiled python 2023-10-04 16:29:27 -05:00
0b77c33d97 Add a warning about ROCA 2023-10-04 15:30:08 -05:00
819f4b736b update comment 2023-10-04 14:25:48 -05:00
141cf85eb7 Restructure README 2023-10-04 14:25:34 -05:00
e9584d79b8 Reduce internal buffer size by 330 bytes
This sets the value to hold only rsa 2048 length (949) + 1 bytes
2023-10-04 13:47:21 -05:00
604de144c6 Choose better values for internal buffer max size
2048: 0x3B0 -> 0x3B6 (was actually 6 bytes too small)
3072: 0x570 -> 0x50F (was 61 bytes larger than necessary)
4096: 0x730 -> 0x66D (was 195 bytes larger than necessary)
2023-10-04 13:38:28 -05:00
1724975b08 Remove AUTHORS file
since we're preserving git history and copyright headers
2023-10-04 12:39:31 -05:00
41c367371f Rename License file 2023-10-04 12:33:16 -05:00
6925c1a366 update license headers to correct git repo 2023-10-04 12:21:18 -05:00
5168bb86d8 Enable Extended Length command chaining by default 2023-10-04 12:14:38 -05:00
d70ca4b185 Remove factory reset patch
We do want the card to reset if the pin gets brute forced
2023-10-04 12:02:11 -05:00
f14a76b2ae Remove demo videos 2023-10-04 11:45:24 -05:00
f9593b4b41 Update Applet Class path 2023-10-04 11:45:05 -05:00
c59f9618ba update readme 2023-08-26 16:02:53 -05:00
c289445f9f Ignore compiled binaries 2023-08-26 15:33:37 -05:00
8b977953a3 Use correct JC SDK 2023-08-26 15:33:02 -05:00
64eed711d0 Update ant build for sdk submodule 2023-08-26 15:31:27 -05:00
Arnaud Fontaine
75f884de5d smartpgp-cli: improve error handling in change PIN 2023-04-17 20:20:20 +02:00
Arnaud Fontaine
efdbcb6274 update github workflow 2023-04-14 16:48:50 +02:00
Arnaud Fontaine
8b1463c399 Improve PIN/PUK length testing when KDF is enabled 2023-04-12 15:32:01 +02:00
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