Repository navigation
v0.3.0
NazoAuth 0.3.0
This release combines the security-state/model work in #238 and the upgrade, OIDF and security repairs in #242.
- Reduce duplicated authorization and security state, compact acknowledged decision payloads, clear consumed credential payloads, and separate short-lived state from retained history. Preserve security TTLs, transaction confirmation, tenant binding and replay protection.
- Preserve released issuance and audit facts during upgrades from 0.2.16.
- Move audit acknowledgement authority to the independent receiver; exporter credentials can no longer acknowledge or delete undelivered evidence.
- Enforce FAPI policy floors, bound unauthenticated SCIM audit admission, verify downloaded UI provenance, reconcile tenant routing from PostgreSQL and correct external-key rotation.
- Reduce mdoc issuance-time fingerprinting through shared UTC-day certificate boundaries without extending credential validity.
- Publish eight platform binaries and the two attested protocol/crypto crates. Operator protocol 3 and release-manifest schema 7 remain unchanged.
Performance improvements and smaller storage
This release includes the measured performance and storage revisions from October 9–10.
Faster authorization and sustained capacity
- PostgreSQL hot reads now return their connections as soon as the database operation completes, without waiting for the request task to be scheduled again. This removes a verified cause of unnecessary pool contention while retaining transaction confirmation and security checks.
- In the recorded authorization-code comparison at 800 successful operations/s, 992 VUs and 180-second measurement windows, full-operation P95 fell from 24 to 20 ms and P99 from 56.01 to 38 ms. Both runs completed with zero drops and zero unexpected errors.
- The four previously failing capacity points—authorization code at 800 ops/s, revocation at 960 ops/s, single-CPU mixed at 400 ops/s and 16-CPU mixed at 1,600 ops/s—passed the original latency, success-rate and drop gates after the connection-ownership repair.
- The subsequent client-credentials retest sustained 4,000 successful operations/s for 10 minutes, with P95/P99 of 10/26 ms, zero drops and no unfinished operations.
Connection-ownership repair and original-gate results · Authorization comparison and client-credentials retest
Less storage per security record
| Measured component | Before → after | Reduction |
|---|---|---|
| Authorization-code holder proof column, measured PKCE case | 187 → 116 bytes | 37.97% |
| Single-use receipt index, identical 300,000 keys | 28,688,384 → 23,265,280 bytes | 18.90% |
| Remembered-device table + indexes, 10,000 equivalent new records | 4,300,800 → 3,751,936 bytes | 12.76% |
| TOTP credential table + indexes, 10,000 equivalent new records | 3,760,128 → 3,244,032 bytes | 13.73% |
| Access-token revocation table + indexes, 10,000 equivalent new records | 3,710,976 → 3,186,688 bytes | 14.13% |
These savings come from removing empty proof members, redundant index keys and unused model fields. Consumed backup-code verifiers are deleted in the same transaction as consumption and audit recording; consumed credential offers discard payloads that no longer have a reader. Acknowledged authorization decisions retain compact security facts instead of their full payloads.
Natural reclamation was also verified: the 30-minute authorization storage observation followed the final retention deadline and a complete maintenance cycle, after which the target decisions and all issuance receipts reached zero, while valid refresh families remained intact. Expired remembered devices and controller approvals now have an owned reclamation path.
The percentages above describe their named columns, indexes or equivalent-record fixtures. Original security retention, tenant binding, atomic consumption and replay protection are preserved.
Holder/index measurements and natural reclamation · MFA storage measurements · Revocation model measurements
Upgrade requirements
Read the 0.2.16 upgrade guide and audit role/cutover guide. The receiver, worker and restricted database roles need a coordinated cutover. Retain verified backups; do not assume the old binary can use a migrated database. Previously applied tenant-policy migrations are not automatically replayed.
Verification scope
Publication requires exact-main quality CI, native binary identity checks, dependency/image scanning, immutable asset checks and Sigstore attestations. See the security report and remaining boundaries, storage/performance evidence, and mdoc evidence. Historical load and conformance results retain their original revisions and limits; this release is not a new certification approval or a claim of unrestricted performance.
Legacy issuance cutover now blocks all live receipts, even those without ciphertext. This preserves the old replay/revocation window; upgrading may require waiting for the original refresh-token lifetime after stopping the old issuer. Already-applied cutovers do not replay this guard. Review and real PostgreSQL regression.
Repository history was cleaned on 2026-10-12 to remove generated reports and test archives. Published assets are unchanged.
Original build source: 5e63ff6e79805ced7b09814126ebac675bdd7d27. Corresponding source after cleanup: 7af8dfd801077e7b7390d26ed1af10eed9827882. Artifact attestations retain the original build source.