57 Commits
Author SHA1 Message Date
Bitgamma a4ff736d6e Keycard v2.2 (#15)
* add methods for the extended SIGN command

* add resetPinlessPath
2.2
2019-04-04 10:20:38 +03:00
Michele Balistreri cd7c4ba3bc Merge remote-tracking branch 'origin/master' 2.1.1 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 2.1.0 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
Michele Balistreri f6f9a65be1 remove spongycastle dependency 2018-12-18 12:12:08 +03:00
Michele Balistreri 0d16541875 2.0.0 release 2.0.0 2018-12-14 13:49:59 +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
2.0rc1
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
Michele Balistreri c31df742dd filter idea folder 2018-11-27 14:35:44 +03:00
Bitgamma 3c759152e3 Delete codeStyleConfig.xml 2018-11-27 14:33:39 +03:00
Andrea Franz 735ccd80d9 Merge pull request #10 from status-im/feature/globalplatform-secure-channel
add installation commands
2018-11-27 12:21:45 +01: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
Andrea Franz 41f2473f64 rename smartcard pkg to globalplatform 2018-11-22 12:57:19 +01:00
Andrea Franz 4399be35a4 rename deriveKey to deriveSCP02SessionKey 2018-11-22 12:55:58 +01:00
Andrea Franz ed7630bada improve appendDESPadding from the imported library 2018-11-22 12:48:03 +01:00
Michele Balistreri 03b0a56a09 fixed 2018-11-22 13:32:30 +03:00
Michele Balistreri a66f921ee8 add Mnemonic class 2018-11-22 11:39:49 +03:00
Andrea Franz 801accdde3 implement globalplatform secure channel commands 2018-11-21 18:14:01 +01:00
Michele Balistreri 002ade1c74 add conversion from keypath data to string 2018-11-16 11:12:33 +03:00
Andrea Franz f646e5d8ee Card listener (#8)
* update listener interface to have onDisconnected callback

* allow custom loop time

* check that cardListener is not null before invoking it
2018-11-15 21:25:08 +03:00