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

SM Cipher: sample certificate files need a header file for embedded apps. #6681

Closed
gojimmypi opened this issue Aug 7, 2023 · 1 comment
Closed

Comments

@gojimmypi
Copy link
Contributor

Version

latest master

Description

The new SM Ciphers have their own sample certificate files in certs/sm2 .

Currently the other sample certificate files get generated into a rather large wolfssl/certs_test.h using gencertbuf.pl.

It would be helpful to embedded developers to have a pre-generated header file with the SM Cipher certificates.

I've generated a wolfssl/certs_test_sm.h SM Cipher file that could be included in the wollssl directory.

Conversion is with the dertoc.pl script.

I have a new gencert_sm.sh that needs to be a polished a bit before a PR, but is basically operational.

In the meantime, I have TLS SM cipher client and server example updates in development for the ESP32. See the example user_settings.h for enabling the SM Ciphers:

/* optional SM4 Ciphers. See https://github.com/wolfSSL/wolfsm */
#define WOLFSSL_SM2
#define WOLFSSL_SM3
#define WOLFSSL_SM4

I'll be creating a PR soon, so this issue is just for reference that I have it currently in the works.

@gojimmypi
Copy link
Contributor Author

Added to #6234

@gojimmypi gojimmypi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
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

1 participant