-
Notifications
You must be signed in to change notification settings - Fork 546
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
Cosign crashes when password input is requested from terminal in Windows #1153
Comments
@gjirm I wasn't able to reproduce the issue. Would you be able to add a test case to https://github.com/sigstore/cosign/blob/main/test/e2e_test.ps1 that provokes the bug? |
@dekkagaijin Unfortunately, I don't know how to add a test case, because it only happens to me if I run the command without entering a password (via a environment variable or via a pipe). See example below for |
I also have similar issue. I use Windows 10 Pro. I downloaded v1.5.1 version of cosign.
When I run the same command in git bash, then bash hangs and I need to kill this command:
Providing password via environment variable resolves this issue. |
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows.
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
While is is 0 on Unix, it's not on Windows. Golang handles this with the syscall.Stdin targeting Windows. Signed-off-by: Mark Percival <[email protected]>
On Windows when password should be read from terminal, application immediately crashes with the following error:
For example when running these commands:
I think it is related to the bug #862 I previously reported.
My environment
The text was updated successfully, but these errors were encountered: