From bcd5711195aed6334c857274fcf0eac631f65f2b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 28 Oct 2022 20:21:54 -0400 Subject: [PATCH] clarify debug build error --- .../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 5880138f9..ead19d419 100644 --- a/app/src/main/java/app/attestation/auditor/AttestationProtocol.java +++ b/app/src/main/java/app/attestation/auditor/AttestationProtocol.java @@ -698,7 +698,7 @@ private static Verified verifyStateless(final Certificate[] certificates, appVariant = AUDITOR_APP_VARIANT_PLAY; } else if (AUDITOR_APP_PACKAGE_NAME_DEBUG.equals(info.getPackageName())) { if (!BuildConfig.DEBUG) { - throw new GeneralSecurityException("debug builds are only trusted by debug builds"); + throw new GeneralSecurityException("Auditor debug builds are only trusted by other Auditor debug builds"); } if (!AUDITOR_APP_SIGNATURE_DIGEST_DEBUG.equals(signatureDigest)) { throw new GeneralSecurityException("invalid Auditor app signing key");