Pegasi Wiki

This wiki acts as a memo for our own work so why not share them? Feel free to browse and use out notes and leave a note while at it.

Install pinentry to Sailfish OS

Updated 25.11.2015: SailfishOS 2 support and more recent version of pinentry added. Tested with (Saimaa) (armv7hl).

Sailfish OS has GNUPG2 library which I like to utilize in file encryption since it is not mainstream and most likely phone thieves have hard time debugging my shell scripts :) I utilized GNUPG version 1 in my Nokia N9 and I assume the version 2 is capable of same tricks but I have not tried it yet since I got stuck in missing pinentry binary when generating keys to my mobile. So this tip comes fresh out of the oven.

I compiled a binary from pinentry sources to SailfishOS and which is the current update level in Sailfish OS at the time of writing. Look below how to install it:

  • grab the binary
  • unpack it: tar -xzf pinentry.tar.gz
  • place it to your place of liking, for example /home/nemo/bin
  • make a symbolic link: ln -s /home/nemo/bin/pinentry /usr/bin

Now feel free to generate keys with gpg2 –gen-key.

There is a version of pinentry available at but it did not work in my Sailfish OS 2 (Nexus 5). Please correct me if I am wrong.

 stars  from 0 votes

Leave a comment

obat benjolan , 2018/09/10 06:06
sakacamprung, 2016/05/14 03:47
thanks for the information that you say is very interesting and useful . please go back
Enter your comment:

  //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //place the needed HTML source codes BELOW this line