pocket-core icon indicating copy to clipboard operation
pocket-core copied to clipboard

Default the re-encryption prompt from: app/cmd/cli/accounts.go:importArmoredCmd to be same as current

Open BenVanGithub opened this issue 4 years ago • 2 comments

Remove the re-encryption passphrase prompt and default it to the same as the current passphrase.

It is not just confusing, it is logically inappropriate to perform a passphrase change at the same time that you performing an import.

It the user wants to change a passphrase he has a command to do so. Changing it here, without any typo double check is just asking for problems.

BenVanGithub avatar Oct 04 '20 23:10 BenVanGithub

I tend to agree. Care to tackle @BenVanGithub ?

andrewnguyen22 avatar Oct 05 '20 16:10 andrewnguyen22

Yes. I'd like to take this one on. Just review it carefully.. playing around with keys is pushing my envelope a bit.

BenVanGithub avatar Oct 05 '20 16:10 BenVanGithub