forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to Cargo.tomlClear filter

2026-09-14

2026-09-09

chore: bump remaining crates to latestAhmet Kaan Gümüş · 25140f3
chore: bump remaining crates to latest

topcoat 0.8, ulid 3, chacha20poly1305 0.11, base64 0.23, rsa 0.10-rc.18.

2026-09-03

feat: server-side sessions with instant revocation, admin panel, sealed mail settingsAhmet Kaan Gümüş · 963c897
feat: server-side sessions with instant revocation, admin panel, sealed mail settings

- app_sessions table: opaque tokens introspected per request against im;
  no token-validity window — an admin revoke or a disabled account is dead
  on the very next call
- sessions::revoke_user_sessions cascades central sessions, refresh tokens
  and app sessions; disable also revokes
- POST /introspect (RFC 7662); token exchange carries an app_session
  alongside the OIDC tokens; im-client drops its refresh-token logic for it
- /admin panel: People (invite, admin flag, disable/enable, sign out
  everywhere), Mail (SMTP in the settings table, password sealed under
  im.key — deployment facts stay in im.toml, secrets never), Logs (audit
  events: invites, enrolments, logins, revocations, exchanges)
- CLI: im-web invite <email> [--admin], im-web revoke <email>
- events + settings tables; login/logout/TOTP/invite/exchange audit logging

Verified live: admin invited user2 from the panel, user2 enrolled and
entered the demo app silently; admin revoked user2 and the very next demo
request was signed out (no ghost window); logs show the whole trail.
feat: OIDC single sign-on — provider, client crate, izlek migrationAhmet Kaan Gümüş · d7200e0
feat: OIDC single sign-on — provider, client crate, izlek migration

- im-core: turso store (users, invites, sessions, OIDC clients, auth codes,
  refresh tokens, signing keys), argon2 passwords ported from izlek-core,
  RFC 6238 TOTP (hmac 0.13 + sha1 0.11), hand-rolled RS256 JWT over rsa 0.9,
  XChaCha20-Poly1305 sealing under im.key
- im-web: topcoat server — login / TOTP / invite / enroll pages in İzlek's
  instrument skin (style/main.scss, grass build.rs), OIDC authorize + token +
  userinfo + JWKS + discovery, CLI: invite, create-client
- im-client: drop-in OIDC client for topcoat apps — PKCE S256, JWKS-validated
  id_tokens, transparent refresh rotation, encrypted session cookie, demo
  example app
- im-migrate: one-time izlek.db import, argon2 hashes verbatim, mapping CSV

Verified live in a browser: invite -> password -> TOTP enrolment (QR) ->
demo app OIDC handshake (silent via central session) and a full interactive
password+TOTP login landing on the app's protected page with claims.