Repository navigation
ProudAuth v0.2.0-alpha.5
Pre-release
Pre-release
·
52 commits
to main
since this release
[0.2.0-alpha.5] - 2026-10-18
Added
internal/testutilfault-injection helpers for reliability tests: a TCP
black hole, silent and stalling SMTP relays, a refused port and a slow HTTP
server.docs/releases/records the owner decisions taken at the start of each
release phase, beginning with
0.2.0-alpha.5.- Reference measurements of the four core token flows on the alpha.5 tree,
within three percent of the 2026-10-11 results
(benchmarks.md,
docs/operations/bench-results/2026-10-18-laptop-alpha5-baselines/). - The release workflow can be dry-run from
main(workflow_dispatch): it
builds, pushes by digest toghcr.io/proudauth/proudauth-staging, attests,
signs, tags, verifies its outputs with the operator commands from
installation.md and
renders the release notes, and publishes nothing (DEP-003, GOV-005). - Configuration:
directory.sign_in_timeout,directory.max_concurrent_binds,
security.password.max_concurrent_hashes; Compose variableNETWORK_SUBNET. - Metrics:
proudauth_key_rotations_refused_total{reason}on the worker,
busyoutcome ofproudauth_directory_binds_total. - Audit event
mfa.upgrade_proof.recorded;mfa.totp.used,mfa.hotp.used
andmfa.recovery_code.usedcarryupgrade_proof.
Changed
- Database-backed tests clone a template database that is migrated once per
migration set (its name carries a digest ofmigrations/*.sql), instead of
replaying every migration for each test.PROUDAUTH_TEST_NO_TEMPLATE=1
restores direct migration (QA-001). - CI runs
tests/e2eas four parallel shards (scripts/e2e-shard.sh, job
e2e) and pipes everygo testrun throughinternal/tools/testreport,
which fails the job when a test skips outsidetests/skip-allowlist.txt,
when a package fails to build, or when no test ran. Under CI, or with
PROUDAUTH_TEST_REQUIRE_DB=1, a missingPROUDAUTH_TEST_DATABASE_URL
fails database tests instead of skipping them. Theimagecheck now also
waits for every e2e shard. - The release image is pushed by digest and receives its version tags only
after its provenance, SBOM attestations and signature exist, so a tag never
names an unsigned image; every release verifies its own checksums,
attestations, signature and tag before it is published. The source SBOM
lists the Go module graph only, no longer the GitHub Actions and the SBOM
evidence files found in the tree. - A release whose CHANGELOG section has no
### Known limitationsheading is
refused by the release workflow (GOV-005). - GHCR is the only registry the project publishes to; the Docker Hub mirror
is not updated and is no longer documented.
Security
- Phishing-resistant administrator profile: an account that holds TOTP, HOTP,
recovery codes or a passkey never used with user verification must prove
that factor in the sign-in before a passkey can be registered. The proof is
an upgrade proof: it unlocksenroll_webauthn, is audited as
mfa.upgrade_proof.recorded, and never satisfies MFA.totp/enrolland
totp/activateare refused under the profile, so the password alone can no
longer register a passkey or replace the account's TOTP and recovery codes
(MFA-006, SEC-012). Sign-in factor and enrollment steps are accepted only
while their action is innext_actions; otherwise409 unexpected_step
(AUT-002, AUT-004).security.mfa_floor.admin_phishing_resistantand the
realm'smfa.admin_phishing_resistantfail closed: realm policies that
leave passkeys disabled are refused (422), a production server does not
start with the floor when it provides no passkeys, andidentity-cli doctor
warns about realms already in that state (MFA-005). Affected: every
earlier 0.2.0 prerelease; regression testsTestPasskeys,
TestPhishingResistantUpgradeFromUnverifiedPasskey,
TestFactorPolicyLeavesNoDeadEnd. - Organization role grants made outside the role routes need an MFA session
(MFA-003, TEN-008, TEN-013) unless the realm waives it with
mfa.org_admin_mfa_optional: adding a member with any role besides
member; creating or reassigning an invitation, or a batch, that offers such
a role or any project role; adding a member to a group that grants roles
directly or through its ancestors; moving a group under such a parent; and
setting a dynamic rule on such a group. A password-only organization
administrator could grant the admin role this way; single-factor sessions
now get403 mfa_required. Affected: every earlier 0.2.0 prerelease;
regression testTestOrgAuthorityGrantsNeedMFA. - Relationship (ReBAC) decisions and
list-objectsapply the same tenant
eligibility as RBAC (AZ-007, AZ-010, AZ-021): nothing matches when the
organization is notactive, a membership stops counting onceexpires_at
passes (before the expiry sweep), a rule-derived group membership counts
only while its dynamic group is fresh and without rule error, and a service
principal only while active and allowed in the organization. Affected:
every earlier 0.2.0 prerelease; regression test
TestRelationshipTenantEligibility. - An organization-scoped connection's just-in-time accounts get their
upstream email verified only inside the organization's verified domains;
elsewhere the address stays unverified behindverify_email, or is dropped
when another account has verified it. Organization administrators can
enablejit_provisioningonly with a non-emptyconfig.allowed_email_domains
made of the organization's verified domains (422otherwise). Thegoogle
adapter believesemail_verifiedonly forgmail.comandgooglemail.com
addresses or when thehdclaim equals the address's domain (REG-009,
TEN-007, TEN-010, TEN-011, FED-002, FED-004). After upgrading, run the query
in incidents.md to review accounts created
by earlier alphas. Affected: every earlier 0.2.0 prerelease; regression
testsTestOrganizationJITEmailVerification,
TestOrganizationJITConnectionDomains,TestGoogleAdapterEmailAuthority. - The egress policy refuses zoned IPv6 literals (
fc00::%0,fe80::1%eth0)
under the public-only rule and compares every blocked range without the
zone:netipprefixes never contain a zoned address, so such a literal
passed every blocked range and counted as global unicast, which let an
administrator-supplied webhook, hook, federation or provisioning URL name a
private or loopback destination (SEC-007; found byFuzzAllowedin CI).
Zoned addresses stay reachable only withallow_private_networkor an
explicit allowed CIDR. Affected: every earlier 0.2.0 prerelease; regression
testTestAllowedRefusesZonedAddresses. deploy/prodtrusts the stack's own Docker network as the reverse proxy by
default (NETWORK_SUBNET,172.30.0.0/24), so client addresses behind the
required HTTPS proxy reach the per-address sign-in budgets and the audit
records instead of every user sharing the gateway's address; the install
guide gains a reverse-proxy section. In production,X-Forwarded-Forfrom
a peer outsideserver.trusted_proxieslogs a warning once a minute, and
identity-cli doctorwarns when the list is empty (ABU-001, SEC-001,
DEP-002). Affected:deploy/prodof every earlier 0.2.0 prerelease;
regression testTestUntrustedForwardedForWarnsOnceAMinute.
Fixed
- Scheduled signing-key rotation keeps each realm's algorithm, taken from its
active key; it reverted every realm tokeys.signing_algorithm, which broke
resources pinned to ES256, PS256 or EdDSA and fapi2 clients after
keys.rotation_interval.KeyManager.Rotateruns the rotation guards for
every caller and refuses with409an algorithm that pinned business
resources reject (resources) or that leaves fapi2 clients with a
non-FAPI 2.0 algorithm (clients); a refused scheduled rotation is logged,
counted and skipped while the other realms rotate.POST /signing-key-rotationswithoutalgorithmkeeps the realm's algorithm,
and a resource created withoutsigning_algorithmpins it (TOK-005,
TOK-012, ADV-001). - SMTP delivery and the relay check run each session under a 30 s connection
deadline, or the task's deadline if sooner, and close the connection when
the worker task's context ends, so a relay or organization mail server that
accepts connections and never answers cannot freeze the worker (TEN-022,
MSG-012). Non-ASCIISubjectand sender names are sent as RFC 2047 encoded
words and non-ASCII body parts as quoted-printable (MSG-006). - Password sign-in no longer lets a slow or unreachable LDAP/AD directory hold
every database transaction slot (NFR-002, DB-014):directory.sign_in_timeout
(8 s) bounds one attempt's directory work across every endpoint and JIT
connector,directory.max_concurrent_binds(half the transaction slots)
fails fast with503 unavailableandRetry-After, and password steps
that may ask a directory are not retried after a deadlock, so a bind is
never repeated.security.password.max_concurrent_hashescan bound Argon2id
work the same way and is off by default. The two-phase password step that
moves this work out of the transaction follows in 0.2.0-alpha.8. - Factor-policy narrowing is applied before the MFA requirement: a TOTP the
realm no longer allows does not force MFA, a passkey does not count while
passkeys are disabled,mfa.allowed_factorslists without an enrollable
second factor are refused, and a policy stored earlier in that state reports
mfa_enrollment_unavailableinstead of an emptynext_actions(MFA-003,
MFA-005).
Known limitations
- Not independently reviewed or certified (SEC-018, QA-005); no OpenID
Foundation conformance suite has been run. - The Go and Node SDKs keep a retired or compromised signing key trusted until
the verifying process restarts; after an emergency rotation, restart
resource servers. SDK 0.3.0 adds key refresh and rejection. - Administrators of different organizations inside one realm are not yet
separated from each other everywhere: an organization's mail server, egress
allowances, membership expiry and the approval rule on every grant path are
tightened in 0.2.0-alpha.7 and alpha.8. Until then, treat organization
administrator as a trusted role. - Per-network abuse budgets key on the full IPv6 address and the token
endpoint has one budget per client (0.2.0-alpha.6 changes both); the worker
runs its tasks in one sequential loop (0.2.0-alpha.7 isolates them).
Docker image
docker pull ghcr.io/proudauth/proudauth:0.2.0-alpha.5Digest: ghcr.io/proudauth/proudauth@sha256:196f994c2ed9c652b2a90df5977b57f0f35316ef5f825288e9c753f6655a712f · Install: Docker quickstart