androidtoken icon indicating copy to clipboard operation
androidtoken copied to clipboard

Add options to mask seeds using the pin

Open dylex opened this issue 7 years ago • 0 comments

Currently seeds are stored cleartext in the database. This option allows greater security, since the seeds are no longer trivially recoverable without the pin if it is set. Also provides an even stronger security option to not validate the pin by not storing the hash at all. Instead, incorrect pins just produce incorrect seeds and thus incorrect tokens, making it very difficult to recover the original seeds. (Which of course has its downsides too, if you forget or mis-enter a PIN. We could require the PIN to be entered twice in this case instead.)

Various refactoring of hex conversion and pin management used therein.

dylex avatar Nov 15 '17 01:11 dylex