meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sw:gpg:forwarding [2022/10/07 22:04] niziak |
sw:gpg:forwarding [2022/11/26 10:30] (current) niziak |
||
---|---|---|---|
Line 71: | Line 71: | ||
echo TEXT | gpg -s | echo TEXT | gpg -s | ||
</code> | </code> | ||
+ | |||
+ | ===== Issues ===== | ||
+ | |||
+ | ''gpg: signing failed: Inappropriate ioctl for device'' | ||
+ | |||
+ | <code bash> | ||
+ | gpg-agent[2022]: command 'SCD' failed: Forbidden | ||
+ | gpg-agent[2022]: command 'KEYINFO' failed: Forbidden | ||
+ | gpg-agent[3881]: No $DBUS_SESSION_BUS_ADDRESS found, falling back to curses | ||
+ | gpg-agent[3881]: Failed to lookup password for key n/63B10EA3FEB8F818AEC11B943DFF4F7A33E4624D with secret service: Cannot autolaunch D-Bus without X11 $DISPLAY | ||
+ | gpg-agent[2022]: failed to unprotect the secret key: Inappropriate ioctl for device | ||
+ | gpg-agent[2022]: failed to read the secret key | ||
+ | gpg-agent[2022]: command 'PKSIGN' failed: Inappropriate ioctl for device <Pinentry> | ||
+ | </code> | ||
+ | |||
+ | Problem with displaying password prompt. | ||
+ | Solution (exec on host) | ||
+ | <code bash> | ||
+ | echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2>&1 | ||
+ | </code> | ||
+ | |||