vcsjones / AuthenticodeLint

Lints an authenticode signed binary.
MIT License
36 stars 17 forks source link

Support multiple -in parameters #6

Closed vcsjones closed 8 years ago

vcsjones commented 8 years ago

If -in is specified more than once, currently the last one "wins". The desirable thing to do here is to just check all -in options.

This impacts two things. The exit code and the result collectors.

For the result collectors, the result collectors need to know what file they are currently collecting on.

For the exit code, the resulting code should be a safe aggregate. That is, return Success if all files succeed, and return ChecksFailed if any checks failed for any file. The outlier here is what to do with the NoSignature exit code. To simplify, this exit code should be removed. NoSignature we be treated as ChecksFailed.