File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
webauthn-server-attestation/src/main/java/com/yubico/fido/metadata Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ Changes:
44
44
45
45
* The `AuthenticatorToBeFiltered` argument of the `FidoMetadataService` runtime
46
46
filter now omits zero AAGUIDs.
47
+ * Promoted log messages in `FidoMetadataDownloader` about BLOB signature failure
48
+ and cache corruption from DEBUG level to WARN level.
47
49
48
50
Fixes:
49
51
Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ private Optional<MetadataBLOB> refreshBlobInternal(
834
834
return Optional .of (downloadedBlob );
835
835
} catch (FidoMetadataDownloaderException e ) {
836
836
if (e .getReason () == Reason .BAD_SIGNATURE && cached .isPresent ()) {
837
- log .debug ("New BLOB has bad signature - falling back to cached BLOB." );
837
+ log .warn ("New BLOB has bad signature - falling back to cached BLOB." );
838
838
return cached ;
839
839
} else {
840
840
throw e ;
@@ -954,7 +954,7 @@ private Optional<MetadataBLOB> loadCachedBlobOnly(X509Certificate trustRootCerti
954
954
try {
955
955
return parseAndVerifyBlob (cached , trustRootCertificate );
956
956
} catch (Exception e ) {
957
- log .debug ("Failed to read or parse cached BLOB." , e );
957
+ log .warn ("Failed to read or parse cached BLOB." , e );
958
958
return null ;
959
959
}
960
960
});
You can’t perform that action at this time.
0 commit comments