From: "Микола Стрєбков" <nick@mykola.org>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] PEM to Cryptokit
Date: Tue, 28 Dec 2010 04:45:31 +0200 [thread overview]
Message-ID: <E2D1EBD7-190C-4141-A1B9-6E4B5CEFBE09@mykola.org> (raw)
Hi, list
I had to convert a private key in PEM format to Cryptokit.RSA.key. First of all, I found pem2cryptokit from oauth project: http://code.google.com/p/ooauth/source/browse/trunk/pem2cryptokit.c. But it didn't work (see issue@googlecode reported).
So, I wrote my own variant: https://gist.github.com/756823.
Comments and suggestions are welcomed.
--
Mykola Stryebkov
Public key: http://mykola.org/pubkey.txt
fpr: 0226 54EE C1FF 8636 36EF 2AC9 BCE9 CFC7 9CF4 6747
next reply other threads:[~2010-12-28 2:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 2:45 Микола Стрєбков [this message]
2010-12-28 10:54 ` [Caml-list] " Sylvain Le Gall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E2D1EBD7-190C-4141-A1B9-6E4B5CEFBE09@mykola.org \
--to=nick@mykola.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox