-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private key from GOST format #275
Comments
You'd have to implement the GOST cipher. Per the wikipedia article, it appears that it is not fully defined by its standard, so even once implemented, you may still find there's an incompatibility with whatever data you're working with. |
I'm also interested in that problem. @makenti, do you mean extract GOST private key from pkcs#12 file or something else? AFAIK, ASN.1 format is just JSON-like format, i.e sequence-bla-bla-bla, integer:bla-bla-bla, and each key-cert container with different algorithm has own structure because even private and public keys are different (GOST~ECDSA, public key is point (x,y) , RSA public key modulus and exponent, not curve point). So, you should fork forge project and write own GOST-container parser, looking for forge RSA keys container parser as reference implementartion. I really don't understant, why dlongley tells about GOST cipher implementation - probably, some values inside key-certificate container encrypted with GOST. May be I understand your question incorrectly. But if you want to parse key container, rewrite parser, not cipher. |
hello @BaurzhanSakhariev. thx for your advice. I will write to your email for detail information. |
Closing as potentially resolved, also, no plans to implement GOST in forge. |
@dlongley Still no plans to implement GOST? |
How to extract private key from certificate in GOST (https://en.wikipedia.org/wiki/GOST_(block_cipher)) format?
The text was updated successfully, but these errors were encountered: