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

qute-keepassxc throws error status 2 #9

Open
jordan31bit opened this issue Jun 7, 2021 · 2 comments
Open

qute-keepassxc throws error status 2 #9

jordan31bit opened this issue Jun 7, 2021 · 2 comments
Assignees
Labels
question Further information is requested waiting for feedback

Comments

@jordan31bit
Copy link

jordan31bit commented Jun 7, 2021

I noticed when I first run qute-keepassxc it works fine, asks for me to name the connection and populates fields with data. However after the first run (when keepassxc.key.gpg is created) I get a error of status 2. I manually decrypted the keepassxc.key.gpg which brings up a passphrase prompt. But I'm assuming in the qute-keepassxc script it doesn't allow for passphrase prompts. Could this be a user error (in creating my gpg key) or would the script need to be updated?

If there is a log I'll gladly supply it but I'm not aware of one.

@jordan31bit
Copy link
Author

I generated another key without a passphrase and it worked just fine so far (fingers crossed). So it seems the script really doesn't like passphrased keys.

@ususdei
Copy link
Owner

ususdei commented Jun 7, 2021

Password-protected keys in general work fine (I'm using it myself this way).

I suspect this might be an issue with pinentry (which gnupg uses to prompt for the passphrase).
If pinentry falls back to to curses backend, this problem might arise, as qutebrowser cannot provide a terminal.
While searching around it seems like most of the time this happens under wayland sessions or if no other backend is installed.

Could you check which backend pinentry is actually using in your setup? Does the prompt appear withing the terminal window? What is the window title if the prompt is a separate window? And what does pinentry --help output?

Edit: Which version of gnupg are you using? Maybe https://dev.gnupg.org/T5036 is related to this?

@ususdei ususdei added question Further information is requested waiting for feedback labels Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested waiting for feedback
Projects
None yet
Development

No branches or pull requests

2 participants