github.com/go-webauthn/webauthn
v0.17.4
#1784 most downloaded on Go modules
go-webauthn/webauthn
What this package is like to depend on
Last release 2 days ago
22 Aug 2026
Ships on a steady schedule
a new release about every 2 weeks
Some releases are documented
notes for 34 of 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
318 releases · first in 2017
57 releases in the last 12 months
see the full history below
Release timeline
318 releases · Oct 2017 to Aug 2026Releases
latest 60 of 318-
v0.17.5-0.20260822002105-9b6dffd7af4322 Aug 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260816125727-de0ae6ce9f8316 Aug 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260809112227-0661c81a3ddb09 Aug 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260730224828-81fdf439af6630 Jul 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260724025705-ea4ab950020a24 Jul 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260716224929-e4283e4a686d16 Jul 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260703121136-c5fd0136b7b303 Jul 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260624114959-a5c609136f1c24 Jun 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260619000011-66850fc8ab9119 Jun 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260607081029-6362fe0482b107 Jun 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260524224213-2da7665b456324 May 2026 pre-releaseNothing published for this version
-
v0.17.5-0.20260522123301-c9d3bf2c3b1922 May 2026 pre-releaseNothing published for this version
-
v0.17.422 May 2026Release notes
Open source → -
v0.17.309 May 2026Release notes
Open source → -
v0.17.3-0.20260504131605-ddd782975e2d04 May 2026 pre-releaseNothing published for this version
-
v0.17.203 May 2026 -
v0.17.2-0.20260503101456-0dbf23bbf76603 May 2026 pre-releaseNothing published for this version
-
v0.17.103 May 2026 -
v0.17.1-0.20260501235302-ae5eea625d4b01 May 2026 pre-releaseNothing published for this version
-
v0.17.021 Apr 2026Release notes
Open source →0.17.0 (2026-04-21)
- fix!: split attestation type and format (#658) (3c1e870), closes #658 #476
- feat!: tighten cross-origin defaults (#647) (80cc224), closes #647
Bug Fixes
Features
- webauthn: add authenticator registration filtering (#668) (0be632e)
- webauthn: credential message pack (#660) (c7d933c)
BREAKING CHANGES
-
A bug with the Credential Record which was
introduced early in the libraries lifecycle has resulted in a
breaking change to the Credential struct. If you are manually
serializing this struct instead of using encoding/json you
will be required to make manual changes; though Integrators
should consider these notes regardless.-
protocol.CredentialTypeFIDOU2F has been removed;
replace uses with protocol.AttestationFormatFIDOUniversalSecondFactor
(cast to string where the destination field is a plain string). -
The semantics of the AttestationType field on webauthn.Credential
and protocol.CredentialDescriptor have changed. Integrators that
inspect this field to detect a format (typically checking for
"fido-u2f") must switch to the new AttestationFormat field; the
FIDO-U2F AppID and AppIDExclude extension helpers now key on
AttestationFormat, so a descriptor literal constructed with
AttestationType: "fido-u2f" will no longer trigger them. -
Stored Credential JSON records are migrated transparently by the
new UnmarshalJSON, but re-marshaled records will carry
attestationFormat rather than a format string in attestationType;
downstream consumers that parsed the legacy shape directly should
be updated. -
The Credential.Verify method has been updated and may fail in
previous scenarios where it passed previously. It will also update
the AttestationType value as a side-effect when used.
-
-
The Cross-Origin verification semantics have changed
significantly due to the stabilization of the WebAuthn Level 3
specification. It is no longer possible to disable verification, and
Cross-Origin ceremonies must explicitly be allowed in this release.-
protocol.TopOriginIgnoreVerificationMode has been removed. Code that
referenced it must switch to one of the other constants as there is
no longer a mode which disables the Top Origin verification such as:- TopOriginExplicitVerificationMode; match against RPTopOrigins only
(recommended, and the new coerced default) - TopOriginAutoVerificationMode; match against the union of
RPTopOrigins and RPOrigins - TopOriginImplicitVerificationMode; match against RPOrigins only
- TopOriginExplicitVerificationMode; match against RPTopOrigins only
-
webauthn.Config.validate now rewrites a zero-valued
RPTopOriginVerificationMode to TopOriginExplicitVerificationMode.
Integrators that left the field unset previously got ignore-mode
semantics (any Top Origin accepted); they now get strict matching
against RPTopOrigins and must populate that list, or explicitly
select a different mode; for Cross-Origin flows to succeed. -
Cross-Origin ceremonies (those where the authenticator reports
crossOrigin = true in the ClientData) are rejected by default.
Integrators that rely on iframe-embedded or other Cross-Origin WebAuthn
flows must set webauthn.Config.RPAllowCrossOrigin = true. The library
continues to enforce Top Origin verification on accepted Cross-Origin
ceremonies per the configured mode. -
protocol.CollectedClientData.Verify no longer accepts
TopOriginIgnoreVerificationMode; callers that pass an unknown mode
receive ErrNotImplemented with detail "unknown Top Origin
verification mode".
-
-
v0.16.6-0.20260420134948-424c364bc5b220 Apr 2026 pre-releaseNothing published for this version
-
v0.16.6-0.20260420134740-9d91f7f586e820 Apr 2026 pre-releaseNothing published for this version
-
v0.16.6-0.20260419134806-2701f5759dc219 Apr 2026 pre-releaseNothing published for this version
-
v0.16.6-0.20260419094918-80cc224097df19 Apr 2026 pre-releaseNothing published for this version
-
v0.16.519 Apr 2026 -
v0.16.409 Apr 2026 -
v0.16.4-0.20260407231841-e47dd77978f707 Apr 2026 pre-releaseNothing published for this version
-
v0.16.305 Apr 2026 -
v0.16.3-0.20260402130856-fadbb25f38b602 Apr 2026 pre-releaseNothing published for this version
-
v0.16.230 Mar 2026Release notes
Open source →v0.16.2 (2026-04-02)
Bug Fixes
- top origins always fails (#626) (514306b)
- webauthn: credential flags not fully updated (#629) (a4b68c8)
- webauthn: nil panic on discovery (#631) (3545ead)
Features
-
v0.16.2-0.20260330211730-6047bfdf598330 Mar 2026 pre-releaseNothing published for this version
-
v0.16.2-0.20260318214456-0878dd6f319218 Mar 2026 pre-releaseNothing published for this version
-
v0.16.2-0.20260317122030-ce1233e6455117 Mar 2026 pre-releaseNothing published for this version
-
v0.16.2-0.20260317120428-537a5686e44917 Mar 2026 pre-releaseNothing published for this version
-
v0.16.112 Mar 2026Release notes
Open source →Release notes
Open source →Bug Fixes
0.16.0 (2026-03-01)
Bug Fixes
- webauthn: empty top origins not allowed (#562) (fe3b74c), closes #537
- webauthn: session expiration not enforced (#561) (f5adbbf), closes #552
Features
- protocol: compound attestation statements (#571) (cc4e649)
- protocol: enhance rpid validation (#564) (7610304), closes #553
- protocol: signals structs (#574) (f75a34a)
- webauthncose: allow ber integers in ecdsa sigs (#593) (68db4d4), closes #408
- webauthn: return explicit error on unknown credential (#560) (1defb4a), closes #550
0.15.0 (2025-11-09)
0.14.0 (2025-09-14)
Bug Fixes
- webauthn: edge case in owned credentials validation (#487) (9410f91)
- webauthn: skip mds validation for none format (#497) (a1b2775), closes #387
Features
-
v0.16.001 Mar 2026Nothing published for this version
-
v0.15.1-0.20260211214357-06f8761e780e11 Feb 2026 pre-releaseNothing published for this version
-
v0.15.1-0.20260115220733-b13664fa42ca15 Jan 2026 pre-releaseNothing published for this version
-
v0.15.1-0.20251202224447-057822c954bb02 Dec 2025 pre-releaseNothing published for this version
-
v0.15.1-0.20251114212144-f16ed6f6921414 Nov 2025 pre-releaseNothing published for this version
-
v0.15.1-0.20251112024622-092a0087db0412 Nov 2025 pre-releaseNothing published for this version
-
v0.15.1-0.20251111020814-c3208fb5fc2f11 Nov 2025 pre-releaseNothing published for this version
-
v0.15.009 Nov 2025Nothing published for this version
-
v0.14.1-0.20251105211627-b84ab1df975a05 Nov 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20251031065709-c3064380953631 Oct 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20251026014755-a664f002fd1526 Oct 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20251025023700-448723794ab725 Oct 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20251014001451-2524fc4d1daf14 Oct 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20251002233712-82f19f23286202 Oct 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20250927005448-86ac5a4ab1c127 Sep 2025 pre-releaseNothing published for this version
-
v0.14.1-0.20250916051308-2b0b549a5d5816 Sep 2025 pre-releaseNothing published for this version
-
v0.14.014 Sep 2025Nothing published for this version
-
v0.13.5-0.20250911022339-46fd336b2bf011 Sep 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250903230843-b24522fa98e703 Sep 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250827203618-b6dfabc6474327 Aug 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250826052237-a1b27757c41126 Aug 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250824215116-9285e4c2ac7e24 Aug 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250824084812-19444b96b20f24 Aug 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250822024343-a384137b250922 Aug 2025 pre-releaseNothing published for this version
-
v0.13.5-0.20250820230056-b724dd5c712720 Aug 2025 pre-releaseNothing published for this version