112 Commits

Author SHA1 Message Date
Michele Balistreri
2a3f282229 rename to keycard 2018-12-04 16:13:27 +03:00
Michele Balistreri
bd018de2ee rename to keycard 2018-12-04 10:20:43 +03:00
Michele Balistreri
d4e01ab21b make EXPORT KEY able to derive from other sources 2018-11-30 11:34:05 +03:00
Michele Balistreri
a7da5983c2 fix EXPORT KEY without make current 2018-11-30 10:33:12 +03:00
Michele Balistreri
cd26da75d3 fix usage of uinitialized keys 2018-11-30 10:01:29 +03:00
Michele Balistreri
a0c15da432 add better exception handling 2018-11-30 09:55:49 +03:00
Michele Balistreri
b7f9df6383 fix some errors 2018-11-30 09:44:39 +03:00
Michele Balistreri
863ac1d6cf avoid deriving public when not needed, commit only final result 2018-11-29 19:22:14 +03:00
Michele Balistreri
013d07a079 redesign export key command 2018-11-28 17:22:49 +03:00
Michele Balistreri
bd6448734d implement tests, correct bugs 2018-11-22 17:56:28 +03:00
Michele Balistreri
c4c93b9c02 implement duplication 2018-11-21 16:40:48 +03:00
Michele Balistreri
2a72585cbb implement duplication (partial) 2018-11-19 16:50:57 +03:00
Michele Balistreri
2ebb131d8e adds the ability to also configure NDEF record during NDEF applet installation. Needed if we want to ship with tap-to-down feature 2018-11-13 14:29:50 +03:00
Michele Balistreri
c5a398e05e Closes #17 2018-11-12 17:28:23 +03:00
Michele Balistreri
bc75b75802 make NDEF configurable 2018-11-09 19:41:00 +03:00
Michele Balistreri
178395df52 remove software-based CMAC implementation 2018-11-07 16:18:44 +03:00
Michele Balistreri
bc0cb02eca remove plain data signing, closes #15 2018-11-07 16:02:21 +03:00
Michele Balistreri
e78397c198 remove assisted key derivation 2018-11-07 15:17:17 +03:00
Michele Balistreri
22b41ab781 add GENERATE KEY command 2018-11-07 13:56:06 +03:00
Michele Balistreri
f83c655524 add key generation command 2018-11-07 12:56:06 +03:00
Michele Balistreri
625f75302b add ability to change PUK and pairing secret 2018-10-10 12:42:34 +02:00
Michele Balistreri
c4365c1cef make the PIN an initialization parameter 2018-10-09 16:07:52 +02:00
Michele Balistreri
5e007afb54 move initialization in-applet 2018-10-09 14:57:33 +02:00
Michele Balistreri
f71286e7d1 add NDEF applet 2018-10-08 13:18:55 +02:00
Michele Balistreri
7e11327f69 refresh EC keys every 100 SELECT commands 2018-10-08 12:31:47 +02:00
Michele Balistreri
9a8932ca2a correct javadoc 2018-10-08 11:32:51 +02:00
Michele Balistreri
582002b29e add key uid 2018-10-01 15:41:19 +02:00
Michele Balistreri
6a0ca5e260 add remove key command 2018-10-01 10:58:44 +02:00
Michele Balistreri
3c5fd3bfca avoid non-primitive, non-final static references 2018-09-26 15:22:04 +02:00
Michele Balistreri
174675dba8 add unassisted key derivation performance test 2018-09-24 14:18:12 +03:00
Michele Balistreri
fde5d12850 implemented EXPORT KEY changes 2018-09-18 11:26:24 +03:00
Michele Balistreri
6af167612e use pairing key generated using PBKDF2 2018-09-14 11:35:47 +03:00
Michele Balistreri
7ed8b803df add performance tests 2018-09-04 15:06:06 +03:00
Michele Balistreri
be4bad496e add performance test 2018-09-04 15:04:31 +03:00
Michele Balistreri
527760d7df decouple pairing secret from PUK 2018-06-25 11:13:06 +02:00
Timotej Stanek
94c9289b64 fixed typos 2018-05-04 11:26:17 +02:00
Michele Balistreri
d98eafd6b6 add application version and PUK retry count to select 2018-04-22 13:39:10 +03:00
Michele Balistreri
64ca24fbac add key derivation from parent 2018-01-23 13:41:30 +03:00
Michele Balistreri
d475900300 check and fix the S field of the ECDSA signature to avoid malleability 2018-01-19 15:40:36 +03:00
Michele Balistreri
e15da6a7e0 add ability to export current public key 2018-01-19 12:04:55 +03:00
Michele Balistreri
404aef15a0 adapt tests 2018-01-19 10:58:36 +03:00
Michele Balistreri
c15eef418f fix merge conflict, adapt tests 2018-01-19 10:54:02 +03:00
Michele Balistreri
450938f203 fixing GET STATUS length 2018-01-18 16:53:26 +03:00
Nick Johnson
07c1f9cc42 Make boolean true 0xFF, not 0x01 2018-01-17 15:29:16 +00:00
Nick Johnson
6855e46975 Replace context-specific tags on GET_STATUS with type tags, and fix length 2018-01-17 13:27:33 +00:00
Michele Balistreri
08e657a2c8 make the UID tag context specific too 2018-01-05 18:11:14 +03:00
Michele Balistreri
d1b90a872a convert private tags in context-specific or application-specific tags 2018-01-05 16:11:00 +03:00
Michele Balistreri
5a8dcf4888 add missing documentation 2017-11-21 17:02:45 +03:00
Michele Balistreri
e04f4c7bc7 implement AES CBC-MAC with a software fallback 2017-11-21 16:21:56 +03:00
Michele Balistreri
9cab2f993a make MAC actually work 2017-11-21 15:46:21 +03:00