Skip to content

Fix S4426 FN: On .Net 7 when using ECDsaOpenSsl #6164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
costin-zaharia-sonarsource opened this issue Oct 4, 2022 · 0 comments · Fixed by #6489
Closed

Fix S4426 FN: On .Net 7 when using ECDsaOpenSsl #6164

costin-zaharia-sonarsource opened this issue Oct 4, 2022 · 0 comments · Fixed by #6489
Assignees
Labels
Type: False Negative Rule is NOT triggered when it should be.
Milestone

Comments

@costin-zaharia-sonarsource
Copy link
Member

costin-zaharia-sonarsource commented Oct 4, 2022

Description

The rule S4426 does not raise issues for ECDsaOpenSsl when running on .Net 7 runtime.

Repro steps

var ec3 = new ECDsaOpenSsl();
ec3.GenerateKey(ECCurve.NamedCurves.brainpoolP192t1); // Noncompliant {{Use a key length of at least 224 bits for EC cipher algorithm.}}

Expected behavior

An issue should be raised.

Actual behavior

No issue raised.

Known workarounds

Please provide a description of any known workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: False Negative Rule is NOT triggered when it should be.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants