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

Add setEccChain function #39

Merged
merged 2 commits into from
Feb 4, 2021

Conversation

ffontaine
Copy link
Contributor

This will allow the user to specify a client certificate chain instead of a single client certificate.

This is useful for example for AWS just-in-time registration or Just-in-time provisioning (JITP):
https://aws.amazon.com/blogs/iot/just-in-time-registration-of-device-certificates-on-aws-iot
https://docs.aws.amazon.com/iot/latest/developerguide/jit-provisioning.html

Signed-off-by: Fabrice Fontaine fabrice.fontaine@orange.com

This will allow the user to specify a client certificate chain instead
of a single client certificate.

This is useful for example for AWS just-in-time registration or
Just-in-time provisioning (JITP):
https://aws.amazon.com/blogs/iot/just-in-time-registration-of-device-certificates-on-aws-iot
https://docs.aws.amazon.com/iot/latest/developerguide/jit-provisioning.html

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
@aentinger
Copy link
Contributor

Hi @ffontaine 👋 can you please rebase your PR on master, we had to fix our CI (#40).

@github-actions
Copy link

github-actions bot commented Feb 4, 2021

Memory usage change @ 0db0afd

Board flash % RAM for global variables %
arduino:megaavr:uno2018 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 🔺 0 - +16 0.0 - +0.01 🔺 0 - +24 0.0 - +0.07
arduino:samd:mkrgsm1400 🔺 0 - +16 0.0 - +0.01 🔺 0 - +24 0.0 - +0.07
Click for full report table
Board examples/SHA1
flash
% examples/SHA1
RAM for global variables
% examples/SHA256
flash
% examples/SHA256
RAM for global variables
% examples/WiFiSSLClient
flash
% examples/WiFiSSLClient
RAM for global variables
% examples/MKRGSMSSLClient
flash
% examples/MKRGSMSSLClient
RAM for global variables
%
arduino:megaavr:uno2018 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 0 0.0 0 0.0 0 0.0 0 0.0 16 0.01 24 0.07
arduino:samd:mkrgsm1400 0 0.0 0 0.0 0 0.0 0 0.0 16 0.01 24 0.07
Click for full report CSV
Board,examples/SHA1<br>flash,%,examples/SHA1<br>RAM for global variables,%,examples/SHA256<br>flash,%,examples/SHA256<br>RAM for global variables,%,examples/WiFiSSLClient<br>flash,%,examples/WiFiSSLClient<br>RAM for global variables,%,examples/MKRGSMSSLClient<br>flash,%,examples/MKRGSMSSLClient<br>RAM for global variables,%
arduino:megaavr:uno2018,0,0.0,0,0.0,0,0.0,0,0.0
arduino:samd:mkr1000,0,0.0,0,0.0,0,0.0,0,0.0,16,0.01,24,0.07
arduino:samd:mkrgsm1400,0,0.0,0,0.0,0,0.0,0,0.0,,,,,16,0.01,24,0.07

Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you @ffontaine 🚀

@aentinger aentinger merged commit 20db745 into arduino-libraries:master Feb 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants