Commit Graph

88 Commits

Author SHA1 Message Date
Michele Balistreri 9366028aaf
add factory reset 2023-06-06 16:42:49 +02:00
Michele Balistreri 0d27ac445c
treat malformed response as ioexception 2023-02-22 12:16:44 +01:00
Michele Balistreri ccb353ca82
handle securityexceptions 2023-02-06 13:01:59 +01:00
Michele Balistreri 78c6dfb6d6 support raw signature format 2022-12-09 12:31:56 +01:00
Michele Balistreri 15a61e16e7
Add init with alt PIN (#29)
* init with alt pin

* chain code in pubkeys
2022-11-21 08:43:55 +01:00
Michele Balistreri 7d968cf969
support export chain code (#28) 2022-11-10 08:11:03 +01:00
Michele Balistreri 9fac06b19d
Add IDENTIFY CARD (#24)
* ident applet support

* add identify card command

* fix certificate class

* make sure private key is 32 bytes

* don't remove TLV header from signature

* fix typo

* use secure channel if open
2022-11-04 12:33:06 +01:00
Audrius Molis 6c965f726a
test adding exception info to the RuntimeException in RuntimeException (#26) 2022-09-09 15:31:58 +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