Identity
Your identity in UNAVI is a DID (decentralized identifier), a globally unique string that resolves to a cryptographic key or identity document.
Every DID begins with did:, followed by a method and a method-specific
identifier. The method defines how the identifier is created and how other peers
verify that it belongs to you. Because DID is an open W3C standard, UNAVI does
not own your identity, and the same identifier can be reused anywhere DIDs are
supported.
did:key
A did:key is derived directly
from a cryptographic keypair:
did:key:zDnaerDaTF5BXEavCrfRZEk316dpbLsfPDZ3WJ5hRTPFU2169
The value after did:key: encodes the public key itself, allowing any peer to
verify your signatures without contacting a server. UNAVI generates a did:key
automatically on first launch. It requires no account and works offline, though
it is tied to the device holding the private key.
Your private key is stored as key.pem in the app's data directory:
| OS | Path |
|---|---|
| Linux | ~/.local/share/unavi-app/ |
| macOS | ~/Library/Application Support/UNAVI.unavi-app/ |
| Windows | %LOCALAPPDATA%\UNAVI\unavi-app\data\ |
Back up key.pem if you want to keep the same identity across reinstalls. Once
the key is lost, the identity cannot be recovered.
did:web
A did:web binds an identity to a
domain name:
did:web:unavi.xyz:user:alice
Whoever controls the domain controls the identity, and you can use it from any
device you sign into. Each colon after the domain maps to a URL path segment, so
did:web:unavi.xyz:user:alice resolves to
https://unavi.xyz/user/alice/did.json. If you own a domain, you can publish
and use your own did:web.
unavi.xyz will issue did:web identities with standard username and password sign-in.