exporting bip44 private key is not allowed, we only export public key

This commit is contained in:
Dmitry Novotochinov 2018-11-28 15:47:01 +03:00
parent 97b95a3a6f
commit 6b1991beaf
No known key found for this signature in database
GPG Key ID: 43D1DAF5AD39C927
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ public class SmartCard extends BroadcastReceiver implements CardListener {
cmdSet.deriveKey(walletPath).checkOK();
Log.i(TAG, "Derived " + walletPath);
byte[] tlv = cmdSet.exportKey(WalletAppletCommandSet.EXPORT_KEY_P1_HIGH, false).checkOK().getData();
byte[] tlv = cmdSet.exportKey(WalletAppletCommandSet.EXPORT_KEY_P1_ANY, true).checkOK().getData();
BIP32KeyPair walletKeyPair = BIP32KeyPair.fromTLV(tlv);
String whisperPath = "m/43'/60'/1581'/0/1073741824'";