forge icon indicating copy to clipboard operation
forge copied to clipboard

added ability to save ed25519 in pem such that openssl understands it

Open sigsegv0x0b opened this issue 3 years ago • 5 comments

sigsegv0x0b avatar Mar 07 '21 18:03 sigsegv0x0b

Cool this will be really useful. Any notes for the MR itself?

CMCDragonkai avatar Mar 21 '21 07:03 CMCDragonkai

Cool this will be really useful. Any notes for the MR itself?

No specific notes, I can answer questions if you have any, I added a ED25519.md readfile file showing how to use this.

sigsegv0x0b avatar Mar 24 '21 15:03 sigsegv0x0b

What's preventing this from merging?

CMCDragonkai avatar Mar 24 '21 15:03 CMCDragonkai

I don't own the forge repo, the original owner has to review code and decide if it's worth merging

On Wed, Mar 24, 2021, 11:41 AM Roger Qiu @.***> wrote:

What's preventing this from merging?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/digitalbazaar/forge/pull/851#issuecomment-805932591, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVIWPQY6TP5ZZYKKHAUIB3TFIBZLANCNFSM4YYEET7A .

sigsegv0x0b avatar Mar 24 '21 15:03 sigsegv0x0b

Hi, just a note that I forked this pull request into my own repository here : https://github.com/dugrema/forge/tree/ed25519

I added support for creating EdDsa25519 PEM Certificate Requests and signing them into certificates. I also added support to load and save PEM private keys (encrypted or not) that openssl can use.

I'm using these EdDsa25519 private keys, certificates and CSR back and forth with python cryptography 3.1 (openssl 1.1.1f) on Ubuntu and some Raspberry Pis (32 and 64 bit). Been working ok for a week or so, I use them on RabbitMQ, nginx and MongoDB for authentication.

So whenever this pull request goes through, I'd be interested in making my changes more robust. I really just hacked my way through making this work, I don't know much about ASN1. Right now this is just dev proof of concept stuff.

dugrema avatar Jan 19 '22 19:01 dugrema