Commit Graph

184 Commits

Author SHA1 Message Date
Michele Balistreri e6292fa3ea check if pairing is empty 2020-12-10 14:32:19 +03:00
Michele Balistreri cd93a1fb11 fixed log, success message 2020-12-10 13:55:57 +03:00
Andrea Franz 26e01dd0f0 register NFC events 2020-12-08 13:16:33 +01:00
Andrea Franz 9d1c14e1ff use global thread for keycard interactions 2020-12-08 11:20:31 +01:00
Michele Balistreri 0755278f1f add startNFC/stopNFC 2020-12-04 09:21:08 +03:00
Michele Balistreri ae19c52317 implement all methods 2020-12-03 14:50:45 +03:00
Michele Balistreri bd2b0ed50e add utility methods 2020-12-03 12:09:57 +03:00
Michele Balistreri 6f10bf1dd5 add all method declarations 2020-12-03 10:30:11 +03:00
Michele Balistreri 6da5774757 small refactor to reduce the #available checks needed 2020-12-03 08:32:00 +03:00
Andrea Franz b3d56547fb add nfcIsEnabled definition 2020-12-02 19:21:21 +01:00
Michele Balistreri 70b9633252 implement initialization and pairing 2020-12-02 17:14:12 +03:00
Michele Balistreri 89bb22046c separate implementation from boilerplate/bridging code 2020-12-02 16:24:27 +03:00
Andrea Franz f322b67096 add signPinless method 2020-12-01 21:51:39 +01:00
Andrea Franz a7b277e701 rollback package.json 2020-12-01 13:48:24 +01:00
Andrea Franz c944aa7f2b remove unused files 2020-12-01 13:46:07 +01:00
Michele Balistreri 3f1e320b7a rename module, restore export 2020-12-01 14:55:31 +03:00
Andrea Franz ace294cdd6 add Keycard dependency 2020-12-01 11:41:22 +01:00
Andrea Franz 5350c30a25 add base keycard methods 2020-11-25 10:24:35 +01:00
Andrea Franz 8d80f25a2e add Keycard.swift dependency 2020-11-24 12:39:55 +01:00
Andrea Franz 98cf9d82ac add base ios files 2020-11-24 12:29:25 +01:00
Michele Balistreri 612b74b203
update SDK to 3.0.4 2020-11-09 15:48:43 +01:00
Michele Balistreri a8c8d286c4
bump sdk 2020-11-09 14:26:18 +01:00
Bitgamma 05853ce367
Merge pull request #33 from status-im/restore-status-react-compat
use compatible bc
2020-11-09 13:28:00 +01:00
Michele Balistreri f431c7d6cb
use compatible bc 2020-11-09 12:04:56 +01:00
Bitgamma c19d58bb5d
Merge pull request #29 from bitgamma/sdk-302-compat
upgrade to SDK 3.0.2, handle IO errors separately from APDU errors
2020-06-25 09:44:40 +03:00
Bitgamma ff570d4720
Merge pull request #30 from bitgamma/stop-start-nfc
do not store references to Activity. Start and stop reader as needed
2020-06-05 13:33:53 +03:00
Michele Balistreri c0d09e3a49
dont explicitly stop the reader 2020-06-05 12:08:30 +03:00
Michele Balistreri d5feacb4ee
add null handling 2020-06-05 10:19:01 +03:00
Michele Balistreri eeeaa26819
do not store references to Activity. Start and stop reader as needed 2020-06-05 09:01:34 +03:00
Michele Balistreri 29b3a3c578
upgrade to SDK 3.0.2, handle IO errors separately from APDU errors 2020-06-04 08:04:57 +03:00
Bitgamma b7fe831dd7
Merge pull request #27 from bitgamma/master
make compatible with 2.1 Keycard applet
2020-05-18 17:33:05 +03:00
Bitgamma 26db8dfd25
Merge pull request #1 from status-im/master
sync
2020-05-18 15:19:29 +03:00
Michele Balistreri 59052a36d7
make compatible with 2.1 Keycard applet 2020-05-18 13:36:18 +03:00
Bitgamma 900de62a4c
Merge pull request #23 from bitgamma/master
avoid NVM writes (to improve login speed with Keycard)
2020-04-16 11:20:47 +03:00
Michele Balistreri 267bf1184f
restore compatibility with current status-react 2020-04-16 10:12:34 +03:00
Roman Volosovskyi 38ca8597e2
Add nfc state events 2020-03-05 14:54:40 +02:00
Michele Balistreri cf7e3138c9
remove redundant derivation 2020-01-09 15:48:52 +03:00
Vitaliy Vlasov 8fb12850d7
Update status-keycard-java to 3.0.1 2019-12-27 18:31:15 +02:00
Vitaliy Vlasov 73c41d1a3d
Add exportKeyWithPath() fn 2019-12-27 16:32:51 +02:00
Michele Balistreri 905bcb6f0d
avoid NVM writes 2019-12-23 17:03:11 +01:00
Vitaliy Vlasov 29fe98beb3
Add signPinless 2019-12-05 13:36:21 +02:00
Roman Volosovskyi 79a7576ee1
fix master key address exporting 2019-11-27 09:57:50 +02:00
Roman Volosovskyi c9fbb9a3f3
Return master key address and public key
Before this commit `Keycard.generateAndLoadKey` and
`Keyacrd.getKeys` methods returned wallet root key address and public
key in "address" and "public-key" fields correspondingly. This caused
discrepancy in the way how keys were used for on-device and keycard
accounts in Status app. For on-device accounts master key address
was used as account's deterministic id, when keycard accounts used
wallet root key address for this purpose.
2019-11-19 11:12:46 +02:00
WoosangKim 2d5893d562 add thread to avoid main thread freezing 2019-11-07 11:14:31 +01:00
Dmitry Novotochinov c97d629a7d
update docs 2019-10-03 15:33:24 +03:00
Dmitry Novotochinov 34a76aeef9
2.5.12 2019-09-30 15:22:49 +03:00
Dmitry Novotochinov 3638d7ee42
add more data to getKeys() output 2019-09-30 15:22:26 +03:00
Dmitry Novotochinov 1e0f6e30c8
2.5.11 2019-09-05 18:50:43 +03:00
Dmitry Novotochinov 8fe4af0da8
derive root key at m/44'/60'/0'/0 2019-09-05 18:50:35 +03:00
Dmitry Novotochinov 8027427b1a
2.5.10 2019-09-05 12:19:40 +03:00