docs.pow.do/signupflow.md
2025-03-25 12:45:58 +00:00

1.5 KiB

Signup Flow

We need a flow that avoids any copy pasting of nsecs, and allows regular key rotation. The principle then is that all system nsecs are generated locally, and never leave the device.

Admin (bootstrap) flow:

Kind Numbers

Kind numbers are all based on a "2029" root, which is the BIP-39 word for "work".

Kind Type Purpose
2029001 Encrypted to admin, ephemeral Discovery of DVM npub by Admins
2029002 Encrypted to dvm, ephemeral Register admin client
2029003 Encrypted to client, ephemeral Confirm admin client registration
2029004 Public, Replaceable Discovery of DVM npub by end users