JwtDecoder

1.1.0

Offline JSON Web Token decoder and signature verifier. Never makes network calls. Sensitive buffers are zeroed before release. Guards against the JWT algorithm-confusion attack. Cmdlets: ConvertFrom-JsonWebToken, Test-JsonWebTokenSignature, Get-JsonWebTokenClaim.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name JwtDecoder -RequiredVersion 1.1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name JwtDecoder -Version 1.1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) JwtDecoder contributors. All rights reserved.

Package Details

Author(s)

  • JwtDecoder contributors

Tags

JWT JsonWebToken Security Crypto Offline HMAC RSA ECDsa

Cmdlets

ConvertFrom-JsonWebToken Test-JsonWebTokenSignature Get-JsonWebTokenClaim

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

1.1.0
- New cmdlet Get-JsonWebTokenClaim for one-shot retrieval of specific claim(s) by query path.
- Path syntax: dot/bracket notation (e.g. payload.sub, header.alg, payload.roles[0]).
- Bare names default to payload.<name>; explicit header./payload. prefix overrides the scope.
- Quoted segments allow claim names containing dots or other special characters: payload."x5t#S256".

1.0.0
- Initial release.
- Cmdlets: ConvertFrom-JsonWebToken, Test-JsonWebTokenSignature.
- Supports HS256/384/512, RS256/384/512, PS256/384/512, ES256/384/512.
- Algorithm-confusion guard (refuses PEM as HMAC secret).
- Private-key PEM refused for verification.
- Sensitive buffers zeroed on dispose.
- Fully offline; no network calls.

FileList

Version History

Version Downloads Last updated
1.2.2 7 6/16/2026
1.2.1 7 6/16/2026
1.2.0 6 6/16/2026
1.1.0 (current version) 6 6/16/2026
1.0.1 9 6/13/2026
1.0.0 6 6/13/2026
Show more