# go-webauthn/webauthn

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/go-webauthn-webauthn).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

1,284 stars · 109 forks · Go · BSD-3-Clause

## Links

- GitHub: https://github.com/go-webauthn/webauthn
- awesome-repositories: https://awesome-repositories.com/repository/go-webauthn-webauthn.md

## Topics

`ctap2` `fido2` `go` `golang` `passkeys` `passwordless` `passwordless-authentication` `security` `webauthn`

## Description

This library provides a backend framework for implementing FIDO2-compliant authentication and passwordless login flows in Go applications. It serves as a server-side toolkit for managing hardware-backed identity verification, enabling developers to integrate secure, browser-based authentication protocols that utilize security keys and biometric sensors.

The project distinguishes itself by offering comprehensive tools for credential lifecycle management and hardware attestation. It handles the registration and storage of public key metadata while enforcing strict security requirements, such as origin validation and relying party identifier matching, to protect against phishing. The library also supports modular protocol extensions, allowing for the integration of custom security policies and specialized data fields during the authentication handshake.

Beyond core identity verification, the library includes primitives for processing hardware-specific metadata and digital certificates to ensure device integrity. It provides configurable settings for defining cryptographic algorithms, transport preferences, and security requirements, facilitating the implementation of multi-factor or passwordless authentication systems tailored to specific application needs.

## Tags

### Security & Cryptography

- [Passwordless Authentication](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/user-facing-login-methods/standard-web-authentication-schemes/passwordless-authentication.md) — Enables passwordless authentication by verifying user identity through hardware security keys or biometric sensors to eliminate traditional passwords. ([source](https://github.com/go-webauthn/webauthn/blob/master/CHANGELOG.md))
- [FIDO2 Server Frameworks](https://awesome-repositories.com/f/security-cryptography/security-token-management/hardware-token-bridging/fido2-token-authentications/fido2-server-frameworks.md) — Provides a server-side framework for verifying FIDO2-compliant cryptographic assertions and hardware attestation statements.
- [Authentication Verification](https://awesome-repositories.com/f/security-cryptography/authentication-verification.md) — Confirms user identity by checking cryptographic signatures from hardware devices against stored credentials during login. ([source](https://github.com/go-webauthn/webauthn/models))
- [Hardware Key Signature Verification](https://awesome-repositories.com/f/security-cryptography/cryptographic-signature-verification/external-key-verifiers/hardware-key-signature-verification.md) — Validates digital signatures against public keys stored on physical security keys to confirm user identity.
- [Credential Management](https://awesome-repositories.com/f/security-cryptography/passkey-authentication/credential-management.md) — Provides tools for the lifecycle management, storage, and retrieval of public key credentials and device metadata for user authentication.
- [WebAuthn Authentications](https://awesome-repositories.com/f/security-cryptography/public-key-authentication/webauthn-authentications.md) — Enables browser-based multi-factor authentication by implementing standardized WebAuthn protocols for hardware-backed cryptographic verification.
- [WebAuthn Server Libraries](https://awesome-repositories.com/f/security-cryptography/public-key-authentication/webauthn-authentications/webauthn-server-libraries.md) — Provides a backend library for implementing FIDO2 and passwordless authentication flows using hardware security keys and biometric sensors.
- [Credential Validity Verification](https://awesome-repositories.com/f/security-cryptography/credential-validity-verification.md) — Checks registered device information against trusted databases to ensure hardware integrity during registration or login. ([source](https://github.com/go-webauthn/webauthn/blob/master/README.md))
- [Origin Validators](https://awesome-repositories.com/f/security-cryptography/cross-origin-security-policies/origin-validators.md) — Enforces strict domain and origin matching to prevent phishing attacks by ensuring authentication requests originate from authorized web origins.
- [Authenticator Security Validation](https://awesome-repositories.com/f/security-cryptography/hardware-authentication/authenticator-security-validation.md) — Validates and saves new security keys or biometric hardware by checking origin and security properties during setup. ([source](https://github.com/go-webauthn/webauthn/blob/master/CHANGELOG.md))
- [Device Attestation](https://awesome-repositories.com/f/security-cryptography/identity-access-management/access-control/data-resource-permissions/key-level-access-controls/client-authentication/device-attestation.md) — Processes standardized security statements to confirm the origin and hardware integrity of devices registering with the system. ([source](https://github.com/go-webauthn/webauthn/blob/master/README.md))
- [Session and Credential Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/session-and-credential-handling/session-credential-management.md) — Maintains structured records of public keys and device capabilities to facilitate persistent user sessions across multiple hardware authenticators. ([source](https://github.com/go-webauthn/webauthn/blob/master/CHANGELOG.md))
- [Passkey Authentication](https://awesome-repositories.com/f/security-cryptography/passkey-authentication.md) — Offers a library of tools for registering and validating public key credentials to support secure passwordless login experiences.
- [Credential Registrations](https://awesome-repositories.com/f/security-cryptography/passkey-authentication/credential-registrations.md) — Enables secure passwordless access by saving public key information and device details for registered hardware. ([source](https://github.com/go-webauthn/webauthn/models))
- [Credential Management Tools](https://awesome-repositories.com/f/security-cryptography/security/utilities/secret-and-credential-managers/credential-management-tools.md) — Provides tools to store and organize public keys and device metadata for persistent tracking of authorized user devices. ([source](https://github.com/go-webauthn/webauthn#readme))

### Development Tools & Productivity

- [Hardware Attestation Verifiers](https://awesome-repositories.com/f/development-tools-productivity/attestation-verification-tools/hardware-attestation-verifiers.md) — Parses and verifies hardware-specific metadata and digital certificates to ensure the authenticity and integrity of registered security devices.

### Web Development

- [Authentication Middlewares](https://awesome-repositories.com/f/web-development/authentication-middlewares.md) — Provides middleware components for handling origin validation and secure handshake protocols within web application authentication flows.
