Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gpg, seahorse problem {SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 322
Location: USA

PostPosted: Mon Feb 12, 2024 5:49 pm    Post subject: gpg, seahorse problem {SOLVED] Reply with quote

I have app-crypt/gnupg-2.2.41 and seahorse installed, but apparently somehow my system is messed up. Studied the gpg manual, but could not really correct the situation.
Problem #1; Seahorse sign a public key fails
Problem #2: GnuPG - Gentoo wiki fails when trying to follow instructions;
Quote:
Once the key type is selected, a expiration date should be set. ...
then
Quote:
Finally, a passphrase must be added to the key.
After setting expiration date and filling out user details (emails, etc) a final message comes on allowing final review and modification.
This part is not in the Gentoo wiki instruction, and there is no way to continue. If I chose <enter> it keeps offering choice, and if I choose (Quit) then process is cancelled. No passphrase question ever came up.
I wanted to do this so that I can sign a key since Seahorse ended up in a General error.

Once the basic setup is fixed I'd like to test exchanging gpg encrypted emails and or documents. I'm learning encryption, keys and certificate concepts.

Thanks, jankom
P.S. earlier orignal post edited


Last edited by jankom on Thu Apr 18, 2024 7:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 322
Location: USA

PostPosted: Sat Mar 09, 2024 8:24 pm    Post subject: Update - partial solution Reply with quote

1) Created file "~/.gnupgp/gpg.conf"
Code:
## JGK - 02/23/2024: configuration created based on https://wiki.gentoo.org/wiki/GnuPG
keyserver keys.openpgp.org
2) Had to enable password dialogue in seahorse
Code:

   su -c "eselect pinentry set pinentry-qt5"
   eselect pinentry list

2) Comment: Although https://wiki.gentoo.org/wiki/GnuPG is a detailed instruction the key example is missing some steps.

Outstanding issues:
a) seahorse sync crashes
Code:
janos@andraslinux ~ $ seahorse

(seahorse:14439): seahorse-WARNING **: 11:28:48.287: server-category.vala:52: Unsupported scheme 'ldap'

(seahorse:14439): GLib-GIO-CRITICAL **: 11:29:19.737: GTask 0x5640ba0e4940 (source object: 0x5640b9de8840, source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.

(seahorse:14439): GLib-GIO-CRITICAL **: 11:29:19.737: g_task_get_task_data: assertion 'G_IS_TASK (task)' failed

(seahorse:14439): GLib-GIO-CRITICAL **: 11:29:19.737: g_task_get_cancellable: assertion 'G_IS_TASK (task)' failed
Segmentation fault
janos@andraslinux ~ $
but I was able to publish my key with command line:
Code:
janos@andraslinux ~ $ gpg --send-keys 952AA92E7B5FA7A5

b) Using evolution for emailng S-mime is not working. Should this be a separate topic or maybe on a different forum?

This posting was edited 4/10/2024 by jankom

jankom
Back to top
View user's profile Send private message
jankom
Guru
Guru


Joined: 30 Aug 2021
Posts: 322
Location: USA

PostPosted: Thu Apr 18, 2024 7:03 pm    Post subject: Closing this topic Reply with quote

1) seahorse sync crashes - OK, I can use gpg command line. Tested gpg sign and gpg encryption with evolution, works OK
2) S/MIME I was able to make it work by obtaining an S/MIME certificate through a github project: acme_email. As I became more educated I realize that S/MIME is another method to sign/encrypt email messages.

jankom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum