Skip to content

Commit ca92cc6

Browse files
Tom Deweytdewey-rpi
authored andcommitted
mfg-data: Fixup Fastboot keynames
It's secure-*, not signed-*
1 parent 0413f05 commit ca92cc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

host-support/manufacturing-data

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ metadata_gather() {
146146
# Public key programming: read from fastboot metadata 'signed-otp'
147147
# Map 'present' -> 1, 'not present' -> 0, common boolean forms as fallback, else NULL
148148
PUBKEY_PROGRAMMED_VALUE="NULL"
149-
SIGNED_OTP="$(metadata_get "signed-otp")"
149+
SIGNED_OTP="$(metadata_get "secure-otp")"
150150
if [ -n "${SIGNED_OTP}" ]; then
151151
SIGNED_OTP_LC="$(printf "%s" "${SIGNED_OTP}" | tr '[:upper:]' '[:lower:]')"
152152
case "${SIGNED_OTP_LC}" in
@@ -164,7 +164,7 @@ metadata_gather() {
164164

165165
# Dev key revoked (signed-devkey): 'present' -> 1, 'not present' -> 0, else NULL
166166
DEVKEY_REVOKED_VALUE="NULL"
167-
SIGNED_DEVKEY="$(metadata_get "signed-devkey")"
167+
SIGNED_DEVKEY="$(metadata_get "secure-devkey")"
168168
if [ -n "${SIGNED_DEVKEY}" ]; then
169169
SIGNED_DEVKEY_LC="$(printf "%s" "${SIGNED_DEVKEY}" | tr '[:upper:]' '[:lower:]')"
170170
case "${SIGNED_DEVKEY_LC}" in

0 commit comments

Comments
 (0)