File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
== Version 2.1.0 (unreleased) ==
2
2
3
+ Changes:
4
+
5
+ * Log messages on attestation certificate path validation failure now include
6
+ the attestation object.
7
+
3
8
Fixes:
4
9
5
10
* Fixed various typos and mistakes in JavaDocs.
Original file line number Diff line number Diff line change @@ -543,14 +543,18 @@ public boolean attestationTrusted() {
543
543
544
544
} catch (CertPathValidatorException e ) {
545
545
log .info (
546
- "Failed to derive trust in attestation statement: {} at cert index {}: {}" ,
546
+ "Failed to derive trust in attestation statement: {} at cert index {}: {}. Attestation object: {}" ,
547
+ response .getResponse ().getAttestationObject (),
547
548
e .getReason (),
548
549
e .getIndex (),
549
550
e .getMessage ());
550
551
return false ;
551
552
552
553
} catch (CertificateException e ) {
553
- log .warn ("Failed to build attestation certificate path." , e );
554
+ log .warn (
555
+ "Failed to build attestation certificate path. Attestation object: {}" ,
556
+ response .getResponse ().getAttestationObject (),
557
+ e );
554
558
return false ;
555
559
556
560
} catch (NoSuchAlgorithmException e ) {
You can’t perform that action at this time.
0 commit comments