mirror of
https://github.com/status-im/react-native-status-keycard.git
synced 2025-02-28 20:10:28 +00:00
fix master key address exporting
This commit is contained in:
parent
c9fbb9a3f3
commit
79a7576ee1
@ -311,7 +311,7 @@ public class SmartCard extends BroadcastReceiver implements CardListener {
|
|||||||
cmdSet.verifyPIN(pin).checkOK();
|
cmdSet.verifyPIN(pin).checkOK();
|
||||||
Log.i(TAG, "pin verified");
|
Log.i(TAG, "pin verified");
|
||||||
|
|
||||||
byte[] tlvMaster = cmdSet.exportKey(MASTER_PATH, false, true).checkOK().getData();
|
byte[] tlvMaster = cmdSet.exportKey(MASTER_PATH, true, true).checkOK().getData();
|
||||||
BIP32KeyPair masterPair = BIP32KeyPair.fromTLV(tlvMaster);
|
BIP32KeyPair masterPair = BIP32KeyPair.fromTLV(tlvMaster);
|
||||||
|
|
||||||
byte[] tlvRoot = cmdSet.exportKey(ROOT_PATH, true, true).checkOK().getData();
|
byte[] tlvRoot = cmdSet.exportKey(ROOT_PATH, true, true).checkOK().getData();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-status-keycard",
|
"name": "react-native-status-keycard",
|
||||||
"homepage": "https://keycard.status.im/",
|
"homepage": "https://keycard.status.im/",
|
||||||
"version": "2.5.13",
|
"version": "2.5.14",
|
||||||
"description": "React Native library to interact with Status Keycard using NFC connection (Android only)",
|
"description": "React Native library to interact with Status Keycard using NFC connection (Android only)",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user