awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dgrijalva avatar

dgrijalva/jwt-goArchived

0
View on GitHub↗
10,747 stars·976 forks·Go·MIT·20 viewsgithub.com/golang-jwt/jwt↗

Jwt Go

jwt-go is a Go library for creating, parsing, and verifying signed JSON Web Tokens. It provides a pluggable signing interface that supports multiple cryptographic algorithms, including HMAC, RSA, ECDSA, and RSA-PSS, allowing tokens to be signed and verified with different security properties.

The library is built around a signing-method registry and a token-parsing pipeline that splits a JWT string into its header, payload, and signature segments for validation. It includes typed error classification for common failure modes such as invalid signatures, expired tokens, or malformed input, and supports embedding standard JWT claims like issuer, subject, and expiration into a struct that can be serialized to JSON.

Developers can extend the library by implementing the signing interface and registering custom cryptographic algorithms, enabling support for additional signing methods beyond the built-in set. The library handles token creation, signing, and verification, providing a complete pipeline for generating tamper-evident tokens and validating their integrity against configured keys and algorithms.

Features

  • JWT Signing and Verification - Creates and validates JSON Web Tokens with HMAC, RSA, ECDSA, or RSA-PSS cryptographic signatures.
  • Go JWT Libraries - Provides a Go library for signing, verifying, and managing token payloads with HMAC, RSA, and ECDSA algorithms.
  • Signed JWT Generation - Generates signed JSON Web Tokens using HMAC, RSA, RSA-PSS, or ECDSA algorithms.
  • Go JWT Libraries - Provides a Go library for creating and validating signed JSON Web Tokens using multiple cryptographic signing methods.
  • Python JWT Libraries - Provides a Go library for signing and verifying JSON Web Tokens with multiple cryptographic algorithms.
  • Signing Interfaces - Implements a pluggable signing interface that allows any cryptographic algorithm to be registered and used for token creation and verification.
  • JWT Parsing - Parses token strings and validates their signatures against known keys to ensure authenticity.
  • Claim Struct Embeddings - Provides a struct for embedding standard JWT claims that can be serialized to JSON.
  • Pluggable Cryptographic Backends - Allows adding new signing algorithms by implementing the signing interface and registering a factory method.
  • Token Authentication - Handles token-based authentication by encoding and decoding JWT claims with signature verification.
  • Token Signature Verification - Decodes token strings and validates their signatures against chosen cryptographic methods.
  • Token Signing Operations - Signs structured JSON payloads with cryptographic algorithms to produce tamper-evident tokens.
  • Typed Error Objects - Returns typed errors for common failure modes like invalid signature, expired token, or malformed input.
  • Cryptographic Signing Methods - Extends JWT functionality by implementing and registering new cryptographic signing algorithms through a pluggable interface.
  • Algorithm Registries - Registers cryptographic signing algorithms via a central map for name-to-implementation lookup.
  • ECDSA JWT Signers - Implements elliptic curve digital signature algorithm for compact asymmetric signing of JSON Web Tokens.
  • ECDSA Signing Implementations - Implements ECDSA for compact asymmetric signing of JSON Web Tokens.
  • RSA JWT Signing Implementations - Ships an RSA signing implementation with PKCS1v15 and PSS padding for JWT token creation and verification.
  • RSA Signing Implementations - Employs RSA with PKCS1v15 or PSS padding for asymmetric signing and verification.
  • JWT Integrity Validations - Validates signed JSON Web Token signatures and integrity using configured signing methods and keys.
  • Custom Algorithm Extensions - Adds new signing methods by implementing a provided interface and registering them with the library.
  • HMAC JWT Signers - Uses HMAC-SHA256/384/512 for symmetric signing and verification of JSON Web Tokens.
  • HMAC JWT Signers - Implements HMAC-SHA256/384/512 for symmetric signing and verification of JSON Web Tokens.
  • JWT Parsing Pipelines - Provides a pipeline that splits JWT strings into header, payload, and signature segments for validation.
  • Authentication and Authorization - Implementation of JSON Web Tokens.
  • Security Libraries & Tokens - JSON Web Tokens implementation.

