-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
Pinentry error ERR 83918950 Inappropriate ioctl for device
#1879
Comments
This is the same (useless) error I've been seeing on MacOS with a recent pinentry-curses. |
@kfken Could you please provide the output of |
Also: did you set |
FYI: the cli fallback will only be used if pinentry fails to initialize (usually due to the binary not being available). But this error happens when calling the |
Btw. I can reproduce the error when manually changing my pinentry (with Using the gpg backend with |
Same here. I didn't want to use gnome for other reasons, so I had set curses. After removing the pinentry symlink, the fallback to I did have For the time being, that workaround is good for me, although would be nice to not have to rely on gnome for age backend. Thanks again (and awesome work on this project)! |
Thanks! I'd really like to figure out if this is a gopass / pinentry client issue or another strange gpg issue, but for the time being I'm out of ideas. Let's keep this open in case anyone else encounters the same issue or has some idea what's going on. |
ERR 83918950 Inappropriate ioctl for device
Ran into a similar-seeming issue:
The problem is that
Note that the bad Note also that I (unsurprisingly) don't hit an |
SummaryI can reproduce the error already at the first prompt for a password. Steps To Reproduce
EnvironmentOS: OpenBSD 7.0 -current |
I get the same error on Arch Linux:
Also, how should one specify an existing age key? |
Specifying an existing age key isn't support yet (I think). |
FTR: Keybase seems to have a similar issue, open since 2016 😢 |
And they also have another issue where the solution seems to really "just" be to have |
EnvironmentOS: OpenBSD 7.0 -current |
I got the same issue, i'm on a clean install on WSL and the GUI to ask the passphrase is only show when I use
|
After updating |
Same issue on a fresh install of Ubuntu 22.04.3 LTS. |
Summary
When setting up a new age backend on Kali Linux 2021.1 with
gopass init --crypto age
I get:Error: Failed to initialize store: failed to read user input: pinentry Error: unexpected response: ERR 83918950 Inappropriate ioctl for device <Pinentry>
Steps To Reproduce
gopass init --crypto age
Follow setup prompts
Enter password for your new keypair: Retype password for your new keypair: ⏳ This can take a long time. If you get impatient see https://github.com/gopasspw/gopass/b lob/master/docs/entropy.md Continue? [Y/n/q]: 🔑 Please enter your passphrase to unlock the age keyring 2021/03/25 11:24:59 failed to create new private key: failed to create new private key: pin entry Error: unexpected response: ERR 83918950 Inappropriate ioctl for device <Pinentry>
Expected behavior
Accepts PIN and creates new gopass store
Environment
Additional context
From the debug log:
Using ncurses pinentry, however thought this shouldn't matter since the fallback GetPin() would takeover if there was an error.
The text was updated successfully, but these errors were encountered: