Egge on Nostr: I implemented NIP-07 auth in npc-CLI today. $ npc-cli list > no auth token present > ...
I implemented NIP-07 auth in npc-CLI today.
$ npc-cli list
> no auth token present
> spawns web server
> opens your browser with a login button
> click login
> NIP-07 popup
> signed event gets send back to the cli process, which authenticates with npc server
Published at
2025-05-13 16:21:28Event JSON
{
"id": "cddb5cfebea277933e12b1e03cd294aff55c0b971a4a9ecc54ef2abf7180664a",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1747153288,
"kind": 1,
"tags": [],
"content": "I implemented NIP-07 auth in npc-CLI today.\n\n$ npc-cli list\n\n\u003e no auth token present\n\u003e spawns web server\n\u003e opens your browser with a login button\n\u003e click login\n\u003e NIP-07 popup \n\u003e signed event gets send back to the cli process, which authenticates with npc server",
"sig": "0b71c7780c7ca2eb533a8415c73ba6db6eb26be340ac738b5d8c99cb548eb4b457b2bc8fcafebb49d60822a8d4e6722ad8d7ec87fbaaa1fa1367e519b95b3aca"
}