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

Build oqs-provider with only kyber tls key exchange functionality #566

Open
fwh-dc opened this issue Nov 8, 2024 · 5 comments
Open

Build oqs-provider with only kyber tls key exchange functionality #566

fwh-dc opened this issue Nov 8, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@fwh-dc
Copy link
Contributor

fwh-dc commented Nov 8, 2024

Hi,

Is it possible to configure the build to only include kyber (+hybrids) tls keyexchange functionality?

Regards,
Frederik

@fwh-dc fwh-dc added the question No code change required label Nov 8, 2024
@Hawazyn
Copy link

Hawazyn commented Nov 17, 2024

Please see Minimal Build - OQS for guidance on configuring the build.

@baentsch
Copy link
Member

Beyond the correct answer above for building a minimal liboqs also oqsprovider itself can be configured to carry fewer algorithms: See here. But it may be an interesting experiment to see how the build logic behaves if only providing a minimal liboqs as per the proposal be @Hayyaaf ... Ideal would be if it automatically skips algorithms unavailable in the library build. Feedback (or improvements if it fails) would be welcome!

@fwh-dc
Copy link
Contributor Author

fwh-dc commented Nov 22, 2024

I haven't had the time to test it yet, but thanks for the suggestions!

@baentsch baentsch added help wanted Extra attention is needed and removed question No code change required labels Nov 22, 2024
@Hawazyn
Copy link

Hawazyn commented Nov 25, 2024

it may be an interesting experiment to see how the build logic behaves if only providing a minimal liboqs as per the proposal be @Hayyaaf ...

‎‏I successfully built liboqs as I proposed earlier. The build and installation completed without any issues. However, the tests from the ./scripts/runtests.sh script in the oqsprovider repository failed.

‎‏Nothing seems particularly weird in the logs, and I’ve tried several algorithms during testing. Interestingly, Wireshark only captured the algorithms configured in liboqs.

‎‏Let me know if you’d like me to share more specific details or perform further experiments.

@baentsch
Copy link
Member

Well, if you think something's broken, please create a bug report (how to reproduce, what's expected vs. what's actually happening).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants