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

Unclear Error message when the path of the file too long #977

Open
shaopeng-gh opened this issue Jan 8, 2024 · 0 comments
Open

Unclear Error message when the path of the file too long #977

shaopeng-gh opened this issue Jan 8, 2024 · 0 comments

Comments

@shaopeng-gh
Copy link
Collaborator

User report that in Windows when the path is too long, Binskim report the error is unclear:

Analyzing... 
D:\a\_work\verylong path\aaa.dll: error BA2022: 'aaa.dll' signing was flagged as insecure by WinTrustVerify with error code 'CRYPT_E_FILE_ERROR' (An error occurred while reading or writing to a file.) 

MAX_PATH, which is defined as 260 characters.

This issue is created to investigate if improvements can be made.

@shaopeng-gh shaopeng-gh changed the title Unclear Error message when the path of the file to long Unclear Error message when the path of the file too long Jan 19, 2024
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