Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a13a85f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log the fact that we don't have a prod key."

parents ae1f3f26 610d0967
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3884,6 +3884,7 @@ message SignedConfigReported {
        OLD_CONFIG = 6;
        SIGNATURE_CHECK_FAILED = 7;
        NOT_APPLICABLE = 8;
        SIGNATURE_CHECK_FAILED_PROD_KEY_ABSENT = 9;
    }
    optional Status status = 2;

+2 −0
Original line number Diff line number Diff line
@@ -119,6 +119,8 @@ public class SignatureVerifier {
        }
        if (mProdKey ==  null) {
            Slog.e(TAG, "No prod key; construction failed?");
            mEvent.status =
                    StatsLog.SIGNED_CONFIG_REPORTED__STATUS__SIGNATURE_CHECK_FAILED_PROD_KEY_ABSENT;
            return false;
        }
        if (verifyWithPublicKey(mProdKey, data, signature)) {