From 5c203101e7f26e037395d045e36e6d77d257768f Mon Sep 17 00:00:00 2001 From: eth44 Date: Thu, 21 Mar 2024 14:50:22 +0100 Subject: [PATCH 1/3] Document unused keys from MCUBoot --- bootloader/src/keys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloader/src/keys.c b/bootloader/src/keys.c index 671ea931..d25c327a 100644 --- a/bootloader/src/keys.c +++ b/bootloader/src/keys.c @@ -75,6 +75,7 @@ const int bootutil_key_cnt = 1; #endif /* !MCUBOOT_HW_KEY */ #if defined(MCUBOOT_ENCRYPT_RSA) +// This is an unused key from upstream MCUBoot that is not used in production unsigned char enc_priv_key[] = { 0x30, 0x82, 0x04, 0xa4, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xb4, 0x26, 0x14, 0x49, 0x3d, 0x16, 0x13, 0x3a, 0x6d, 0x9c, 0x84, 0xa9, @@ -190,6 +191,7 @@ const struct bootutil_key bootutil_enc_key = { .len = &enc_priv_key_len, }; #elif defined(MCUBOOT_ENCRYPT_X25519) +// This is an unused key from upstream MCUBoot that is not used in production unsigned char enc_key[] = { 0x30, 0x2e, 0x02, 0x01, 0x00, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x6e, 0x04, 0x22, 0x04, 0x20, 0x28, 0x80, 0x2f, 0xef, 0xef, 0x82, 0x95, 0x50, From f623fb7290153fde616aaa5abc4c82a681b94c8f Mon Sep 17 00:00:00 2001 From: Ian Klatzco Date: Thu, 21 Mar 2024 15:13:21 +0100 Subject: [PATCH 2/3] add CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..7fe8f051 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @fouge From 8f330398aba3eb1b71d17af3cdc3d373d82b1abd Mon Sep 17 00:00:00 2001 From: Ian Klatzco Date: Thu, 21 Mar 2024 15:31:20 +0100 Subject: [PATCH 3/3] merge CODEOWNERS into toplevel --- .github/CODEOWNERS | 1 - CODEOWNERS | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 7fe8f051..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @fouge diff --git a/CODEOWNERS b/CODEOWNERS index 7fe8f051..8530f5ef 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1,2 @@ * @fouge +.github/ @fouge