Skip to content
Novus Examples
json1.7 KB

SAMPLE JWK — RSA Private Key

The full RSA private key as a JWK, including the CRT parameters p, q, dp, dq and qi. It is the input for testing JWK-to-PEM conversion, where dropping the CRT values quietly costs a large amount of signing performance.

Preview — first 15 linesjson
{
  "kty": "RSA",
  "use": "sig",
  "alg": "RS256",
  "kid": "novus-p7-rsa-2026",
  "n": "vFQ-FKvpOhgmcptUhCZk9Qi_Lc9ginBBdHVVfX7GBD1Lre3h2zBK0ZuqzKhrXjag-hMcyRVolyoPnfpCGmn-Jr2QtPAE0UjuG07wWf1I6dhg7dPHjkeWAEzDqT2tb244jnYKVPVzTj7X6L3BUveZfFiKqzGZp2peQSJ56Coe13XSRdtDUtoG1VYu50Ps9QJR6oKv9b0ujuKc7dhL_ea6vWrcgVLggKj02auQehLqZ8HOasmxPpr_LW0kcEwCShbHPc2qkgZ7YqNocxbSB9AdO1Fn3GRVAcY1huI3nLPQ4xL7bzmiinyEac0nPRfcyzIrtZI_3LHaNrW7lSbMWX-9tw",
  "e": "AQAB",
  "d": "Dz_YXF7PM8pg0pw2lmdwJVHf_nBG-5lmCMK3eWyafB1lKLWVDuU01GQrywaYKw4hWskmu4w65oKcC8ldMOZZk1QmM4B742EUZqxYVJu9xlxO_PL5EFGbmR_zd_DBP79HtRa5yhyrNDAX1jCx8Ws7HREjqVkK0r46LkFXEwWAxHwSS1qEHHZVg9ydIhLUQEGcVFnE3wEd8an5sWhZnoR2BOTLK5l8uCJxq7XLsbDCBMZZq0HUcRMH7c1U_REoKsTv6g0wUrsoQqyQNWypUY9zO5au2XlirikWa3koKJ1O_6yLWKI3X1wlslN2VpPIJecNTXaJ9LQa_oBF2aQCGbmLgQ",
  "p": "3ST1lXzxf6FCplBzJe_0w20zIUleIl9PmVSKMKHalchYTbt4QGTWTMLv8H5nm7FlbjBLWo5-Rgs__KjMMcLycKaFlCarwFKaRRsoPmLX8OGxaH37iDXW-Mji5XfxeqeG-8TKcIlGujqEoFL-JGtguVLOeS-k9HwsKb3xSoKJoZ0",
  "q": "2gM0sRnXtYmmZWd6BinRxgh3P8cY9KN8VuzTG0kZ0ajone8NbJK6xUBPdvh-4BHO8YSNRpiYjuX5kEAgn5Us0_AvZvQxCN4ljssXCAYO1yubYJ2P1fPCw1caawPR69yQ3r2XVOttomEDKAGKN0OOI_PyPosundHr5oYz6WDR1mM",
  "dp": "UFAQ5IZoylpNc0s6VmfL84FgFVGo30DQDrZ2LW1KjiUhdLGF3ZUBgwU00JmHlTKazKa7Zxri3xtM1LyU0-mh1KmVT5WvwHv_TOOs_OM222OL45AFXpV3Cgki5gVmbI4U5rC0eKRSTGXeLr-VTrK0gPmCxN45wRSrkUlLLS01QL0",
  "dq": "aPI6HzbNe_ozO4VAXE8tSCMzJGR3QuygIkgGp4_c-exRbhVxZN6NQf7fQeoFSV_JOsIQL_etGLzkEeiMy8VHuw5YAztxj09AzSg-ggJIipPXS_8NCnU5QEdh1DoWh2-53T9u5dYfBJemqU90dX3zoqL_7dOaMSaoZGQeAS42VPk",
  "qi": "bMBv0EDYR0Zc75ZdVN0FadEGb0C8xu_GCSigOAG7-c29YKUdhMQ3mC1f8eWLpApznbQsJVV3hR6mPIjDHy_GTJjDQbbocnB3rZhZN_QKz45Wr8mCsNuBH6y8cqPTEZjg_h0a-v2fwEmgbjtdxbuQ7jp6MaR43XTVHkO0bAdy7fw"
}

Specifications

Kty
RSA
Bits
2048
Private
true
Members
n, e, d, p, q, dp, dq, qi
Warning
published sample key — never use for a real identity
Sample Only
true
Seed
70117

Testing contract

Expected to pass
Scenario
Convert the JWK to a PEM private key and compare it with the shipped PKCS#8 file.
Expected result
The converted key matches the PKCS#8 file byte for byte, including all five CRT parameters.

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 — RSA 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-rsa-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.