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

implement kyber (liboqs) ciphers for Coze #23

Closed
GonzRon opened this issue Jul 19, 2023 · 3 comments
Closed

implement kyber (liboqs) ciphers for Coze #23

GonzRon opened this issue Jul 19, 2023 · 3 comments

Comments

@GonzRon
Copy link

GonzRon commented Jul 19, 2023

post quantum crypto ftw?

@zamicol
Copy link
Contributor

zamicol commented Jul 19, 2023

Supporting quantum-safe cryptographic signing algorithms is a good idea.

I should probably get document written up on what supporting a new signing algorithm entails. Some aspects on the top of my head:

  1. Implementations of the primitives should be production ready for Coze. CozeX is the place for not-production ready implementations. (For example, liboqs states that it is not production ready)
  2. The primitives should be implemented in CozeX first, and then after testing/adoption be moved into Coze.
  3. The Go version should have a pure Go implementation of algorithm primitives. Similarly, a C implementation of Coze should use the C implementation. (The only new dependencies Go Coze should have is for algorithm primitives.)
  4. Signing algorithms need to specify a partner hashing algorithm. SPHINCS specifies hashing algorithms (The SHA2 and SHAKE of corresponding size). I'm not sure if there's a standard choice for hashing algorithm for Dilithium2, Dilithium3, Dilithium5, although they use SHAKE and SHA3. It appears Falcon is using SHAKE-256.

I'm not sure if Coze is currently a good fit for Kyber as it is a key encapsulation mechanism (KEM) and not a signature scheme.

@zamicol
Copy link
Contributor

zamicol commented Apr 8, 2024

I'm going to close this issue for now, but in the future there should be a larger discussion around Post-Quantum.

@zamicol zamicol closed this as completed Apr 8, 2024
@zamicol zamicol added documentation Improvements or additions to documentation Discussion and removed documentation Improvements or additions to documentation labels Apr 8, 2024
@zamicol
Copy link
Contributor

zamicol commented Apr 8, 2024

Post-quantum discussion is moved to here:
Cyphrme/CozeX#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants