You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's impossible to know with hex, but most people will not use hex these days. We could possibly add a warning if you paste a hex key that it cannot be verified? @stackingsaunter
Now, if someone pastes his public key npub1myprivatekey into nsec field, it doesn't validate - the extension just changes it to nsec1myprivatekey and then derives a new public from this private one
Feature description
Looks like now in private key field one can paste npub and it derives another npub out of it
![image](https://private-user-images.githubusercontent.com/16482809/301196245-d838ea7e-738a-422e-a906-ea178619e591.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzg0NzEsIm5iZiI6MTcyNDI3ODE3MSwicGF0aCI6Ii8xNjQ4MjgwOS8zMDExOTYyNDUtZDgzOGVhN2UtNzM4YS00MjJlLWE5MDYtZWExNzg2MTllNTkxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMDkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzMjg4MDdjZTdlZmNlYzZhZGM2OWI5NjZhOTgxZWY4ZTcyYzY4YWQzZDBhODEyNDU1OGYzMDZiMWNiMDYwM2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TVwLdNDCxsUqYZ1osXwvhNpxw6okmL3PPUt0ft1ny4k)
it confuses users, example
Describe the solution
validate whether pasted key is correct (if it starts with nsec....) - not sure if that's more difficult with hex format though
Describe alternatives
No response
Additional context
No response
Are you working on this?
None
The text was updated successfully, but these errors were encountered: