Skip to content
Novus Examples
json215 B

SAMPLE JWK — Ed25519 Private Key

An OKP-type JWK holding the Ed25519 key pair as raw 32-byte x and d values. OKP is the newest JWK key type and the one older JOSE libraries reject outright.

Preview — first 10 linesjson
{
  "kty": "OKP",
  "use": "sig",
  "alg": "EdDSA",
  "kid": "novus-p7-ed25519-2026",
  "crv": "Ed25519",
  "x": "gx7PZIbpm1_BzWSP9mJciBu6j1xkyVUqXgQcg7r-RBA",
  "d": "3js1J8VHazLGo1gSqcxCbQQAeuaNi74HT7QaxsfP2CU"
}

Specifications

Kty
OKP
Crv
Ed25519
Private
true
Members
x, d
Warning
published sample key — never use for a real identity
Sample Only
true
Seed
70117

Testing contract

Expected to pass
Scenario
Load the JWK in the JOSE library under test and sign the p7 EdDSA signing input.
Expected result
The library recognises kty OKP with crv Ed25519 and produces the same signature as the shipped EdDSA token.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“SAMPLE JWK — Ed25519 Private Key” is a deterministic Novus Examples fixture for JWT / JWKS testing. Unsigned and SAMPLE-signed JWT variants plus JWKS documents — published sample material only, for auth parser tests.

Documented properties for this file: seed 70117. 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

import json

with open("jwk-ed25519-private.json") as f:
    data = json.load(f)
print(type(data), len(data))

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