Identity & Verifiable Credentials with larzid
Beyond passwords lies self-certifying identity: cryptographic identities you control, and credentials others can verify offline. larzid brings decentralised identity to your apps.
Most authentication relies on a central authority - a server that holds accounts and vouches for who you are. An alternative model, decentralised identity, lets each user hold a self-certifying identity backed by cryptography, and issue credentials others can verify without contacting any central server. larzid implements this - a powerful concept for signed tokens, offline verification, and blockchain apps.
Self-certifying identity
A DID (decentralised identifier) is an identity whose name is derived from its own public key - so it certifies itself, with no central registry needed.
| Concept | What it is |
|---|---|
| DID (did:larz:...) | An identity you control, no central authority |
| Sign | Prove a message came from that identity |
| Verify | Anyone can check a signature against the DID |
| Verifiable credential | A signed claim others check offline |
Because the identity is its own public key, no server has to store or vouch for it - it proves itself cryptographically, which is the foundation of decentralised identity.
Credentials verified offline
A verifiable credential is a claim (e.g. 'this DID is over 18', 'holds this certificate') signed by an issuer, that anyone can verify offline - with expiry and tamper-detection.
Build with identity
- DIDs - self-certifying identities users control.
- Sign/verify - prove and check message origin cryptographically.
- Verifiable credentials - offline-checkable claims, with expiry.
- Tamper/forgery-proof - any change fails verification.
๐ฏ Key takeaways
- Decentralised identity lets users hold self-certifying cryptographic identities, no central authority needed.
- A DID is an identity whose name derives from its own public key - it proves itself.
- Verifiable credentials are signed claims anyone can check offline, with expiry and tamper-detection.
- larzid builds this on standard Ed25519 (via larzcrypt) - the identity layer for signed tokens and blockchain apps.
Frequently asked
What's the advantage of self-certifying identity over normal accounts?
Traditional accounts depend on a central authority (a server/company) that stores your identity and vouches for it - which means a single point of control, failure and data breach, and your identity is locked to that provider. A self-certifying identity (a DID) is derived from a keypair you control, so it proves itself cryptographically without any central registry: you can sign things as that identity and others can verify them independently. Benefits include no reliance on one provider, the ability to verify offline, and portability of identity across systems. It shifts control (and responsibility) to the user. It's especially useful for signed tokens, offline-verifiable credentials, and blockchain contexts where there's deliberately no central authority.
What could I actually build with verifiable credentials?
Lots of things where you need to prove a claim without a live check against a central server. Examples: offline-verifiable access passes or tickets (scan and verify cryptographically, even with no network), signed attestations (a body issues a credential that a holder can present and anyone can verify - like a certificate, membership, or 'over 18' proof that doesn't reveal more than needed), portable reputation or identity across platforms, and the identity layer for decentralised/blockchain apps (linking actions to a self-controlled identity). The core capability is: an issuer signs a claim, a holder presents it, and a verifier checks it with cryptography alone - with expiry and tamper-detection built in. larzid gives you those primitives to build such systems.
You've finished the Security & Identity with the Larz Stack sessions
Now lock it in with the coursework.
Do the assignments โRelated lessons
Two-Factor Auth with larztotp & larzqr
Passwords alone are weak. Two-factor authentication adds a second check that stops most acโฆ
Security & Identity with the Larz StackHashing & Encryption with larzcrypt
The two workhorses of security: hashing (for passwords and integrity) and encryption (for โฆ
Understanding & Building on LarzChainWallets, Keys & Transactions
Owning crypto means holding a private key. Understanding keys, addresses, signatures and tโฆ