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

RSA public key cryptography #12

Open
Ranguna opened this issue Jul 13, 2016 · 3 comments
Open

RSA public key cryptography #12

Ranguna opened this issue Jul 13, 2016 · 3 comments

Comments

@Ranguna
Copy link

Ranguna commented Jul 13, 2016

I'd like to request the option to use RSA public key scheme which would be compatible with python cryptography library.
I'm currently developing an app in which the client needs to be programmed in Lua and the server in python, the server is using the cryptography lib and the client needs to safely communicate with the server through RSA scheme.

@somesocks
Copy link
Owner

RSA is definitely on the wish list, but I'm afraid I'm out of free time for a while. I'll update when I've had a chance to look into it.

@Ranguna
Copy link
Author

Ranguna commented Jul 19, 2016

I'll right, awesome !
I love this library and I hope you keep working on it, you have my full support 👍

@atticus-sullivan
Copy link

Thought about starting to implement RSA today. I think the biggest problem with this is that RSA converts the plaintext to an integer and we'll need bigInts (range of lua's number most probably won't suffice) for that. Not quite sure if implementing bigInts in this lib or using a lua bigInt lib (creating a dependency) is a better choice.

In addition RSA isn't a block chiffre and thus doesn't fit that well into this whole cbc/ctr/... mode framework I think.

Apart from these two issues (and the question whether key generation is in scope of this lib as it is somewhat more special as in the symmetric cases) implementing RSA shouldn't be too hard.

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

3 participants