namada icon indicating copy to clipboard operation
namada copied to clipboard

Remove MASP pin key

Open grarco opened this issue 1 year ago • 4 comments

Currently, the masp optional pin key is used in an inconsistent way: when a user generates a payment address there’s the chance to pin this address, if this is the case than all transactions with this payment address as the receiver will produce a pin key with the hash of the address, otherwise no pin key will be produced. If no pin is requested when generating the address, then no pin key will be produced.

Also, since we produce the pin key in a deterministic way (hash of the payment address) I believe we end up rewriting the same key in storage.

grarco avatar Feb 20 '24 20:02 grarco

In the end, after some talk we decided to remove the pin key and focus on developing a better implementation of the shielded sync process #2900.

cc: @Fraccaman, @batconjurer

grarco avatar Apr 11 '24 14:04 grarco

In that case I'm going to close this issue.

cwgoes avatar Apr 20 '24 00:04 cwgoes

Reopening as this has not been completed yet

grarco avatar Apr 22 '24 09:04 grarco

I see, sorry, it wasn't clear to me what task needed to be completed. Updated the title to clarify.

cwgoes avatar Apr 22 '24 09:04 cwgoes