Security & Identity ยท zero-dependency ยท MIT

larzid

Self-certifying identity & credentials.

Self-certifying DIDs (did:larz) on Ed25519, with sign/verify and verifiable credentials that anyone can check offline, with expiry and tamper detection. Built on larzcrypt.

larzscript pkg install id
View on GitHub →Learn the stack

What you get

Try it

import "id" as id
let identity = id.create("alice", "issuer-secret")
let cred = id.issue(identity["id"], {"role": "admin"}, "issuer-secret")
print(id.verify(cred, "issuer-secret"))
cred["claims"]["role"] = "superadmin"
print(id.verify(cred, "issuer-secret"))
Output
true
false

Why it's in the Larz Stack

larzid is a real Larzscript package (larzscript pkg install id) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.