Ask Your Question
1

ubuntu 17.10 digital signature import failed

asked 2018-02-21 17:16:41 +0200

whitehat gravatar image

updated 2018-02-24 13:16:47 +0200

I'm running ubuntu 17.10 with LO 6.0.1~rc1. I'm attempting to import a public key. I select File->Digital Signatures->Start Certificate Manager->File->Import. I select the key. I press the import button and receive "import failed: Fatal: can't create directory '/home/<user>/~/.gnupg': no such file or directory.

Ideas? Thank you

edit retag flag offensive close merge delete

Comments

I'm not sure whether this will help, but probably worth taking a look at this Q&A on AskUbuntu just in case: "How do I make a digital certificate available to LibreOffice Writer for digital signatures?". But your error message suggests something else is going on -- do you have permissions to the path that is specified?

David gravatar imageDavid ( 2018-02-24 14:47:38 +0200 )edit

I have no control over the path that LO is attempting to access. If you notice the path it uses it is /home/<my user="" name="">/~/.gnupg Notice the added "`" (i.e,. tilde) between the username and the .gnupg directories. That's the problem. I have complete permissions on my own directory and the .gnupg directory. The directory it should be using is /home/<my username="" .gnupg="" after="" reading="" your="" comment="" i="" then="" looked="" for="" a="" way="" to="" change="" the="" path="" in="" lo.="" there="" is="" none.<="" p="">

whitehat gravatar imagewhitehat ( 2018-02-25 00:33:22 +0200 )edit

One would think the path would be located in Options->Paths. or in Security but it is not

whitehat gravatar imagewhitehat ( 2018-02-25 00:37:29 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-03-04 09:49:39 +0200

uligue gravatar image

Since Firefox version 56 (not the ESR version), Mozzila changes the default dbm format from files cert8.db, key3.db and secmod.db to sql format cert9.db, key4.db and pk12mod.db. These new format were not recognized by LO, only the dbm format or from some Certificate Manager, like as Kleopatra that is called when "Start Certificate Manager" button is pressed. The is another "command-line" (hard) alternative by using the libnss3-tool package. This package installs certutil and pks12util. certutil and pks12util handle the both format (dbm and sql). You can export the certificates from firefox and create the dbm files (cert8.db, key3.db, etc) at same path of your firefox profile and all certificates will be available to LO, after pressing "Sign Document".

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-02-21 17:16:41 +0200

Seen: 344 times

Last updated: Mar 04 '18