-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
I've noticed that there are two private keys that don't appear to be encrypted when you encrypt your wallet.
From the localStorage:
{
"coin": "btc",
"network": "livenet",
"xPrivKeyEncrypted": "{\"iv\":\"Jtu9SZ0Vy6euCYtzd+7sag==\",\"v\":1,\"iter\":10000,\"ks\":128,\"ts\":64,\"mode\":\"ccm\",\"adata\":\"\",\"cipher\":\"aes\",\"salt\":\"aEksVnYHSos=\",\"ct\":\"iAcUc4IX8Tnk5iLWHyObvr755Pqu+wUFyVSdKheWHb1fjTtV9VpsSGuc+ApmXdG3qweUzyftxwvSbB3q+KfnwtROB+TUDGd0cFGgWKABSK/4a/KsMh+TFauM+Ap/Tywc0skXlIPGUb+51tTtavrgmZ3hhCAxyUM=\"}",
"xPubKey": "xpub6C3CK9BneEsAv5hexyiQDXZx8ge7ALjcEPUu4sk6QAxQDbXdS9RmuZEbjgaub6n4suUeDsADRiTrKY1cQtVGsLk6NgHDVFfecRUDC2184Hr",
"requestPrivKey": "af29528a7cf85476aac50ad034ac30d902b0627ceb369da335daa1bfb75dff2b",
"requestPubKey": "0258a2307053afe09b34ac6f85d208239f2c27a5b26edeb97144699403ed3f4d43",
"copayerId": "81c3d49558c0039c21ce5f6d943eb922f0a7c7685d468747ede1a45fc6d05448",
"publicKeyRing": [
{
"xPubKey": "xpub6C3CK9BneEsAv5hexyiQDXZx8ge7ALjcEPUu4sk6QAxQDbXdS9RmuZEbjgaub6n4suUeDsADRiTrKY1cQtVGsLk6NgHDVFfecRUDC2184Hr",
"requestPubKey": "0258a2307053afe09b34ac6f85d208239f2c27a5b26edeb97144699403ed3f4d43"
}
],
"walletId": "d39510d7-3545-453f-8bf2-f29254050301",
"walletName": "Personal Wallet",
"m": 1,
"n": 1,
"walletPrivKey": "87786206eca33919c4446c1a3408a33b1cc6d055a5956f4f57a0182ac6259bbe",
"personalEncryptingKey": "hse7I2MLoYf1Z+eIMiLoaA==",
"sharedEncryptingKey": "9lthdBSG1+5J0vaLxAbwPg==",
"copayerName": "me",
"mnemonicEncrypted": "{\"iv\":\"gnVBeHwYZ9QKN4TN4dXEEA==\",\"v\":1,\"iter\":10000,\"ks\":128,\"ts\":64,\"mode\":\"ccm\",\"adata\":\"\",\"cipher\":\"aes\",\"salt\":\"aEksVnYHSos=\",\"ct\":\"TGoZRXNdTTJ1mlGVsVSzTtj8OoWWafuHAs+qj6SiZGCxnG7O5DprxpWrYmbMoBuO53Y/VVymfO5CqCVZIWd1E0wx3LW5lgzx2izdiXH3509kn12hhA==\"}",
"entropySource": "427518abcc64e405ebed1ae5b2ac9e49575b75c6f98516c376f1ad1ab308dbd6",
"mnemonicHasPassphrase": false,
"derivationStrategy": "BIP44",
"account": 0,
"compliantDerivation": true,
"addressType": "P2PKH"
}They are
"walletPrivKey":"87786206eca33919c4446c1a3408a33b1cc6d055a5956f4f57a0182ac6259bbe",
and
"requestPrivKey": "af29528a7cf85476aac50ad034ac30d902b0627ceb369da335daa1bfb75dff2b",
Can you explain what these keys do and why they aren't encrypted with the wallet?
Reactions are currently unavailable