0

[crypto] Reduce unexportable key log verbosity

The unexportable keys implementation in macOS is logging an error every
time the build is not signed with the correct keychain access group.
This results in an unhelpful error message printed on every macOS
browser test failure which can throw people off.

Remove this log.

Fixed: 342445989
Change-Id: Iccd955a050298cfb94a694d13bd6038fa1167330
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5597678
Reviewed-by: Adam Langley <agl@chromium.org>
Commit-Queue: Adam Langley <agl@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1310117}
This commit is contained in:
Nina Satragno
2024-06-04 19:39:49 +00:00
committed by Chromium LUCI CQ
parent 6e95cd3d80
commit ef90df613a

@ -345,9 +345,6 @@ std::unique_ptr<UnexportableKeyProviderMac> GetUnexportableKeyProviderMac(
#if !BUILDFLAG(IS_IOS)
if (!ExecutableHasKeychainAccessGroupEntitlement(
config.keychain_access_group)) {
LOG(ERROR) << "Unexportable keys unavailable because keychain-access-group "
"entitlement missing or incorrect. Expected value: "
<< config.keychain_access_group;
return nullptr;
}
#endif // !BUILDFLAG(IS_IOS)