Commit Graph

39 Commits

Author SHA1 Message Date
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
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
Michele Balistreri 931b6608d5 Closes #6, #7 2018-11-15 20:16:18 +03:00
Michele Balistreri 70b50c8989 Closes #5 2018-11-14 18:27:39 +03:00
Michele Balistreri 8b4e66e50b Add higher-level classes and improve the demo 2018-11-14 17:52:59 +03:00
Michele Balistreri f4fd086467 Closes #3 2018-11-14 11:41:00 +03:00
Bitgamma eb9f3f1350
[WIP] Update to version 2 (#2)
* v2

* add SET NDEF

* make a few constants public

* improve secure channel handling

* improve secure channel handling

* improve secure channel handling
2018-11-13 16:33:44 +03:00
ligi 8950e15c2f Extract library (#1)
* Use gradle 3.2.1

* Use gradle 4.10.2

* Cleanup - this is not needed

* Cleanup

* Cleanup

* Leverage SystemClock

* Cleanup

* Separate the Application specific code

* Extract library

* Do not bleed out BouncyCastle into library API

Also change the logging as we do not have the byte[]->hex method from spongycastle anymore
2018-10-27 07:29:41 +02:00