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 symmetric key method on ESP32 (CA-30) #43

Open
cl-cr opened this issue Jun 24, 2019 · 2 comments
Open

Implement symmetric key method on ESP32 (CA-30) #43

cl-cr opened this issue Jun 24, 2019 · 2 comments

Comments

@cl-cr
Copy link

cl-cr commented Jun 24, 2019

Hello,

I am trying to port the example prov_dev_client_II_sample to get the symmetric key method working. If I understand well, I don't need any certificates with this method so I removed CFLAGS += -DSET_TRUSTED_CERT_IN_SAMPLES in the component file and replaced it with CFLAGS += -DHSM_TYPE_SYMM_KEY -DUSE_PROV_CLIENT

But I still got the following error:
prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x4): undefined reference to '_binary_leaf_certificate_pem_start'
prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x8): undefined reference to '_binary_leaf_private_key_pem_start'
collect2.exe: error: ld returned 1 exit status
make: *** [C:/msys32/home/clement.cres/esp/esp-idf/make/project.mk:461:prov_dev_client_ll_sample/build/prov_dev_client_ll_sample.elf] Error 1

Did I miss something?

Thank you,
Best regards
Clement

@sagar448
Copy link

I also got this error, couldn't get around it.

@projectgus projectgus changed the title Implement symmetric key method on ESP32 Implement symmetric key method on ESP32 (CA-30) Jan 1, 2020
@Lisa999
Copy link

Lisa999 commented Jul 10, 2020

#74

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

3 participants