Comment 6 for bug 1852210

Revision history for this message
James Atayi (dabayi) wrote :

The error messages “Import failed: Fatal: can't create directory '/home/username/~/.gnupg': No such file or directory” and "Couldn't generate PGP key" only come for me when trying to import or create a key from LibreOffice Writer Version: 6.0.7.3, Build ID: 1:6.0.7-0ubuntu0.18.04.10
I am using Ubuntu Version: 18.04.4 LTS (Bionic Beaver)

From LibreOffice:
File -> Digital Signatures -> Digital Signatures …
Create a new GPG Key ends with: "Couldn't generate PGP key"
Import an existing GPG Key ends with: “Import failed: Fatal: can't create directory '/home/username/~/.gnupg': No such file or directory”

When started from LibreOffice Writer there is no GPG key available. But I already created one GPG Key that is available when I start from the applications manager.

From the application’s manager.

I can easily create and export a new GPG key when I start the application from the Applications manager. And the created GPG keys are visible in the GUI