LogoSailfishOS Open Build Service > Projects
Log In

Build packages for OpenPGP email support

No description set

Comments for home:dcaliste:OpenPGP (3)

Damien Caliste dcaliste wrote about 4 years ago

How to: * add repo with 'ssu ar http://repo.merproject.org/obs//home:/dcaliste:/OpenPGP/sailfish_latest_armv7hl' * refresh repo with 'ssu ur' and 'devel-su pkcon refresh' * install everything with 'devel-su pkcon install gnupg2 gpgme libqmfclient1-qt5 libqmfmessageserver1-qt5 nemo-qml-plugin-email-qt5 nemo-qml-plugin-gpg jolla-email-patch' * Receiving signed emails should work out of the box (import keys on commandline with 'gpg2 --keyserver keyring.debian.org --recv-keys 8C2ED8FF' for instance) * Sending signed emails is a bit more complicated at the moment due to the fact that the passphrase dialog is not integrated into Lipstick yet: - There should be a new pinentry app in the launcher, run it and keep it runing - run jolla-email from the command-line with 'GPG_AGENT_INFO=/home/nemo/.gnupg/S.gpg-agent:0:1 invoker --type=silica-qt5 -s /usr/bin/jolla-email' - create a new email, select your private key after taping on the '...' and send it, nothing visible should happen. - switch to the pinentry app, there should be a dialog asking for passphrase, after entering the passphrase, go back to the email app, the draft mail should be sent. - one can create a signing key on desktop and export it to the phone ('gpg2 --gen-key' followed by 'gpg2 --export-secret-keys ABCDEF > mykey' on desktop and a 'gpg2 --import < mykey' on device). The creation can be done directly on CLI on the phone, if the GPG_AGENT_INFO is properly set, the pinentry app will ask for new passphrase.

Damien Caliste dcaliste wrote over 3 years ago

The above instruction are still correct today, but in addition to test, one should also install sailfish-components-gpg during third step.

Damien Caliste dcaliste wrote over 3 years ago

Additional systemctl --user daemon-reload and systemctl --user restart messageserver5 are also required after installation.