-
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
Write introductory post #9
Comments
@dewyatt, here are a few questions about rnp covering some info needed for a decent introductory post:
Feel free to reply here—alternatively, a call might be a good way to deal with this without adding to your TODO list, though it’d block about 15 minutes off your calendar. In that case the above items would constitute the majority of call’s agenda. |
|
I think Ronald answered everything better than I would have. 👍 |
Thanks @ronaldtse & @dewyatt. Here’s more, could you answer each point individually please
|
@strogonoff
Weak and weaker algorithms (like MD5, SHA1, IDEA, Triple DES, ElGamal signatures) are supported for backward compatibility with older implementations (say, to be able to decrypt file encrypted 15 years ago). |
Sweet, thanks! Cipher support looks comprehensive compared with other maintained competitors. Just a few more questions left I think.
|
I can try to answer some:
|
Thanks, @dewyatt . I would add some notes:
Maybe @ronaldtse would like to add something to this list as well. |
|
Regarding Ruby bindings, what would be a most minimal step-by-step example of (what I assume to be) a typical use case: generate a key[pair] -> encrypt a message -> decrypt a message? Algorithm is not important—let’s assume a cipher that’d typically be used in secure P2P messaging :) I suppose it would be a variation of below but I’d like to check for correctness or whether this is a valid supported use case (if not then maybe it’s something concerning password manager/key manager). require 'rnp'
rnp = Rnp.new
key = rnp.generate_key(…)
rnp.load_keys(…)
plaintext = "Hello!"
ciphertext = rnp.encrypt(plaintext)
ciphertext_decrypted = rnp.decrypt(ciphertext)
ciphertext_decrypted == plaintext |
Would be good to mention the good practices as to how to store keys with RNP as well. |
I really have nothing to say on this, I don't mean to ignore the question. |
No worries, moving further questions to PR with post copy |
No description provided.
The text was updated successfully, but these errors were encountered: