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

Add pyca/cryptography backend #303

Open
11 tasks
tomato42 opened this issue Aug 1, 2018 · 4 comments
Open
11 tasks

Add pyca/cryptography backend #303

tomato42 opened this issue Aug 1, 2018 · 4 comments
Labels
complex Issues that require good knowledge of tlslite-ng internals or cryptography enhancement new feature to be implemented help wanted

Comments

@tomato42
Copy link
Member

tomato42 commented Aug 1, 2018

https://github.com/pyca/cryptography provides a lot of algorithms we use. Implement backends to those algorithms:

in general, it would be nice to first implement #309, so that we can see if and when the backends are used (and if use of them is not counter-productive – while using code that is side-channel secure but is, say, 2 times slower than the alternative side-channel insecure code is most-likely ok, using secure code that is 10 times slower, is not a good trade

checking if it works with version of pyca/cryptography present in CentOS/EPEL would also be nice in travis

@tomato42 tomato42 added enhancement new feature to be implemented help wanted complex Issues that require good knowledge of tlslite-ng internals or cryptography labels Aug 1, 2018
@tomato42 tomato42 added this to the someday/future milestone Aug 1, 2018
@HMaker
Copy link

HMaker commented Feb 2, 2022

Is this being worked on? Really all cryptographic tasks should be delegated to other libraries since this project core is the TLS protocol.

@tomato42
Copy link
Member Author

tomato42 commented Feb 2, 2022

it's not, and while the core of the project is TLS, the second goal is portability, which we don't get by depending unconditionally on other libraries

@HMaker
Copy link

HMaker commented Feb 2, 2022

TLSLite has defined interfaces for all these algorithms? What is the integration complexity?

@tomato42
Copy link
Member Author

tomato42 commented Feb 2, 2022

yes, it has interfaces for most of them

What is the integration complexity?

Not very high, here's an example of using M2Crypto for aes-cbc: https://github.com/tlsfuzzer/tlslite-ng/blob/master/tlslite/utils/openssl_aes.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complex Issues that require good knowledge of tlslite-ng internals or cryptography enhancement new feature to be implemented help wanted
Projects
None yet
Development

No branches or pull requests

2 participants