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

Unable to upgrade the go version #182

Open
lakshya-chopra opened this issue Oct 22, 2024 · 2 comments
Open

Unable to upgrade the go version #182

lakshya-chopra opened this issue Oct 22, 2024 · 2 comments

Comments

@lakshya-chopra
Copy link

Hello,

I'm trying to integrate PQ-TLS into an application that requires Golang version 1.23.0 or higher due to certain dependencies. However, during the build process of this modified golang, the version I end up with is always 1.22.5-devel-cf. I tried to set GOROOT_BOOTSTRAP to a valid Go working tree (version 1.23.0), but this didn't resolve the issue.
Is there a way to work around this?

@bwesterb
Copy link
Member

At the moment this fork is based on Go 1.22. We plan to rebase on 1.24 when that comes out. (The reason we skip 1.23 is that it comes with its own partial Encrypted ClientHello implementation.) Upstream Go 1.23 support X25519Kyber768 btw by default.

@lakshya-chopra
Copy link
Author

lakshya-chopra commented Oct 22, 2024

Hello @bwesterb ,
While it's true that the upstream go 1.23 does support X25519Kyber768, it doesn't support Post Quantum Signature algorithms unlike this fork. However, I did find a workaround for this (which obviously is not very practical & just a temporary solution) - I copied the src/crypto & src/vendor/ directories from this fork to a standard go 1.23 release & apparently it did work. Now I'm not sure whether it would pass all the test cases, but since our use-case is still in development, it allows us to do some initial testing of the project.

Thank you for your efforts.

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

2 participants