File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
libraries/MCUboot/examples/enableSecurity Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void setup() {
38
38
String currentBootloaderIdentifier = String (bootloader_identification, 15 );
39
39
40
40
if ((currentBootloaderVersion > 24 ) && (currentBootloaderIdentifier.equals (" MCUboot Arduino" ))) {
41
- Serial.println (" \n The sketch comes with a set of default keys to evaluate signing and encryption process" );
41
+ Serial.println (" The sketch comes with a set of default keys to evaluate signing and encryption process" );
42
42
Serial.println (" If you load the keys, you will need to upload the future sketches with Security Settings -> Signing + Encryption." );
43
43
Serial.println (" If you select Security Settings -> None, the sketches will not be executed." );
44
44
Serial.println (" Do you want to load the keys? Y/[n]" );
@@ -145,9 +145,8 @@ void applyUpdate() {
145
145
setupMCUBootOTAData ();
146
146
flash.program (&enc_priv_key, ENCRYPT_KEY_ADDR, ENCRYPT_KEY_SIZE);
147
147
flash.program (&ecdsa_pub_key, SIGNING_KEY_ADDR, SIGNING_KEY_SIZE);
148
- Serial.println (" Flashed 100%" );
149
148
flash.deinit ();
150
- Serial.println (" \n Bootloader update complete . It's now safe to reboot or disconnect your board." );
149
+ Serial.println (" \n Security features enabled . It's now safe to reboot or disconnect your board." );
151
150
}
152
151
153
152
void loop () {
You can’t perform that action at this time.
0 commit comments