Wow! Yeah that’s a good one! #[2] can we validate that the npub file value starts with npub word, so if you put nsec we detect it and show an error?
Discussion
the Password might get an nsec dropped in it
Yes, good edge case, will add the warning UI. Thanks a lot for the fresh eyes. 💜🧡
The way I have it now;
- Registration asks for a user public key and will only take something starting with npub1
- Registration tells the user NOT to enter their private key and to enter a NEW password
- Login I don’t tell people that because I assume they paid attention at registration and used correct credentials
What about something like this? They can dismiss it.