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.pull/24/head
parent
8ec9420be8
commit
71945b105f
Loading…
Reference in New Issue