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

PGPKeyGeneration #20

Closed
vanitasvitae opened this issue May 11, 2018 · 4 comments
Closed

PGPKeyGeneration #20

vanitasvitae opened this issue May 11, 2018 · 4 comments

Comments

@vanitasvitae
Copy link
Contributor

vanitasvitae commented May 11, 2018

Hi!
Do you consider adding code to generate PGPKeys?
I'm currently trying to generate my own PGPKeys using BouncyCastle, but fail to use them in the process of encryption due to "No suitable keys found".

Apparently the keyflags on the keys I generate are always 0.
(Edit: I already found a solution to the keyflags issue, now using my keys in bouncy-gpg works fine.)

Do you plan to add a keygenerator api in the future?

@neuhalje
Copy link
Owner

At the moment my spare time is quite limited. So this is not a "no" but a "not now" :-/.

I would gladly merge a key generation though!

@vanitasvitae
Copy link
Contributor Author

I created a first design of an API for key generation. Right now only RSA keys are really supported though. In the process I discovered that the plaintext export of secret keys is apparently broken in BC 1.59.

Still, you might want to take a look and give some feedback if you like :)

@neuhalje
Copy link
Owner

@vanitasvitae : I'll be on vacation for the next few days -- I'll come right back to this!

@neuhalje
Copy link
Owner

Duplicate of #23

@neuhalje neuhalje marked this as a duplicate of #23 Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants