Open JimmyMow opened 5 years ago
I still don't see a threat that can be avoided by encrypting the lndconnect uri. (that might be just because i'm lacking imagination).
lndconnect -j | rot13
😉)I would expect encrypting the data would rather increase the size of the uri than shortening it. At least if we're using a popular block cipher like AES.
12341234
.
I propose an update of
lndconnect
that allows a user to add a password before outputting the QRCode or string. Then the QRCode data or string data is encrypted using the user's password.The reasons for this are:
I think we should add an additional field such as
password=true
to keep backwards compatibility. When clients parse thelndconnect
strings, they should parse thepassword
field, knowing whether thislndconnect
data is hashed with a password or not. Then clients can prompt users for their password and decrypt thelndconnect
string.