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

git secret reveal - password input stalls #674

Closed
samothx opened this issue May 23, 2021 · 4 comments
Closed

git secret reveal - password input stalls #674

samothx opened this issue May 23, 2021 · 4 comments

Comments

@samothx
Copy link

samothx commented May 23, 2021

What are the steps to reproduce this issue?

  1. call git secret reveal with no options
  2. enter password and press enter on password prompt

What happens?

nothing, password prompt stays visible, no linefeed after entering password and the program only terminates after pressing ctl c.

What were you expecting to happen?

checking out of secret files and return to command prompt

Any logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Any other comments?

What versions of software are you using?

Operating system: Linux ymir 5.12.2-1-MANJARO #1 SMP PREEMPT Fri May 7 17:53:15 UTC 2021 x86_64 GNU/Linux

git-secret path: /usr/bin/git-secret

git-secret version: 0.4.0

git version: 2.31.1

Shell type and version: zsh 5.8 (x86_64-pc-linux-gnu)

gpg version: gpg (GnuPG) 2.2.27

@sobolevn
Copy link
Owner

@joshrabinowitz I remember that something like that had already happened.

@joshrabinowitz
Copy link
Collaborator

This sounds a lot like #97 and/or #503.
Might this be related to some sort of pinentry issue?

@FanchenBao
Copy link
Contributor

I suddenly got hit with this problem as well. So I closed the terminal and opened up a new one, and the problem was gone.

@joshrabinowitz
Copy link
Collaborator

I seem to remember this could happen if one changed from root to another user using sudo and THEN interacted with gnupg. Can anyone confirm/deny?

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

4 participants