LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2017, 08:28 AM   #1
whizfi
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
Question GPG and Evolution key problem


For the last 2 days (literally) I am trying to get PGP/GPG working on my Linux Mint 18.2.

I ran into some problems which weren't written in any text book or I missed it.

I created new gpg key with gpg and added them to keyring. I can see the key I created in Seahorse as well as GPA.

I have written the key id to the space in Evolution.

Problems:

1. Whenever I try to send a signed message I get the error "Could not create message. Because "gpg: skipped "1234567878XXX": No secret key gpg: signing failed: No secret key", you may need to select different mail options.

2. Though I manage to send GPG encrypted message, the recepient cannot unencrypt the message (I sent mail to myself).

What could I be doing wrong
 
Old 11-13-2017, 07:18 AM   #2
whizfi
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by whizfi View Post
For the last 2 days (literally) I am trying to get PGP/GPG working on my Linux Mint 18.2.

I ran into some problems which weren't written in any text book or I missed it.

I created new gpg key with gpg and added them to keyring. I can see the key I created in Seahorse as well as GPA.

I have written the key id to the space in Evolution.

Problems:

1. Whenever I try to send a signed message I get the error "Could not create message. Because "gpg: skipped "1234567878XXX": No secret key gpg: signing failed: No secret key", you may need to select different mail options.

2. Though I manage to send GPG encrypted message, the recepient cannot unencrypt the message (I sent mail to myself).

What could I be doing wrong
After hours and hours of researching I realized that the problem wasn't from Evolution, nor seahorse or gpa but the gpg directory gnupg. So I simply deleted all my existing normal and secret keys as well as removed the gnupg directory with sudo rm -r .gnupg and started from the beginning by typing gpg2 --gen-key to create my private key. Later, I created other keys by typing gpg2 --full-gen-key

Though Evolution didn't still see the key automatically, Seahorse did see it, even the signatures and even allowed me to create further keys. Then all I had to do was to enter the PGP Key Id manually to Evolution's security settings and it was done ! Now it is possible to digitally sign messages as well as encrypt (and decrypt of course) them.

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 10:37 AM
problem with gpg key kpachopoulos *BSD 5 04-17-2007 02:32 PM
GPG secret key problem nutthick Linux - Software 1 07-29-2006 02:09 PM
yum and gpg key problem Richlw Fedora 1 06-30-2005 01:01 AM
GPG Key problem satimis Fedora 2 04-13-2005 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration