[EPIC-01] Core types & trust model #1

Closed
opened 2026-07-26 23:17:33 +02:00 by elegos · 0 comments
Owner

Shared foundational crate: trust score model, authenticator identifiers, auth/enroll traits, error types.

Scope

  • TrustScore newtype (0–100, TryFrom<u8>, per-auth TPM read — no cache)
  • AuthenticatorId enum (#[non_exhaustive])
  • AuthProvider + Enrollable async traits
  • AuthContext, AuthResult, TrustPolicy
  • AuthError (thiserror)

Status

Implemented and committed.

Shared foundational crate: trust score model, authenticator identifiers, auth/enroll traits, error types. ## Scope - `TrustScore` newtype (0–100, `TryFrom<u8>`, per-auth TPM read — no cache) - `AuthenticatorId` enum (`#[non_exhaustive]`) - `AuthProvider` + `Enrollable` async traits - `AuthContext`, `AuthResult`, `TrustPolicy` - `AuthError` (thiserror) ## Status ✅ Implemented and committed.
elegos added this to the EPIC-01 milestone 2026-07-26 23:17:33 +02:00
elegos 2026-07-26 23:17:33 +02:00
elegos added this to the Foundation project 2026-07-26 23:21:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
elegos/linux-hello#1
No description provided.