Skip to content
Novus Examples
jwt469 B

SAMPLE JWT — EdDSA, Bad Signature

The EdDSA token with one bit of its signature flipped. Ed25519 verification either succeeds or fails with no partial credit, which makes this the cleanest possible negative case.

Preview — first 2 linesjwt
eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6Im5vdnVzLXA3LWVkMjU1MTktMjAyNiJ9.eyJpc3MiOiJodHRwczovL2lzc3Vlci5wa2kuc2FtcGxlLmV4YW1wbGUvIiwic3ViIjoidXNlci1zYW1wbGUtMDAwMSIsImF1ZCI6Im5vdnVzLXA3LXNhbXBsZS1hcGkiLCJpYXQiOjE3NjcyMjU2MDAsIm5iZiI6MTc2NzIyNTYwMCwiZXhwIjoyMDgyNzU4NDAwLCJqdGkiOiJub3Z1cy1wNy1zYW1wbGUtMDAwMSIsIm5hbWUiOiJTYW0gUml2ZXJhIChTQU1QTEUpIiwic2NvcGUiOiJyZWFkOnNhbXBsZSJ9.MS4shQtLznXs9iLmUlQfrFcKxC_F5ZH14pEcjsxZ2K8uA74zC9Qb9-kIkUXXVhbeX7eRYg60hs35bYkc5FskAQ

Specifications

Alg
EdDSA
Curve
Ed25519
Kid
novus-p7-ed25519-2026
Issue
final signature byte flipped
Valid
false
Sub
user-sample-0001
Sample Only
true
Seed
70117

Testing contract

Expected to fail
Scenario
Verify this token and its valid EdDSA twin with the same OKP key.
Expected result
The twin verifies and this token fails; both decode to identical header and payload segments.

What is a .jwt file?

A JWT (JSON Web Token) is a compact, URL-safe token made of three base64url-encoded parts — a header, a payload of claims, and a signature — separated by dots. It is widely used to carry authentication and authorisation claims between services.

How to use this file

Use a sample JWT to test token decoding, claim extraction, and signature verification. Never use an example token's secret in production.

How to use this file for testing

“SAMPLE JWT — EdDSA, Bad Signature” is a deterministic Novus Examples fixture for JWT / JWKS testing, Error handling. Unsigned and SAMPLE-signed JWT variants plus JWKS documents — published sample material only, for auth parser tests.

Documented properties for this file: seed 70117 · intentionally invalid. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

This is published, SAMPLE-only security material — never a real secret. Point certificate, key, or token parsers at it, test PEM/DER decoding and PKCS handling, and confirm your tooling reads the documented fields; any sample password is printed on this page.

These JSON fixtures are synthetic SAMPLE auth or tool-call shapes for harnesses — never production secrets or live tokens. Validate schema fields and alg variants against the documented role.

Code examples

cut -d. -f1 jwt-eddsa-bad-signature.jwt | base64 -d; echo
cut -d. -f2 jwt-eddsa-bad-signature.jwt | base64 -d; echo    # payload claims

Generated by generation/security_p7.py. Free for any use, no attribution required — license.