Giter VIP home page Giter VIP logo

exp2nam's Introduction

This program converts an elliptic curve private key from using explicit
parameters to using a named curve. The OpenSSL command line tools do not
support doing this.

I knew enough about the key format to know that this was theoretically
possible and decided to write a tool that does it. This builds against
OpenSSL 1.0.x and OpenSSL 1.1.x. I may try to get this integrated into the
OpenSSL command line tools some day.

The program supports input in both PEM and DER format. The program will
output to whatever format the input was in. If the input was DER the output
must be redirect, the program will not print binary data to your terminal.

Why would you want to do this?

Well CentOS/RHEL 6's OpenSSH package has slightly broken backported ECDSA
support.  Specifically it generates private keys with explicit parameters
instead of named curves. Stock OpenSSH only supports keys with named curves. I
didn't want to regenerate one of my server's SSH hostkeys after upgrading.
I'm sure other use cases exist.

Also yes, this repository delibrately contains private key material.
I generated 3 ECDSA SSH keys on a CentOS 6 host for test purposes. These
keys have never been used and exist to confirm that this program works.

exp2nam's People

Contributors

nuxi avatar

Watchers

 avatar  avatar  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.