[Solved] Seahorse and GPG

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] Seahorse and GPG

Postby petedan10 » Apr 12th, '16, 16:26

When trying to import a keyring, the keys are recognized and listed correctly, but pressing Import shows

Code: Select all
Import failed: Failed to execute child process "gpg" (No such file or directory)


gpg works fine from the command line, but adding keys using the command line doesn't result in them showing up in Seahorse.

Is this a general problem or something is misconfigured on my side?


(Edit: I thought I also wasn't able to create a new key but I was wrong)
Last edited by petedan10 on Jun 24th, '16, 09:56, edited 1 time in total.
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23

Re: Seahorse and GPG

Postby doktor5000 » Apr 13th, '16, 23:45

petedan10 wrote:but adding keys using the command line doesn't result in them showing up in Seahorse.

Can you post an example command you tried, including the output?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Seahorse and GPG

Postby petedan10 » May 1st, '16, 04:26

I would import an existing keyring containing only public keys using

Code: Select all
gpg --import mykeyring


and the keys were imported and could be used perfectly from the command line (I have since deleted the specific installation so I can't provide the output, but everything worked fine from the command line).

In the meantime, I tried a test using gpa and seahorse at the same time to see what happens. Using seahorse, I couldn't import an existing keyring, but using gpa the keyring was imported (into gpa) correctly.

However, gpa would give me a "key not valid" message when trying to verify a file with a known good signature and a correctly imported key.

I wonder if someone else has tried those functions and found them working properly or this could be a bug.
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23

Re: Seahorse and GPG

Postby petedan10 » Jun 24th, '16, 09:55

It looks like many people on many distributions have problems with Seahorse and that it suffers from various bugs.

While waiting for future versions here is what I found to be the best solution:

1. To import an existing keyring, use the terminal:

Code: Select all
gpg --import mykeyring.asc

Then in Seahorse check "Show any" under View menu

(if this doesn't work, try gpg2 instead of gpg)

2. To verify signatures using a GUI and right click, you have to install first Nautilus and then the Seahorse Nautilus extension.

I believe some custom editing with caja-actions will provide similar functionality with Caja, but I haven't worked on that yet.
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest