Re: Usage of --symmetric

2014-01-22 Thread Pete Stephenson
On Wed, Jan 22, 2014 at 8:59 AM, Rahul R  wrote:
> Hi all,
>
> I am trying to run
>
> "gpg --symmetric test.txt"
>
> But its asking for Passphrase. Is there any way to skip this while running
> this command?

No.

When you symmetrically encrypt something you need to specify the
passphrase that is used as a key to encrypt and decrypt that file.

-- 
Pete Stephenson

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Usage of --symmetric

2014-01-22 Thread fa-ml
On Wed, Jan 22, 2014 at 01:29:11PM +0530, Rahul R wrote:
> Hi all,
>
> I am trying to run
>
> "gpg --symmetric test.txt"
>
> But its asking for Passphrase. Is there any way to skip this while running
> this command?

gpg --symmetric -o output.pgp --passphrase mypasshere input.txt

(found checking `man gpg`). Of course there are problems with this approach
(using --passphrase-fd and --passphrase-file makes things only marginally
safer).

Encryption via public-key requires no password at all, so maybe you
are better off switching to it, depending on your use case.



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Usage of --symmetric

2014-01-22 Thread Rahul R
Hi all,

I am trying to run

"gpg --symmetric test.txt"

But its asking for Passphrase. Is there any way to skip this while running
this command?

-- 
Thanks,
Regards,
Rahul R

  .~.
  /V\
 // \\
/(   )\
 ^`~'^

Mob: 09008030921
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users