Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-01-2009, 10:09 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
GPG with out passphrase option for decryption


Is there any way to over ride gpg passphrase option like the below code..

gpg -o <out file name> -d <file name to be decrypted>
Because in some scripts in my work environment ppl have just given this command...
I am not sure how it works... i normally use the below code

/bin/echo "$PASSWORD" | gpg --yes --passphrase-fd 0 -o <out file> -d <decrypt file>
can some one help me to attain the gpg possiblity for not mentioning the passphrase..

Thanks in advance...
Old 07-01-2009, 10:12 AM   #2
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
man gpg


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] Gpg decryption ZAMO Linux - General 6 07-22-2010 08:01 AM
Cracking a gpg pgp key (passphrase) DaRkBoDoM Linux - Security 1 11-20-2007 04:32 AM
Revoking GPG key with only passphrase and public key djib Linux - Security 2 03-13-2007 04:20 AM
gpg encrypted files -- recovery/decryption? 187807 Slackware 2 03-24-2005 08:04 PM
KMail and PGP/GPG not working - doesn't ask for passphrase steve1401 Linux - General 2 02-08-2005 07:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 PM.

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