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 03-03-2016, 01:16 PM   #76
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,031
Blog Entries: 17

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115

Gregg,

Quote:
ROFL Am I turning into LQ's version of "Annoying Man"?
On the advice of my attorney I decline to answer that question.
 
Old 03-04-2016, 12:53 AM   #77
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by sgosnell View Post
Add the line
Code:
default-recipient username
anywhere in the file.

The username you use is the user you log in with. Not the computer name, your personal username. It may be greg, it may be sunshine, I have no idea. Run the command "users" in a terminal, and it will tell you. Assuming your username is greg, use the following line:
Code:
default-recipient greg
Your public key should not be named "public key". Use gpa key manager to export it to a file. You'll be prompted for a filename.

BTW, those German references are certificates that have been installed. Ignore them for now.
Okay, got through everything good. I think I took it as far as I could. Added the recipient line to the file using Nano. Saved it. Exited.

Then I tried: gpg -e filename (with my file name, of course). Then I got:

--No such user ID
--current recipients
--Enter the user ID. End with an empty line.


I put my user ID in and skipped a space but it just kept giving me the same thing.

I figure it was just because the terminal didn't have my public key.

And I changed the name (I didn't regenerate a new public key I just changed the file name from "public key" to something else) of the public key file.

So now I get the public key into the terminal somehow or what?

Thanks.
 
Old 03-04-2016, 12:54 AM   #78
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by beachboy2 View Post
Gregg,



On the advice of my attorney I decline to answer that question.
Ha ha. The question is why do you have an attorney? Up to no good?
 
Old 03-04-2016, 10:17 AM   #79
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,060

Rep: Reputation: 281Reputation: 281Reputation: 281
You need to configure gpg properly. You can do that via gpa. Another fix would be to edit gpg.conf again, and instead of the default recipient, add a default key. You can get your key id from the gpa key manager or from the command line with
Code:
gpg --list-keys
It may be time to start reading some man pages.
 
1 members found this post helpful.
Old 03-04-2016, 09:41 PM   #80
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by sgosnell View Post
You need to configure gpg properly. You can do that via gpa. Another fix would be to edit gpg.conf again, and instead of the default recipient, add a default key. You can get your key id from the gpa key manager or from the command line with
Code:
gpg --list-keys
It may be time to start reading some man pages.
Thanks sgosnell. Yeah, I've been skating on thin ice trying to do all this stuff without a base of knowledge or basic understanding. It's like one false move and I'm stymied. I'll study it some more on my own and come back to the forum if I have more questions. In the meantime I think it's time to give this thread a rest. Thanks so much. I have learned an absolute ton from from you and really appreciate it!
 
  


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
[SOLVED] Non-system partition encryption versus container-file encryption of equal size Ulysses_ Linux - Security 13 07-17-2015 07:38 PM
new gpg encryption/signing frontend -- looking for name suggestions ryran Linux - General 13 01-27-2012 02:09 PM
Linux password encryption and data encryption Tux-Slack Programming 4 06-20-2007 06:46 AM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM

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

All times are GMT -5. The time now is 08:06 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
Open Source Consulting | Domain Registration