Appearing to log in with someone else's pubkey #372
Labels
No Label
1000k
100k
10k
200k
20k
500k
50k
5k
75k
backend
blocked:design
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
scope:intl
scope:nip
scope:query_tracing
scope:ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/snort#372
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Logging in with someone else's pubkey looks like you sign in as them. You see their settings page, you can also see a list of their DMs, they display
<ERROR>
but it exposes who you have been communicating with.I believe this is confusing for someone first navigating to Nostr, because before logging in there's no search icon either, so they may be arriving with just someone else's pubkey on their clipboard, then as an example they can see someone else's settings all of a sudden with a different avatar and banner, but might be unsure they must now logout and use their own private key, and of course can't actually edit anything yet
(someone else's DM list)
![image](https://user-images.githubusercontent.com/8608634/221747766-d2ad2650-5354-48bd-9735-4a9e25c0d071.png)
![image](https://user-images.githubusercontent.com/8608634/221748242-24508a30-d20b-4b98-aede-81dfaef37594.png)
To Reproduce
Steps to reproduce the behavior:
Paste someone else's pubkey to login
Expected behavior
Perhaps there should be a disclaimer when entering pubkey or logic to avoid exposing the DMs list etc. - not sure if this is a broader issue with Nostr clients and can be remedied easily? Changing this user flow I believe will help onboard new people.
Desktop (please complete the following information):
Smartphone (please complete the following information):