From ff3375cb033a9773a50081d800da6e6ab5112943 Mon Sep 17 00:00:00 2001 From: quh4gko8 <88831734+quh4gko8@users.noreply.github.com> Date: Tue, 1 Oct 2024 02:44:02 +0000 Subject: [PATCH] Increment protocol version to 6 --- .../main/java/app/attestation/auditor/AttestationProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/attestation/auditor/AttestationProtocol.java b/app/src/main/java/app/attestation/auditor/AttestationProtocol.java index 4395f40c..be282c63 100644 --- a/app/src/main/java/app/attestation/auditor/AttestationProtocol.java +++ b/app/src/main/java/app/attestation/auditor/AttestationProtocol.java @@ -198,7 +198,7 @@ class AttestationProtocol { // the outer signature and the rest of the chain for pinning the expected chain. It enforces // downgrade protection for the OS version/patch (bootloader/TEE enforced) and app version (OS // enforced) by keeping them updated. - private static final byte PROTOCOL_VERSION = 5; + private static final byte PROTOCOL_VERSION = 6; private static final byte PROTOCOL_VERSION_MINIMUM = 5; // can become longer in the future, but this is the minimum length static final byte CHALLENGE_MESSAGE_LENGTH = 1 + RANDOM_TOKEN_LENGTH * 2;