answered
2014-01-04 11:04:29 +0200
WORKAROUND: Compiling and installing your own Pinentry.
(I can write it in Spanish if anyone needs it - Puedo escribirlo en español si alguien lo necesita)
This one in meant to be a temporary solution, until Jolla/Mer people upload a Pinentry package to the official repos. Both programs are exactly the same, but official packages will benefit of automatic security updates.
Developer mode must be enabled.
Android users: don't try this at home :P
1-- Open terminal. Install some handy packages. When asked, say "yes" (y):
pkcon install gcc make ncurses-devel gcc-c++
2-- Using your browser, download Pinentry "tarball" and save it somewhere. I chose "Downloads" folder.
ftp://ftp.gnupg.org/gcrypt/pinentry/
(Tested with 0.7.3. May work with other versions. You must download one of the blahblahblah.tar.gz "big" files. Those other ones, diff.gz, sig, bz2, etc are not needed)
3-- Return to Terminal. "Move" to the target folder:
cd Downloads
4-- Tar.gz are compressed files like ZIP or RAR. To decompress and extract files:
tar zxf pinentry-blahblahblah
(Terminal hint: just type pinentry, press TAB and the shell will autocomplete file's name)
5-- Move in:
cd pinentry-blahblahblah
(apply the same #4 hint)
6-- "Configure" (no TAB trick here, sorry; you must enter this line without mistakes):
./configure --enable-pinentry-curses --disable-pinentry-gtk2 --disable-pinentry-qt --without-x
After some blahblah from the terminal (hint: keep your Jolla active or it will go to sleep), it will show a message like this:
configure:
Pinentry v(your version) has been configured as follows:
(some config info)
If not, an error has happened.
7-- Let's compile, yeah!
make
(Lots of blahblah. No "OK" final message, just "leaving" and "entering" directories. If there's anything wrong, it will send an "error")
8-- Log in as root: type devel-su
and your Nemo's password.
9-- Let's install:
make install
10-- Add a handy link:
ln -s /usr/local/bin/pinentry-curses /usr/bin/pinentry
11-- Return to normal user and you're done. Now GnuPG will succeed when asking for passwords.
exit
If Pinentry official package is finally available, you probably want to uninstall "our" Pinentry in order to avoid conflicts. Using the terminal, log in as root, move to the uncompressed directory and type:
make uninstall