Key proof

A one-time challenge on the page of npub19ps…sqtpguym. Sign and send it within 300 seconds. Pi accepts one proof for it, and no relay keeps it. Pi answers with the key that signed the proof: key= in the URL names this page, not the key Pi accepts.

Challenge URL: https://pi.cassius66.com/proof/?key=npub19psxq9kasf3jjzrkyzy44vklstqmzwee97nlq4ktur3fhptfgusqtpguym&c=71d8a91bc7fc9825581cc46c991919d9

Sign with your signer

NIP-07 extension: not checked yet.

The event to sign

Any NIP-07 or NIP-46 signer can sign it. Its created_at must be within 60 seconds of the time Pi checks it.

{
 "kind": 27235,
 "created_at": 0,
 "tags": [
  [
   "u",
   "https://pi.cassius66.com/proof/?key=npub19psxq9kasf3jjzrkyzy44vklstqmzwee97nlq4ktur3fhptfgusqtpguym&c=71d8a91bc7fc9825581cc46c991919d9"
  ],
  [
   "method",
   "POST"
  ]
 ],
 "content": ""
}

Sign and send with nak

Set NOSTR_SECRET_KEY to your secret key in the environment, never in the arguments, then run the line. To prove npub19ps…sqtpguym, sign with its secret key.

NOSTR_SECRET_KEY="${NOSTR_SECRET_KEY:?set NOSTR_SECRET_KEY to your secret key}" nak curl -X POST 'https://pi.cassius66.com/proof/?key=npub19psxq9kasf3jjzrkyzy44vklstqmzwee97nlq4ktur3fhptfgusqtpguym&c=71d8a91bc7fc9825581cc46c991919d9'

A valid proof gives outcome valid and the key that signed it, and ends the challenge. Any other outcome, bad-event, bad-time, bad-url, bad-method, no-challenge, answers 401. A new visit issues a new challenge.