Go to file
2024-05-06 22:59:44 +00:00
prisma Make transferred names disabled, make setting name enable it 2024-02-19 11:10:25 +03:00
src Reduce min pow, add verifySignature to nip98 2024-05-06 22:59:44 +00:00
.gitignore First commit 2023-12-01 13:15:15 +03:00
flake.lock Add flake lock 2024-03-15 00:52:04 -04:00
flake.nix Add flake lock 2024-03-15 00:52:04 -04:00
LICENSE First commit 2023-12-01 13:15:15 +03:00
package-lock.json update package locks with dev stuff 2024-03-15 00:52:34 -04:00
package.json update package locks with dev stuff 2024-03-15 00:52:34 -04:00
README First commit 2023-12-01 13:15:15 +03:00
shell.nix Add a shell.nix to noauthd 2024-03-15 00:49:50 -04:00

Noauth Daemon
-------------

Server for Noauth Nostr key manager.

API:

POST /subscribe({
  npub: string, 
  pushSubscription: json, // result of pushManager.subscribe
  relays: string[] // which relays to watch for nip46 rpc
})

Server starts watching the relays for nip46 rpc and if it 
detects that some requests don't have matching replies (signer 
is sleeping) then it sends a push message to the signer. 
Authorized using nip98.

POST /put({
  npub: string, 
  data: string, // encrypted nsec
  pwh: string // password hash 
})

Server stores this data and will serve it back later 
with /get. Authorized using nip98.

POST /get({
  npub: string,
  pwh: string // password hash
})

Server will return the data previously saved by /put,
pwh must match the one provided to /put (no access
to keys is needed).