64 Commits
Author SHA1 Message Date
Michele Balistreri 022b9c4f28 add metadata parser/encoder 2022-07-18 14:15:25 +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 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
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 b249bd75e6 make the iteration count for PBKDF2 configurable per-device 2019-03-20 13:18:24 +03:00
Michele Balistreri db3eee0d76 make r and s unsigned 2019-03-14 12:56:32 +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 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
Michele Balistreri 171220bd79 change AIDs 2018-12-14 13:21:36 +03:00
Bitgamma b08b1dc7ce Unified sdk (#12)
* unifying Android and Desktop SDK

* implement desktop SDK adapter

* updating declarations

* change include syntax

* following jitpack.io guide for Android libraries

* add install task to all artefacts, add javadoc generation

* fixing javadoc

* use explicit provider "SC" instead of relying on order

* move to BouncyCastle for desktop compatibility

* improve documentation
2018-12-11 11:50:53 +03:00
Bitgamma 07fc087cb3 [WIP] rename hardwallet to keycard (#11)
* rename hardwallet to keycard

* rename hardwallet to keycard

* rename hardwallet to keycard

* change constants

* add convenience GlobalPlatform methods

* add javadoc to all classes
2018-12-07 16:44:02 +03:00
Michele Balistreri c749e5a744 update EXPORT KEY command 2018-11-30 11:11:38 +03:00
Michele Balistreri 02fee8edd2 update EXPORT KEY command 2018-11-30 10:43:32 +03:00
Andrea Franz 439237a75a add blocksCount method to Load class 2018-11-27 12:19:21 +01:00
Andrea Franz 5a2204bbcb add checkSW method 2018-11-27 12:02:52 +01:00
Andrea Franz 918aec72ac add installation commands 2018-11-27 12:02:52 +01:00
Michele Balistreri 145fe4b554 add to demo 2018-11-26 20:05:58 +03:00
Michele Balistreri 1575dc9d86 add BIP32KeyPair 2018-11-26 19:32:27 +03:00
Michele Balistreri ae65a94705 add missing import method 2018-11-26 11:45:54 +03:00
Andrea Franz a9726f3c50 Merge pull request #9 from status-im/feature/globalplatform-secure-channel
implement globalplatform secure channel commands
2018-11-22 17:20:54 +01:00
Michele Balistreri a85e1de2e6 add duplicate key 2018-11-22 17:59:20 +03:00
Michele Balistreri 3cad21254c add static method in Mnemonic to accept external phrase 2018-11-22 15:48:06 +03:00
Andrea Franz e781d5551f remove duplicated generatePairingKey 2018-11-22 13:09:11 +01:00
Andrea Franz 1ae29cd1cd rename Keys to SCP02Keys 2018-11-22 13:07:43 +01:00
Andrea Franz 346ab46187 rename APDUWrapper to SCP02Wrapper 2018-11-22 13:01:09 +01:00