tanguilp/wax
59.3
Adequate · 15 November 2026
3.1k
lines of production code
Elixir
primary language
5
measurements over time
What this system is
Wax is an Elixir library that implements the FIDO2 and WebAuthn protocols for server-side authentication. It provides core functionality for handling registration and authentication flows, including challenge generation, authenticator data parsing, and cryptographic verification of COSE keys. The system supports multiple attestation statement formats such as Packed, TPM, Android Key, and Apple Anonymous, while integrating with FIDO Alliance metadata services to validate authenticator trust roots.
Features
Added ASN.1 schema definitions for Android Key Attestation versions 1, 2, and 3
The \asn1\ directory now includes the ASN.1 source files for Android Key Attestation V1, V2, and V3. These definitions formalize the structure of attestation certificates, including the \AndroidKeyAttestation\ sequence, \SecurityLevel\ (adding \strongBox\ in V3), \AuthorizationList\ (expanding with device identity fields like IMEI and model in V2/V3, and vendor/boot patch levels in V3), and \RootOfTrust\ (adding \verifiedBootHash\ in V3). These files serve as the schema source for generating the corresponding code.
asn1 · high confidence
Initial configuration structure for the Wax\_ application
The application now includes a standard Elixir configuration setup with a main config file that loads environment-specific settings. New configuration files for development and test environments define the Wax\_ application's origin, RP ID, and metadata handling settings, such as allowed attestation types and update intervals.
config · high confidence
Initial release of Wax FIDO2 library
This entry introduces the Wax library, providing functions for FIDO2 registration and authentication. It supports configurable options for attestation types, origin verification, user verification, and trust root validation, along with metadata loading capabilities from the FIDO Alliance MDSv3 or local directories.
lib · high confidence
Initial release of Wax WebAuthn library
This change introduces the Wax library, an Elixir implementation of the WebAuthn protocol. It provides core data structures for parsing and verifying WebAuthn messages, including \Wax.Challenge\, \Wax.AuthenticatorData\, and \Wax.ClientData\. The library supports multiple attestation statement formats (packed, TPM, Android Key, Apple, FIDO-U2F, and none) and integrates with FIDO Alliance metadata services to validate authenticator status and trust roots. It also includes a supervision tree for managing metadata updates and handles cryptographic operations for COSE keys.
lib/wax · high confidence
Initial release of Wax WebAuthn library for Elixir
This entry introduces the Wax library, a server-side FIDO2 (WebAuthn) implementation for Elixir. The diff establishes the project's foundational configuration, including \.formatter.exs\ for code formatting, \.gitignore\ for build artifacts, and \.tool-versions\ specifying Erlang 28.3.1 and Elixir 1.19.5. It also includes \.dialyzer\_ignore.exs\ to suppress warnings related to ASN.1 and public key types, and a \CHANGELOG.md\ documenting version 0.7.0 features such as custom challenge bytes, origin list support, and the removal of deprecated SafeNet attestation. The \README.md\ provides installation instructions, usage examples for registration and authentication, and a comprehensive list of configuration options like \attestation\, \origin\, \rp\_id\, and \user\_verification\.
(repo-wide) · high confidence
New cryptographic and utility modules for FIDO2/WebAuthn validation
Added new utility modules in lib/wax/utils to support FIDO2 attestation and metadata validation. Wax.Utils.CBOR provides CBOR decoding with binary reduction, Wax.Utils.Certificate extracts certificate attributes using X509, Wax.Utils.JWS handles JWS verification with x5c chains, Wax.Utils.PKIX implements PKIX path validation logic, and Wax.Utils.Timestamp introduces a swappable timestamp adapter (including a test-time-travel mock). These changes enable support for various attestation statement formats (e.g., packed, Android SafetyNet) and metadata TOC verification as part of the v0.5.0 release.
lib/wax/utils · high confidence
Support for Android Key, Apple Anonymous, FIDO U2F, Packed, TPM, and None attestation formats
The library now implements verification logic for six additional FIDO2/WebAuthn attestation statement formats: Android Key, Apple Anonymous, FIDO U2F, Packed, TPM, and None. This allows Wax to validate authenticators using these specific attestation types, including handling Android Key ASN.1 structures, Apple certificate path validation, TPM cert info parsing, and FIDO U2F signature verification.
_lib/wax/attestation\_statement\format · high confidence
Test coverage
Added test coverage for Wax core modules; Initial test suite for WebAuthn attestation verification.
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 60 → 59 (-0.3)
- Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 100 → 95 (-4.9)
- Architecture 100 → 100 (-0.0)
- Maturity 49 → 49 (+0.0)
- Readiness 47 → 47 (+0.0)
- Security 88 → 89 (+0.9)
Resolved (2)
- Rotate the exposed credentials — git history can't be un-committed
- Secret: generic-api-key (lib/wax.ex)
New (5)
- Edited copies of one member (3 members, 64+ corresponding lines) (lib/wax/attestation_statement_format/android_key.ex)
- Edited copies of one member (3 members, 7+ corresponding lines) (lib/wax/attestation_statement_format/android_key.ex)
- Edited copy of a member (10 corresponding lines) (lib/wax/attestation_statement_format/apple_anonymous.ex)
- Edited copy of a member (23 corresponding lines) (lib/wax/attestation_statement_format/android_key.ex)
- Edited copy of a member (5 corresponding lines) (lib/wax/attestation_statement_format/android_key.ex)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
tanguilp/wax was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit e46e8537ebbe79620d761cd0c324266fd81786ed — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.73+preprod-52de90b74216.