Gunnar

mikronova/tyr

tyr

Our own eID — locked down, mega small, binary, fast from embedded up.

tyr (Old Norse Týr, god of law and oaths — the one who bound the wolf Fenrir with his own hand as the pledge) is Nordisk's own electronic-identity protocol. Where frida buys EU interoperability with heavyweight envelopes (JOSE/COSE, SD-JWT, mdoc), tyr makes the opposite trade: a tight binary wire protocol for constrained hardware and very high throughput.

Lesson behind it: an XML-era identity protocol, re-done as a binary protocol, cost ~100× less CPU/space. tyr starts binary.

Goals

Holders

Who uses it

Vetra's heimdal integrates tyr as a provider (heimdal-tyr) behind its IdentityProvider trait, alongside Freja, BankID, and frida.

Persistence & deployment — no relational database, ever

Same Store trait as frida (lives in edda, following nornir-warehouse-trait); never an RDBMS.

Repo layout (planned)

spec/                the binary wire format + crypto suite (the product)
crates/
  tyr-proto/           no_std wire codec (frames, TLV, versioning)
  tyr-crypto/          signature/attestation suite (Ed25519 / ECDSA)
  tyr-server/          high-speed server
  tyr-client/          client (used by heimdal-tyr)
  tyr-embedded/        constrained-device profile

Crypto / credential primitives shared with frida are expected to live in edda/ rather than being duplicated.

Status

Design. No protocol code yet — see docs/PROTOCOL.md.

License

0BSD (Zero-Clause BSD) — maximally permissive, no attribution required. See LICENSE.

Files

crates/
docs/
.gitignore
Cargo.lock
Cargo.toml
LICENSE
README.md

Newest commits

6ac8930e23ectyr-core: depend on published eid-core 0.1 (drop path dep)2026-07-19
8a66936593dctyr-core: working auth+sign round-trip on eid-core2026-07-19
64bffe2901a8tyr: persistence + networking design; 0BSD2026-07-19
af0134f2ea60tyr: compact binary eID — design scaffold2026-07-19