Skip to content

Commit

Permalink
clarify debug build error
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Oct 29, 2022
1 parent 4efea63 commit bcd5711
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit bcd5711

Please sign in to comment.