You are not logged in.

#1 2022-12-26 04:57:37

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

inappropriate ioctl for device in kwalletmanager

i reinstalled arch linux with kde plasma and when i installed google-chrome-stable it ask me to select the type of key, i selected gpg, created my gpg key and all, but when i open google-chrome-stable it says "inappropriate ioctl for device kde", please help

Edit: adding to .bashrc "export GPG_TTY=$(tty) now solves the problem but only for terminal, now in kwalletmanager says "No such file or directory" if I don't interact with gpg in terminal, if I put for example "echo "test" | gps --clearsign" and i put my secret key password it now open, but its only in that situation

Solution: install gtk 2 and leave empty ~/.gnupg/gnu.conf and gnu-agent.conf

Last edited by rVanxZ (2022-12-26 20:05:19)

Offline

#2 2022-12-26 07:51:06

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: inappropriate ioctl for device in kwalletmanager

"inappropriate ioctl for device kde" makes absolutely zero sense
You probably get some ENOTTY for some reason in some context.
Don't paraphrase, post the actual I/O, https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#3 2022-12-26 18:46:56

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: inappropriate ioctl for device in kwalletmanager

I fixed the title but can anyone help?

Last edited by rVanxZ (2022-12-26 18:48:24)

Offline

#4 2022-12-26 19:00:04

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: inappropriate ioctl for device in kwalletmanager

I used this solution but it now pop up that the is no data https://d.sb/2016/11/gpg-inappropriate- … ice-errors

Offline

#5 2022-12-26 19:05:16

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: inappropriate ioctl for device in kwalletmanager

I solved it just doing echo "test" | gpg --clearsign, but it's just temporally, i need to do it when I start my pc

Last edited by rVanxZ (2022-12-26 19:07:05)

Offline

#6 2022-12-26 19:16:42

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: inappropriate ioctl for device in kwalletmanager

The pinentry-mode loopback is the part that do the no data error

Offline

#7 2022-12-26 19:29:04

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: inappropriate ioctl for device in kwalletmanager

Stop bumping (edit your post if nobody has replied yet) and and stop paraphrasing.
I'll just guess you're originally hitting https://wiki.archlinux.org/title/GnuPG# … for_device and now have glossed over that but still cannot open the gpg.
=> https://wiki.archlinux.org/title/GnuPG#pinentry

Offline

#8 2024-05-11 03:13:57

arkenemy
Member
Registered: 2024-05-11
Posts: 1

Re: inappropriate ioctl for device in kwalletmanager

Thanks @seth!

Offline

Board footer

Powered by FluxBB