Skip to content
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

AsymmetricKeySize - Test is not failing for keys shorter than 2048 #888

Open
3 tasks done
jpomfret opened this issue May 27, 2022 · 0 comments
Open
3 tasks done

AsymmetricKeySize - Test is not failing for keys shorter than 2048 #888

jpomfret opened this issue May 27, 2022 · 0 comments

Comments

@jpomfret
Copy link
Collaborator

Bug Report

General Troubleshooting steps

  • Verified running the latest release of dbachecks?

Does (Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()
Yep

  • Verified errors are not related to permissions?
  • Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

  • Operating System (Name|Version): Windows 11
  • PowerShell Version: 7.2
  • SQL Server (Edition|Version): 2019

Description of Bug

The AsymmetricKeySize test doesn't fail if there is a key with length less than 2048:

Invoke-DbcCheck -SqlInstance 'localhost,7401' -SqlCredential $cred -Check AsymmetricKeySize 

image

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

No branches or pull requests

1 participant