fix(rbw): symlink system pinentry to headless pinentry-rbw #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/rbw-pinentry-symlink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
rbw ignores the pinentry config setting and calls /usr/bin/pinentry directly. This caused "Inappropriate ioctl for device" errors in containers since pinentry-curses requires a TTY.
Fix: symlink /usr/bin/pinentry -> /usr/local/bin/pinentry-rbw so rbw uses our headless script regardless of config.
Also improved pinentry-rbw script:
IFS= read -rfor safer line readingTested in research agent container -
rbw listandrbw getnow work correctly.