Fedora 22: cannot use rpmsign in script - problem with pinentry-gtk-2

Pavel Lisý pavel.lisy at gmail.com
Tue Jun 2 07:25:56 UTC 2015


Hello

I've used rpmsign in script for long time. I worked fine. After upgrade to
Fedora 22 (from Fedora 20) something changed

This script:
------------- cut ------------------
export LANG=cs_CZ.UTF-8
if [ -n "$PASSPHRASE" ] ; then
/usr/bin/expect -f - << EOF
spawn rpmsign --addsign $RPMS_TO_SIGN
match_max 100000
fork
expect "Vložte heslovou frázi: "
send -- "${PASSPHRASE}\r"
expect eof
EOF
else
   echo "Set PASSPHRASE variable first"
fi
------------- cut ------------------

is starting now pinentry-gtk-2 and forces me to put passphrase to modal
window. 

Is any possibility how to disable this behaviour? Whatever I've found
through google didn't work for me.

Do you use rpmsign in script?


Pavel

-- 
Pavel Lisý <pavel.lisy at gmail.com>


More information about the devel mailing list