Commit Graph

87 Commits

Author SHA1 Message Date
Michele Balistreri 31f4ab5a90 use secure channel if open 2022-07-25 12:30:27 +02:00
Michele Balistreri 953c84514a fix typo 2022-07-22 15:18:02 +02:00
Michele Balistreri 2a55211d1c don't remove TLV header from signature 2022-07-22 15:13:05 +02:00
Michele Balistreri 2926d032c1 make sure private key is 32 bytes 2022-07-22 14:17:10 +02:00
Michele Balistreri 66be965c6a fix certificate class 2022-07-22 13:14:25 +02:00
Michele Balistreri 482215a487 add identify card command 2022-07-22 08:28:44 +02:00
Michele Balistreri e76e608795 ident applet support 2022-07-20 15:53:13 +02:00
Michele Balistreri bbcce01742
add metadata parser/encoder (#22) 2022-07-18 14:16:36 +02:00
Michele Balistreri a39924aba3
BLS support (#21)
add support for BLS
2022-07-18 14:05:43 +02:00
Michele Balistreri 22db82e8f2
add init with pin/puk retries 2021-12-23 09:29:21 +03:00
Michele Balistreri 9295aa6553
check OPEN SECURE CHANNEL response 2020-11-09 15:36:50 +01:00
Michele Balistreri 86e6cb60ec
bc 1.60 2020-11-09 14:03:25 +01:00
Michele Balistreri aaf2c9d9e6
update README 2020-06-02 10:22:27 +03:00
Michele Balistreri 9431d7c497
differentiate between communication errors and unexpected APDU response in the "auto" methods of the SecureChannelSession 2020-06-02 09:44:11 +03:00
Michele Balistreri f97363704b
Merge branch 'master' of github.com:status-im/status-keycard-java 2020-04-15 13:52:10 +03:00
Michele Balistreri 144474415d
closes #20 2020-04-15 13:46:49 +03:00
ligi 3f8966f1a8 Make setNDEF backward compatible to the 2.x style (#19) 2019-10-23 14:21:12 +03:00
Michele Balistreri 3acea10750
hardcode english dictionary 2019-10-23 09:59:44 +03:00
Michele Balistreri 8cb43e6717
fix typo 2019-10-16 14:46:06 +03:00
Michele Balistreri 6bf8da8374
add generic STORE DATA/GET DATA method, reimplement setNDEF 2019-10-16 14:11:41 +03:00
Michele Balistreri 536bad2671
add data to cash applet 2019-10-16 13:30:21 +03:00
Michele Balistreri b1be261ea1
remove DUPLICATE KEY command 2019-10-15 14:55:48 +03:00
Bitgamma 4a69788473
V2.3 (#18)
* add STORE/GET DATA commands

* add basic CashCommandSet and installation methods

* remove P1

* add CashApplicationInfo

* add Nano X support

* (unfinished) BLE support

* refactor ledger protocol support for better code reuse

* remove spurious declaration

* finish ble implementation

* enable notifications

* fixed segmentation over BLE

* update GlobalPlatform's delete method
2019-09-02 13:40:06 +03:00
Bitgamma eed0b09fed
Create LICENSE 2019-04-29 09:26:17 +03:00
Michele Balistreri 7ce0136b1d
auto upgrade to new keys 2019-04-05 16:09:57 +03:00
Michele Balistreri 2865d2a08a
use key identifier 1 2019-04-05 13:26:58 +03:00
Michele Balistreri 3e5bb577d7
indicate multiple keys in P2 2019-04-05 13:17:11 +03:00
Michele Balistreri e882e39105
use correct encryption scheme 2019-04-05 12:44:05 +03:00
Michele Balistreri 15a2c43a70
actually save the DEK key 2019-04-05 12:38:05 +03:00
Michele Balistreri 205f150705
add PUT KEY command 2019-04-05 12:22:00 +03:00
Bitgamma a4ff736d6e
Keycard v2.2 (#15)
* add methods for the extended SIGN command

* add resetPinlessPath
2019-04-04 10:20:38 +03:00
Michele Balistreri cd7c4ba3bc Merge remote-tracking branch 'origin/master' 2019-03-27 19:04:14 +03:00
Michele Balistreri 152d7f8e34 update documentation 2019-03-27 19:03:09 +03:00
ligi ee41722527 Only ignore specific lint issue (#14)
while  f4dd1d1 fixes #13 it is very broadly deactivating lint trowing errors
This PR makes it just ignore the specific lint problem at hand
2019-03-27 18:38:39 +03:00
Michele Balistreri f4dd1d17cf closes #13 2019-03-27 13:08:02 +03:00
Michele Balistreri 425d085716 correct value for Ledger 2019-03-20 13:24:22 +03:00
Michele Balistreri b249bd75e6 make the iteration count for PBKDF2 configurable per-device 2019-03-20 13:18:24 +03:00
Michele Balistreri f603979cb5 fix sending commands longer than 64 bytes 2019-03-18 11:54:15 +03:00
Michele Balistreri db3eee0d76 make r and s unsigned 2019-03-14 12:56:32 +03:00
Michele Balistreri 99dbb24067 increase read timeout 2019-02-27 10:52:36 +03:00
Michele Balistreri f9df2be80f add implicit capabilities of non-initialized devices 2019-02-26 14:23:48 +03:00
Michele Balistreri 07cba4aa9d support devices without SecureChannel capability 2019-02-26 12:07:42 +03:00
Michele Balistreri 527efc7a4e add initial USB connector 2019-02-25 16:30:49 +03:00
Michele Balistreri 067204c7db update demo 2019-02-13 12:22:09 +03:00
Michele Balistreri 2df15f388c add capability parsing 2019-02-12 14:38:24 +03:00
Michele Balistreri 93d71ab70b keep track of used cards 2019-01-15 17:00:01 +03:00
Michele Balistreri 50fa93dd32 change the convenience constructor 2019-01-15 11:30:12 +03:00
Michele Balistreri bbe3693e4e implement card duplication 2019-01-14 18:23:52 +03:00
Michele Balistreri b5ff6d033e simplify PIN verification 2019-01-08 15:15:18 +03:00
Michele Balistreri 93ff092a14 add utility credentials change methods 2019-01-08 14:23:10 +03:00