wallet icon indicating copy to clipboard operation
wallet copied to clipboard

IDEA: show the backup words alternative in a QR, so it is easy to transfer a wallet from one mobile device to other.

Open matiu opened this issue 11 years ago • 3 comments

matiu avatar Nov 13 '15 02:11 matiu

+1

xbtdev avatar Nov 13 '15 21:11 xbtdev

hmmm......................

Definitely only generate QR code of seed if it is encrypted with a strong password...

Having a huge QR code for anyone (or security camera) to see with plaintext phrase encoded is dangerous...

+1 (with condition that it is required to be encrypted)

I don't think it should just use the same encryption key as the spending encryption (if they have it enabled)... there should be some scheme in place to ask them for a one time password that they will only need to remember for the 3 seconds it needs to send and decrypt... and maybe devise some way to generate a 256 bit salt to xor with the password hash to generate the key. (like maybe have something like below which would give an insecure, but different salt for every 30 seconds to mix with their password.)

var crypto = require('crypto');
var time = Math.floor(new Date()/30000).toString(16)
time = time.length % 2 == 0 ? time : "0" + time;
var salt = crypto.createHash('sha256').update(new Buffer(time, 'hex')).digest();

dabura667 avatar Nov 14 '15 04:11 dabura667

Closed in favor of https://github.com/bitpay/copay/issues/4320

matiu avatar Jun 09 '16 13:06 matiu