Aurélien Pupier created CAMEL-25228:
---------------------------------------
Summary:
IdentityRoutesTest.describesTheX509SvidWithoutRevealingTheKey is broken
Key: CAMEL-25228
URL: https://issues.apache.org/jira/browse/CAMEL-25228
Project: Camel
Issue Type: Test
Components: camel-spiffe, examples
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
{noformat}
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.047 s
<<< FAILURE! -- in org.apache.camel.example.spiffe.IdentityRoutesTest
[ERROR]
org.apache.camel.example.spiffe.IdentityRoutesTest.describesTheX509SvidWithoutRevealingTheKey
-- Time elapsed: 0.246 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
[[
[
Version: V3
Subject: CN=frontend, O=Apache Camel, C=US
Signature Algorithm: SHA256withECDSA, OID = 1.2.840.10045.4.3.2
Key: Sun EC public key, 256 bits
public x coord:
113870291230303137795079326468024467265667176064777456591330168456915560113973
public y coord:
51776283542314826431106589222439993204780341392081888042970060160224249491092
parameters: secp256r1 [NIST P-256,X9.62 prime256v1] (1.2.840.10045.3.1.7)
Validity: [From: Thu Sep 03 10:14:29 UTC 2026,
To: Sat Aug 10 10:14:29 UTC 2126]
Issuer: CN=frontend, O=Apache Camel, C=US
SerialNumber: 50:46:70:bb:da:cd:6c:5d:a0:2f:05:98:90:4c:da:4b:ac:36:53:0d
Certificate Extensions: 4
[1]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: E7 60 75 94 3F B2 09 E5 54 ED 59 25 F3 B1 9F E6 .`u.?...T.Y%....
0010: 0F E7 0D DB ....
]
]
[2]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:true
PathLen: no limit
]
[3]: ObjectId: 2.5.29.17 Criticality=false
SubjectAlternativeName [
URIName: spiffe://example.org/frontend
]
[4]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: E7 60 75 94 3F B2 09 E5 54 ED 59 25 F3 B1 9F E6 .`u.?...T.Y%....
0010: 0F E7 0D DB ....
]
]
]
Algorithm: [SHA256withECDSA]
Signature:
0000: 30 46 02 21 00 B1 1A C3 62 EC 20 13 A3 0C 24 5B 0F.!....b. ...$[
0010: EF 3D 1B 4A A7 BC 7A E8 BF C8 2E E0 46 C2 B7 5D .=.J..z.....F..]
0020: B7 F4 5E F6 F2 02 21 00 E9 A2 51 A1 DE 2D BD 0F ..^...!...Q..-..
0030: 25 CE 57 EF 28 CD B5 AB 0F EF 55 67 EF 8F B7 C5 %.W.(.....Ug....
0040: B4 4E 38 99 C0 4E 72 E0 .N8..Nr.
]] ==> expected: <true> but was: <false>
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
at
org.apache.camel.example.spiffe.IdentityRoutesTest.describesTheX509SvidWithoutRevealingTheKey(IdentityRoutesTest.java:80)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)