Take npub into account #1

Open
opened 2024-07-09 09:15:54 -04:00 by stephen · 0 comments
Owner

As of now anyone can sign you in, as it just looks through "d" tags for the Minecraft username. Need to figure out a way to use the users npub to check for valid event as well.

  • Use 30078
    • "d" "bukkitstr"
    • "minecraft" "Your Minecraft User Name"
    • "nostr" "Your PUBkey hex"

Further implementation will follow, but essentially, it will check for both in the event json, to make sure the user has the correct username/pubkey combo.

And yes this is because I am too lazy to add hex->npub->hex 😴😆

As of now anyone can sign you in, as it just looks through "d" tags for the Minecraft username. Need to figure out a way to use the users npub to check for valid event as well. - [X] Use 30078 - "d" "bukkitstr" - "minecraft" "Your Minecraft User Name" - "nostr" "Your PUBkey hex" Further implementation will follow, but essentially, it will check for both in the event json, to make sure the user has the correct username/pubkey combo. And yes this is because I am too lazy to add hex->npub->hex 😴😆
stephen added the
enhancement
label 2024-07-09 09:15:54 -04:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nostr/bukkitstr#1
No description provided.