settings: pasting private key should update pubkey
If the user pastes a private-key and the pubkey field is empty, it should be ok to generate and autofill the pubkey without confusing the user. There might be circumstances where it is preferred to see an error if the pubkey does not correspond with the private key. Added an on paste event listener that tries to generate and auto- fill the pubkey (if empty). Also disabled autocomplete on the settings form to indicate to not save the key in password manager.
parent
cfb7a2dc35
commit
6b251c9d12
Loading…
Reference in New Issue