Code Monkey home page Code Monkey logo

rfc9500's Introduction

Public Key Cryptography Test Keys

GitHub License

RFC 9500 proposes a set of standard test keys. This repository presents the private and public keys, in different format to ease consumptions.

Table of Content

RSA Keys

testRSA1024
private pem
public pem
testRSA2048
private pem
public pem
testRSA4096
private pem
public pem

DLP Keys

testDLP1024
private pem hex
public pem hex
testDLP2048
private pem hex
public pem hex
testDLP4096
private pem hex
public pem hex

ECDLP Keys

testECCP256
private pem hex
public pem hex
testECCP384
private pem hex
public pem hex
testECCP521
private pem hex
public pem hex

Security considerations

This software has not been audited. Please use at your sole discretion. With this in mind, dee security relies on the following:

  • RFC 9500 holds the source cryptographic material, and more.

FAQ

Should I use this in production

NO. At the same time, this repository might allow you to detect such usages.

How do I get a test certificate

For local development, have a look at mkcert. If you want to generate a fresh certificate with one of the RFC provided test key, use the following

# Select a PEM formated key in this repository
KEY=./pem/testRSA1024.pem
# Generate a Certificate Signing Request
openssl req -new -key "${KEY}"  -out example_test.csr
# Generate the associated certificate
openssl x509 -req -in example_test.csr -signkey ./pem/testRSA1024.pem -out example_test.crt

Development

Requirements

Run

All development happens in generate.sh. The initial private key in PEM format have been taken from RFC 9500, along with their recommended name. The script has then been run to generate public keys, and hex encoded keys.

./scripts/generate.sh

rfc9500's People

Contributors

thibmeu avatar somay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.