File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ function(add_subdirectory_exclude_platforms NAME)
4747 add_subdirectory (${NAME} )
4848endfunction ()
4949
50- # Set signing file for entire project
51- set_property (GLOBAL PROPERTY PICOTOOL_SIGFILE "${CMAKE_CURRENT_LIST_DIR} /sample_keys/private.pem" )
52-
5350# Add blink example
5451add_subdirectory_exclude_platforms(blink)
5552add_subdirectory_exclude_platforms(blink_simple)
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ endfunction()
3939add_linker_script(enc_bootloader "0x20078000" "32k" )
4040
4141# sign, hash, and clear SRAM
42- pico_sign_binary(enc_bootloader)
42+ pico_sign_binary(enc_bootloader ${CMAKE_CURRENT_LIST_DIR} / private .pem )
4343pico_hash_binary(enc_bootloader)
4444pico_load_map_clear_sram(enc_bootloader)
4545
@@ -76,7 +76,7 @@ add_linker_script(hello_serial_enc "0x20000000" "448k")
7676pico_set_otp_key_output_file(hello_serial_enc ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
7777
7878# sign, hash, and encrypt
79- pico_sign_binary(hello_serial_enc)
79+ pico_sign_binary(hello_serial_enc ${CMAKE_CURRENT_LIST_DIR} / private .pem )
8080pico_hash_binary(hello_serial_enc)
8181pico_encrypt_binary(hello_serial_enc ${CMAKE_CURRENT_LIST_DIR} /privateaes.bin ${CMAKE_CURRENT_LIST_DIR} /ivsalt.bin)
8282
File renamed without changes.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ target_link_libraries(picow_ota_update_background
2020pico_use_wifi_firmware_partition(picow_ota_update_background)
2121
2222pico_hash_binary(picow_ota_update_background)
23- pico_sign_binary(picow_ota_update_background)
23+ pico_sign_binary(picow_ota_update_background ${CMAKE_CURRENT_LIST_DIR} / private .pem )
2424# pico_set_binary_type(picow_ota_update_background no_flash)
2525# pico_package_uf2_output(picow_ota_update_background 0x10000000)
2626
@@ -48,7 +48,7 @@ target_link_libraries(picow_ota_update_poll
4848pico_use_wifi_firmware_partition(picow_ota_update_poll)
4949
5050pico_hash_binary(picow_ota_update_poll)
51- pico_sign_binary(picow_ota_update_poll)
51+ pico_sign_binary(picow_ota_update_poll ${CMAKE_CURRENT_LIST_DIR} / private .pem )
5252# pico_set_binary_type(picow_ota_update_background no_flash)
5353# pico_package_uf2_output(picow_ota_update_background 0x10000000)
5454
Original file line number Diff line number Diff line change 1+ -----BEGIN EC PARAMETERS-----
2+ BgUrgQQACg==
3+ -----END EC PARAMETERS-----
4+ -----BEGIN EC PRIVATE KEY-----
5+ MHQCAQEEIAXAdiilH8wT07TESUzWPt+BY9+NcchvYU3xbnpK+CBNoAcGBSuBBAAK
6+ oUQDQgAEYYJtMQFGW4AB94tU3u/Qir5sRcYjBYMqCa+8gxsYd9OwMS3dqWKsnVBz
7+ dyy7bFWdJzXDMb9o20xRRd57Q9xSYw==
8+ -----END EC PRIVATE KEY-----
You can’t perform that action at this time.
0 commit comments