Skip to content
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

Ability to decode a private key entry #18

Closed
Fi5t opened this issue Oct 23, 2020 · 9 comments
Closed

Ability to decode a private key entry #18

Fi5t opened this issue Oct 23, 2020 · 9 comments

Comments

@Fi5t
Copy link

Fi5t commented Oct 23, 2020

Does this library have the ability to decrypt a private key entry? I haven't found nor examples and docs about it.

@pavlo-v-chernykh
Copy link
Owner

@Fi5t
Copy link
Author

Fi5t commented Oct 23, 2020

That example uses only "storepasswd" (in keytool terms). I want to use "keypasswd" also. Is it possible?

@pavlo-v-chernykh
Copy link
Owner

Unfortunately, this feature not supported :(

@Fi5t
Copy link
Author

Fi5t commented Oct 24, 2020

@pavel-v-chernykh thank you for the answer. It would be cool to add this feature =)

@pavlo-v-chernykh
Copy link
Owner

pavlo-v-chernykh commented Oct 26, 2020

@Fi5t I have implemented the decryption of private key entries with the custom key password. Version v3.1.0. Please, check does it work for you. Example keypass

@Fi5t
Copy link
Author

Fi5t commented Oct 26, 2020

Oh, good work! API is a bit strange, but it works excellent. Thank you a lot!

@Fi5t Fi5t closed this as completed Oct 26, 2020
@pavlo-v-chernykh
Copy link
Owner

@Fi5t I'm glad to help!
Thanks for your interest in the project!
Totally agree about API. Did it that way to keep backward compatibility with v3.
Have plans to rework the API in v4.

@pavlo-v-chernykh
Copy link
Owner

@Fi5t I've released v4. The main idea behind this version to reproduce a minimal viable part of the original Java KeyStore API as close as possible. Hope you will find it more usable. Feedback is welcome.

@Fi5t
Copy link
Author

Fi5t commented Oct 31, 2020

@pavel-v-chernykh thanks! I'll review it in the comming days.

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

No branches or pull requests

2 participants