Skip to content

Add certificates flash command #54

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

Merged
merged 1 commit into from
Jun 11, 2021
Merged

Add certificates flash command #54

merged 1 commit into from
Jun 11, 2021

Conversation

silvanocerza
Copy link
Contributor

certificates flash command is used to flash certificates to the specified board connected on the specified address.

It supports four flags:

  • --fqbn, -b, Fully Qualified Board Name, e.g.: arduino:samd:mkr1000, arduino:mbed_nano:nanorp2040connect
  • --address, -a, Upload port, e.g.: COM10, /dev/ttyACM0
  • --url, -u, List of urls to download root certificates, e.g.: arduino.cc:443
  • --file, -f, List of paths to certificate file, e.g.: /home/me/Digicert.cer

Multiple urls or files can be specified to flash them at the same time.

Example commands:

FirmwareUploader certificates flash --fqbn arduino:samd:mkr1000 --address COM10 --url arduino.cc:443 --file /home/me/Digicert.cer
FirmwareUploader certificates flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.cc:443
FirmwareUploader certificates flash -b arduino:samd:mkr1000 -a COM10 -f /home/me/VeriSign.cer -f /home/me/Digicert.cer

@silvanocerza silvanocerza added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 10, 2021
@silvanocerza silvanocerza requested a review from a team June 10, 2021 16:11
@silvanocerza silvanocerza self-assigned this Jun 10, 2021
@silvanocerza silvanocerza merged commit 6c0b703 into main Jun 11, 2021
@silvanocerza silvanocerza deleted the scerza/certificates branch June 11, 2021 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants