Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

solution for pkcs12 parsing #137

Open
ababkin opened this issue Feb 16, 2017 · 1 comment
Open

solution for pkcs12 parsing #137

ababkin opened this issue Feb 16, 2017 · 1 comment

Comments

@ababkin
Copy link

ababkin commented Feb 16, 2017

Hi

I'm very new to the field of crypto so please take it easy on me if i ask dumb questions, i'm here to learn :)
I'm however not new to haskell, so hopefully my questions will make some sense.

I've noticed there is no solution for parsing pkcs12 in haskell land except for this repo (https://github.com/tkawachi/pkcs12-hs), which claims it's not working yet and looks to be abandoned.

I discovered cryptonite and it seems to satisfy my crypto needs except for the pkcs12, which seems not to be a part of cryptonite
I need an ability to parse pkcs12 and I know that i can do this using external languages/tools, but i'd like to do this in native haskell. I'm curious if anyone can give me an advice as to how I can move forward.
I have no problems with rolling up my sleeves and work on the abandoned repo and create a working solution out of it or even start from scratch, but i can't help but wonder whether there is a more efficient way.

If anyone has any info on this, please chime in

Thanks
Alex

@ocheron
Copy link
Contributor

ocheron commented Feb 16, 2017

Such a feature would be better in a higher-level package than cryptonite (because it's a file format with a dependency on ASN.1)

For example package x509-store has an API for reading certificates and keys in PEM format, but no support for encrypted keys yet.

Your question is also related to haskell-tls/hs-tls#98.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants