LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-07-2006, 02:16 PM   #1
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Rep: Reputation: 15
GPG wont encrypt file.


The syntax posted on the GPG website is obviously wrong.
gpg -e Recipient [Data} or gpg --encrypt Recipient [data]
I tried this and gpg gives a help message>>
gpg -options --encrypt [Filename]
So i try this and get the same result No encrpypted file
and the same help message.
I've created my keyrings and got no erorrs.
But I can't encrypt any files.
Some one please help.
Using Zenwalk (slackware) kernel 2.6.16.1

this is what i'm typing: gpg --encrpypt MyID MyFile
also tried gpg -out --encrypt Filename.
Nothing works, tried all syntax listed on the wesite.
 
Old 05-07-2006, 03:27 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I use the following to encrypt a file. I keep it in a script (with variables, not hard coded) and it's usually used so that if I'm encrypting a file for someone I also encrypt it for me so that I can cc the email to me:
Code:
gpg -u mymail@address.com -r recipient@address.com -r mymail@address.com --sign --encrypt filename
 
Old 05-07-2006, 04:15 PM   #3
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Original Poster
Rep: Reputation: 15
Ok thanks gilead.
I figured it out.
 
Old 05-07-2006, 06:05 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Glad to hear 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
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 10:16 AM
How to encrypt a password to the /etc/shadow file? Milosevic Linux - Newbie 2 12-13-2005 03:14 PM
knoppix wont let me remove a file blizunt7 Linux - Software 4 06-27-2005 04:24 PM
GPG encrypt text in terminal max-ebb Linux - Security 3 10-06-2004 07:51 PM
why wont this file and another one execute? Frustin Linux - Software 2 06-06-2002 07:47 AM

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

All times are GMT -5. The time now is 09:07 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