-
Notifications
You must be signed in to change notification settings - Fork 118
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
export individual public or private key? #8
Comments
k.export_public() is not ok ? |
k.export_public() is ok. Thanks - should learn not to trust the doc and look at the code before asking Qs ;-) |
If it is not doc-ed that's a bug ... indeed it is. |
Reopening, will use to track doc bug. |
Appreciate the near instant, real-time support! On Tue, Jun 30, 2015 at 10:26 AM, simo5 notifications@github.com wrote:
|
Not sure if it's a bug, but the exported public key lost the kid-attribute that was set on the generated key-pair. |
It's a bug. |
Fixed with 9d52a18 |
When I generate a key-pair with:
I'd like to "export" the public key in json format to communicate it to other parties. My understanding from reading the example code and API was, that I could possibly do that with:
but that doesn't work: "AttributeError: '_EllipticCurvePublicKey' object has no attribute 'export'"
Couldn't find any explicit example of this in the test code. Maybe I am missing something?
Thanks for the help - Frank.
The text was updated successfully, but these errors were encountered: