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

Password entry #204

Closed
Pwhitcomb opened this issue May 15, 2019 · 4 comments · Fixed by #205
Closed

Password entry #204

Pwhitcomb opened this issue May 15, 2019 · 4 comments · Fixed by #205

Comments

@Pwhitcomb
Copy link

When new account is being created, when prompted for password, pass gives an error and loops over and over again. Fresh install of arch, larbs, and mutt wizard

@LukeSmithxyz
Copy link
Owner

Well, what's the error?

@Pwhitcomb
Copy link
Author

With the loop in getpass, it just loops through the usage of pass. It won't show me the error code

@DaemonPlus
Copy link

Going by your description, sounds very similar to the problem I was having. Although, killing it and scrolling up does tell me:

Error: You must run:
    pass init your-gpg-id
before you may use the password store.

Fixed it by just initin' pass before running the wizard.

Kr1ss-XD added a commit to Kr1ss-XD/mutt-wizard that referenced this issue May 15, 2019
The current test  did not terminate  the script in cases  when the user
already has a private GPG key,  but they'd not initialized the password
store.
This leads to an infinite loop in the `getpass()` function.

The commit fixes LukeSmithxyz#204
@Kr1ss-XD
Copy link
Collaborator

Seems like u ran into an infinite loop; actually the script should be aborted (after outputting an info message) when the password store had not been initialized before running it.

This patch should fix that.

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.

4 participants