LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-10-2005, 08:04 AM   #1
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 837

Rep: Reputation: 35
GnuPG file decrypting


GnuPG has an extensive howto concerning asymmetric encryption that contains a few lines about encrypting a file with a symmetric key but no mention at all about recovering the original content of this file.

The command is:
gpg --output [output filename] --symmetric [input filename]

What is the command to decrypt this (output filename) file?

Thank you for your help.
 
Old 08-10-2005, 09:01 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
"gpg --decrypt filename" doesn't work?
 
Old 08-10-2005, 09:49 PM   #3
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 837

Original Poster
Rep: Reputation: 35
"gpg -decrypt filename" gives a message:
gpg: conflicting command

The proper command could probably be found by trial and error but I think that is a bad way of finding it.
 
Old 08-10-2005, 10:32 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
I believe you are using only a single hyphen instead of two.

Should be this:
gpg --decrypt filename

Not this:
gpg -decrypt filename
(which produces the conflicting command error)
 
Old 08-11-2005, 12:12 AM   #5
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 837

Original Poster
Rep: Reputation: 35
Yes that was the problem. It works.
Thank you.
 
  


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
strategy for decrypting Y0jiMb0 Programming 9 11-23-2005 07:14 AM
GnuPG - best permissions & security of decrypted file - help please emuub Linux - Security 1 10-14-2005 05:28 PM
Decrypting files using GNU PG Mark_667 Linux - Security 9 10-12-2005 12:21 PM
decrypting a vim file djgerbavore Linux - Newbie 1 06-07-2005 01:38 PM
decrypting a file using "crypt" & "rot13" JAMZM101 Solaris / OpenSolaris 1 03-07-2004 09:32 AM


All times are GMT -5. The time now is 12:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration