Question about syntax of a command

View: New views
5 Messages — Rating Filter:   Alert me  

Question about syntax of a command

by Faramir-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,
        In the hypothetical case I want to encrypt a file, using 3DES symmetric
algo, and without using asymmetric encryption (the file would just be
encrypted with 3DES and a password provided by the user), how would it
be the syntax I must enter? I read the manual, but got confused about
that...

        Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJK6ywkAAoJEMV4f6PvczxA1vkH/idJj4a0qbak0L3ukaPARB5I
TTN75xGE45X2ag2GOh4UR4wTamn9/x5ukry/br1T8dQ3sZJEEx7Bg/GBz3uvi37V
1yIwTr83H/qKGofQoi+5THGDWrBFAYUYpxshIxD7p60pBYLnb3+c9Ni7XaXBNG/V
Ip20LWt+z+YuNtVRJsvrpGWnZfoWj+zKvleNti4huvlVuRb0SbEzTDPSiQHA9DU7
gm5LtKdmIM5ggwAIinlGgq4VmXIYr16VA6E5a1XhMCBtwlxWZeWvbqWX+EdwdDNV
UmHoKJxN7VU0HGtrYkZr3jTrRIee/l35mZuT25tXwDzQ6kZHyGOXa760yZZUG2o=
=Xzc5
-----END PGP SIGNATURE-----

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

Re: Question about syntax of a command

by David Shaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 30, 2009, at 2:10 PM, Faramir wrote:

> Hello,
> In the hypothetical case I want to encrypt a file, using 3DES  
> symmetric
> algo, and without using asymmetric encryption (the file would just be
> encrypted with 3DES and a password provided by the user), how would it
> be the syntax I must enter? I read the manual, but got confused about
> that...

gpg --cipher-algo 3des --symmetric <your-file-here>

David


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

Re: Question about syntax of a command

by Daniel Kahn Gillmor-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/30/2009 02:10 PM, Faramir wrote:
> In the hypothetical case I want to encrypt a file, using 3DES symmetric
> algo, and without using asymmetric encryption (the file would just be
> encrypted with 3DES and a password provided by the user), how would it
> be the syntax I must enter? I read the manual, but got confused about
> that...

I think you want:

 gpg --cipher-algo 3DES --symmetric test.txt

hth,

        --dkg



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

signature.asc (909 bytes) Download Attachment

Re: Question about syntax of a command

by Faramir-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David Shaw escribió:
> On Oct 30, 2009, at 2:10 PM, Faramir wrote:
>
>> Hello,
>>     In the hypothetical case I want to encrypt a file, using 3DES
>> symmetric
...

> gpg --cipher-algo 3des --symmetric <your-file-here>

  Thanks, David (and Daniel), I was used to --command-option, and never
had to add a second command. Also, usually I rely on a GUI.

   Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJK6zLOAAoJEMV4f6PvczxAW7EH/3mqAqxsIU39RWYagYnCJ6cn
jyEsARtPHR11YLDNHwAoxX7y59jQNqZWP0QJ7gUSqgC6VLK/n/bu8GZPixPa2tTi
PTWNre5aggZCBvcm28iTOBaICgnIb6HOz9WGyGvdUCkohqJGOmc0muWaTA/lkkms
+w3v0BnQpNLwsYHzE5fB6VzN1e/bjUiHGEGgQMQWwlGsvBlWyZzMUoL0x9qEwDel
nlIv0hFeeRhXw64A3V7CHzD54QwrXYHqKmMYUCJ9etTIJxIfIq8TCfYg9XTuP0tZ
HRANO6JKwLcts0bEVQoMuHNLyEX7u28ueldqcpSFf+/WJVQkWhaAFAh2C7YrLvU=
=sbre
-----END PGP SIGNATURE-----

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

Re: Question about syntax of a command

by Laurent Jumet-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


Hello Faramir !

Faramir <faramir.cl@...> wrote:

>  In the hypothetical case I want to encrypt a file, using 3DES symmetric
> algo, and without using asymmetric encryption (the file would just be
> encrypted with 3DES and a password provided by the user), how would it
> be the syntax I must enter? I read the manual, but got confused about
> that...

gpg --symmetric [--sign] --cipher-algo 3DES [--no-options] <FILE>

- --
Laurent Jumet
      KeyID: 0xCFAF704C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iHEEAREDADEFAkrre2YqGGh0dHA6Ly93d3cucG9pbnRkZWNoYXQubmV0LzB4Q0ZB
RjcwNEMuYXNjAAoJEPUdbaDPr3BMlEQAoLaW7KMZIlXCGLN3sZnjrwQ7IFiWAKDW
dlqCRXBwNsHRTnfEy3eYz7/SYw==
=I+3V
-----END PGP SIGNATURE-----

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