-
Notifications
You must be signed in to change notification settings - Fork 3
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
Give example of key generation with saving keys #12
Comments
Did you mean you want an example added to the repo? |
Both 😉 Thank you @dewyatt ! |
Is it possible to use keys generated via Something like this? rnp.load_keys(format: 'raw', input: Rnp::Input.from_XXX)
enc = rnp.start_encrypt(
input: Rnp::Input.from_string(plaintext),
output: Rnp::Output.to_null
) |
Oh, I see that by default |
In particular, is it possible to only |
I would like to get rid of
Yes, but not with the |
Indeed |
I wouldn't expect it to so that would probably be a bug. |
Actually it works. Not sure what I did last night, probably just too late 👍 |
It could be that you followed my bad advice and used |
You're probably right. I didn't try saving today 😉 |
I think the example should show key generation, key save (in GPG/KBX/ASCII) formats and a key load. @dewyatt does it make more sense that we utilize a Key model on the Ruby side to manage such functionality? |
I'd like to see something like this, couldn't figure out how to save generated keys in GPG or KBX formats...
The text was updated successfully, but these errors were encountered: