Ask Your Question
0

OpenPGP in LO6

asked 2018-02-01 20:07:09 +0200

bulldozer gravatar image

Hi,

I just tried the new LibreOffice 6. It's great but I can't select an PGP-Key in the preferences. The dropdown is just empty but I have all the gpg-tools installed on my mac. Can anyone help how I can fix this? The help files dont contain anything about it yet.

Thanks

edit retag flag offensive close merge delete

Comments

I have the same issue. LO6.0.21, GPG Suite 2018.1 both fresh installs running on MOS 10.13.3.

Under Libreoffice > Preferences > Libreoffice > User Data, OpenPGP signing key and OpenPGP encrypting key both state No key as the only option

Under Libreoffice > File > Digital signatures there are no certificates shown

GPG Suite 2018.1 works seamlessly with Apple Mail following install

So Like Bulldozer, how do I get LibreOffice to detect/see my GPG keys?

MykR gravatar imageMykR ( 2018-03-17 08:45:51 +0200 )edit

4 Answers

Sort by » oldest newest most voted
1

answered 2018-02-06 13:53:37 +0200

HI5 gravatar image

Same problem on my devices! Dell Latitude E6430 with Windows 10 Prof 64bit (16299.214) Lenovo ideapad MixII with Windows 10 64bit Home (16299.214)

Created fresh user account; reinstalled LO 6; reinstalled gpg4win gpg.conf = present ... \GnuPG\bin = in path

In LO 'Options/user data/encrytion' no keys are displayed In 'safe' dialogue' 'encrypt with gpgkey' the list of certificates is empty.

As it looks LO 6 just doesn't find the user gpg certificates!

As for the moment the "sign with openpgp" feature and "encrypt with openpgp" feature is competely useless

edit flag offensive delete link more
1

answered 2018-02-02 00:09:28 +0200

thb gravatar image

updated 2018-02-02 00:10:18 +0200

Hmm, so it works here out of the box with GPGTools - it seems gpgme has some hardcoded path names it checks, and then falls back to looking in $PATH.

What needs to be there is gpgconf, and perhaps also gpg/gpg2 binaries. Which gpg tools do you have installed, and where?

edit flag offensive delete link more

Comments

gpg (as link to gpg2), gpg2, gpgme. gpg as gpg should not be used for security reasons. All are in the $PATH variable.

bulldozer gravatar imagebulldozer ( 2018-02-02 07:04:59 +0200 )edit

I think gpgme initially looks for gpgconf, and calls that to obtain paths to everything else

thb gravatar imagethb ( 2018-02-02 16:08:00 +0200 )edit

Well, thats possible but LibreOffice seems not to work even with gpgme installed. The dropdown fields are still empty.

bulldozer gravatar imagebulldozer ( 2018-02-02 16:12:58 +0200 )edit
0

answered 2018-02-07 09:49:27 +0200

What type of file are you trying to sign? For me it works with odt documents on Debian, but not with docx files (presumably a limitation of this format?)

edit flag offensive delete link more

Comments

using odt, ods etc. Obviously problem with LO6 Windows version

HI5 gravatar imageHI5 ( 2018-02-07 16:25:22 +0200 )edit
0

answered 2018-12-20 00:55:01 +0200

cab404 gravatar image

updated 2018-12-20 00:56:00 +0200

So, I ended up basically writing my own decryptor. https://github.com/cab404/libreFromGPG

works only for linux or through cygwin, I think.

That encryption is really a pain in the back. Seriously, that is one of the most stupid things I've ever seen in software. You are making "Encrypt with GPG" flag in one of the most visible places, without any "EXPERIMENTAL! THINK TWICE!!11", and do not provide ANY method of decryption. Meh.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-02-01 20:07:09 +0200

Seen: 2,663 times

Last updated: Dec 20 '18