Skip to content

Conversation

svenzik
Copy link
Contributor

@svenzik svenzik commented Mar 26, 2025

  • Allow id-card authentication when Extended Key Usage is not present in certificate
  • Test should fail because key usage is missing
  • Add tests for certificates from Belgian and Finnish ID-cards

Signed-off-by: Sven Mitt [email protected]

@svenzik svenzik force-pushed the WE2-1026 branch 2 times, most recently from 45ad503 to 6972af4 Compare April 2, 2025 09:13
@svenzik svenzik force-pushed the WE2-1026 branch 6 times, most recently from 938302b to 30f1eed Compare April 11, 2025 06:31
@svenzik svenzik force-pushed the WE2-1026 branch 2 times, most recently from 76c742c to 3f16cd0 Compare April 14, 2025 07:57
@mrts mrts merged commit 3dc027e into web-eid:main May 13, 2025
3 of 4 checks passed
throw new UserCertificateMissingPurposeException();
// Digital Signature extension present, but Extended Key Usage extension not present,
// assume it is an authentication certificate (e.g. Luxembourg eID).
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 68 has a debug log message, it is needed here as well before return for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants