Re: help with gpg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 21 Aug 2011, Jerry Geis wrote:

>  Under Centos 5 I ran this command:
> gpg --passphrase-file /home/myuser/pass_phrase.txt -c
> ../Versions/program.x86_64.tgz
>
> and this worked fine.
>
> On CentOS 6 running the same command prompts me for the passphrase.
>
> Thats exactly what I dont want to have happen. I have the pass phrase I
> want in the file.
>
> After some searching it says I need to start the daemon like "gpg-agent
> --daemon"
> take the output:
> GPG_AGENT_INFO=/tmp/gpg-x4WH7K/S.gpg-agent:19156:1; export GPG_AGENT_INFO;
> and use it - which I did.
>
> Then when I run my command above I still get prompted for the pass phrase.
>
> What am I not doing correct?
>
> I just want a simple  phrase on a file that someone has to know before they
> can extract it. Nothing special going on....
>
> Thanks,
>
> Jerry
>

>From the man page:

"...Note that this passphrase is only used if the option --batch has also been given."
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux