indigo-iam / iam

INDIGO Identity and Access Management Service
https://indigo-iam.github.io/
Other
99 stars 43 forks source link

Ensure subject DN is stored into db with the expected format (RFC2253) #791

Open enricovianello opened 2 weeks ago

enricovianello commented 2 weeks ago

https://datatracker.ietf.org/doc/html/rfc2253 The target of this PR is ensuring that each time a x509 certificate is added (via SCIM PATCH) or linked (during login phase) its subject and issuer are stored in the same way, following RFC 2253. Also the search logic has to be able to "normalize" a received subject to the same RFC, in order to avoid case-insensitive problems.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud