PostQuantum.Jwt.Templates
1.0.0
dotnet new install PostQuantum.Jwt.Templates@1.0.0
PostQuantum.Jwt.Templates
dotnet new templates for PostQuantum.Jwt —
scaffold a runnable starting point that signs with ML-DSA-65 and validates
fail-closed.
Production-oriented preview for controlled issuer/verifier systems — not independently audited, not a drop-in OAuth/OIDC/JWT replacement. See the library's
KNOWN-GAPS.md.
Install
dotnet new install PostQuantum.Jwt.Templates
Templates
| Short name | What you get |
|---|---|
pqjwt-webapi |
A minimal ASP.NET Core API that issues and validates post-quantum JWTs via AddPqJwtBearer, with a JWKS-equivalent key directory. |
pqjwt-console |
A console app that signs a token and validates it fail-closed. |
Use
# ASP.NET Core API
dotnet new pqjwt-webapi -n MyApi
cd MyApi && dotnet run
# console
dotnet new pqjwt-console -n MyApp
cd MyApp && dotnet run
The scaffolded projects reference the published PostQuantum.Jwt NuGet package.
Runtime note. The native ML-DSA / ML-KEM primitives require OpenSSL 3.5+ at runtime. The projects compile anywhere; they run where a recent OpenSSL is available.
For the full set of worked examples (refresh-token rotation, a distributed
replay cache, a Blazor playground, cross-service key rotation, and more), see the
samples/
directory in the repository.
Uninstall
dotnet new uninstall PostQuantum.Jwt.Templates
To God be the glory — 1 Corinthians 10:31.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 129 | 6/30/2026 |
| 1.0.0-preview.10 | 133 | 6/6/2026 |
| 1.0.0-preview.9 | 113 | 6/6/2026 |
| 1.0.0-preview.8 | 113 | 6/5/2026 |
| 1.0.0-preview.7 | 112 | 6/5/2026 |
| 1.0.0-preview.6 | 116 | 6/4/2026 |
| 1.0.0-preview.5 | 108 | 6/3/2026 |
| 1.0.0-preview.3 | 120 | 6/2/2026 |
| 1.0.0-preview.2 | 121 | 6/2/2026 |