Star history

Star history chart for dgrijalva/jwt-goStar history chart for dgrijalva/jwt-go

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does dgrijalva/jwt-go do?

jwt-go is a Go library for creating, parsing, and verifying signed JSON Web Tokens. It provides a pluggable signing interface that supports multiple cryptographic algorithms, including HMAC, RSA, ECDSA, and RSA-PSS, allowing tokens to be signed and verified with different security properties.

What are the main features of dgrijalva/jwt-go?

The main features of dgrijalva/jwt-go are: JWT Signing and Verification, Go JWT Libraries, Signed JWT Generation, Python JWT Libraries, Signing Interfaces, JWT Parsing, Claim Struct Embeddings, Pluggable Cryptographic Backends.

Which projects share features with dgrijalva/jwt-go?

Projects with overlapping indexed features include: authlib/authlib — Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect… lepture/authlib — Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and… jpadilla/pyjwt — PyJWT is a Python library for encoding, decoding, and verifying JSON Web Tokens (JWTs). It provides comprehensive JWT… golang-jwt/jwt — This project is a JSON Web Token implementation library and toolkit for encoding, signing, and validating tokens. It… jwt/ruby-jwt — This is a Ruby implementation library for encoding, decoding, and verifying JSON Web Tokens according to the RFC 7519… auth0/java-jwt — This is a Java library for creating and verifying JSON Web Tokens (JWTs), supporting multiple cryptographic signing…

Projects sharing features with Jwt Go

These projects share indexed features with Jwt Go. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • authlib/authlibauthlib avatar

    authlib/authlib

    5,346View on GitHub↗

    Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a unified set of tools to manage authentication and authorization flows, allowing applications to either act as a client connecting to external identity providers or as a provider issuing tokens and managing user identities. The project distinguishes itself through a full implementation of the JOSE standards, offering a suite of cryptographic tools for generating, signing, encrypting, and validating JSON Web Tokens, Signatures, Encryption, and Keys.

    Pythondjangoflaskjose
    View on GitHub↗5,346
  • lepture/authliblepture avatar

    lepture/authlib

    5,346View on GitHub↗

    Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a complete toolkit for identity management, spanning the development of authorization servers, resource servers, and client-side integrations. The library distinguishes itself through a full implementation of the JOSE specifications, including JSON Web Tokens, Encryption, Signatures, and Keys. It features specialized capabilities for non-interactive authentication via service account assertion frameworks and a compliance-correction layer designed to handle ide

    Python
    View on GitHub↗5,346
  • jpadilla/pyjwtjpadilla avatar

    jpadilla/pyjwt

    5,598View on GitHub↗

    PyJWT is a Python library for encoding, decoding, and verifying JSON Web Tokens (JWTs). It provides comprehensive JWT functionality including algorithm-agnostic signing and verification, supporting both symmetric HMAC shared-secret cryptography and asymmetric RSA/ECDSA public-key cryptography for flexible trust models. The library implements a claim-based validation pipeline that checks issuer, audience, expiration, and other time-based claims during token decoding, with configurable clock skew tolerance for distributed systems. It requires callers to explicitly specify allowed signing algori

    Pythonhacktoberfestjwtpython
    View on GitHub↗5,598
  • golang-jwt/jwtgolang-jwt avatar

    golang-jwt/jwt

    8,908View on GitHub↗

    This project is a JSON Web Token implementation library and toolkit for encoding, signing, and validating tokens. It provides the necessary functions to manage token claims and payloads for user authentication and authorization. The library supports both symmetric and asymmetric cryptography, allowing for the use of shared secrets or public-private key pairs. It enables the creation of signed tokens and the verification of their authenticity and integrity to prevent data tampering. The toolkit covers a broad range of identity and access control capabilities, including the embedding of custom

    Goauthed25519go
    View on GitHub↗8,908
Compare all 30 related projects→