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

Write errors to stderr instead of stdout #380

Closed
matbech opened this issue Apr 8, 2024 · 0 comments · Fixed by #400
Closed

Write errors to stderr instead of stdout #380

matbech opened this issue Apr 8, 2024 · 0 comments · Fixed by #400
Assignees

Comments

@matbech
Copy link

matbech commented Apr 8, 2024

On Windows x64, errors are written to stdout instead of stderr. For example, in the following example:

Engine "pkcs11" set.
Hash method is SHA256
Warning: Ignore -h option, use the hash algorithm specified in AppxBlockMap.xml
Signing as a package
Connecting to http://timestamp.digicertddvd.com
CURL failure: Couldn't resolve host name http://timestamp.digicertddvd.com
RFC 3161 timestamping failed
Use the "-t" option to add the Authenticode Time-Stamp Authority or choose another one RFC3161 Time-Stamp Authority
Unable to set unauthenticated attributes
E8B00000:error:0300007F:digital envelope routines:evp_pkey_get0_RSA_int:expecting an rsa key:crypto\evp\p_legacy.c:37:
Failed

The part starting from "CURL failure .." should be written to stderr.

Platform: Windows 11 x64

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

Successfully merging a pull request may close this issue.

2 participants