question

paul.healy@goodyear.com paul.healy@goodyear.com
Thu Sep 19 19:28:01 2002


I had same/similar issue and resolved by
creating the a ".bat" file with the single line of code
which explicitly names the output file  the same as original
but with a ".asc" suffix.  To encrypt I simply call the bat with the
filename as a parameter. Its worth noting that no matter what the
encrypted file is named,  you can get the original filename backout
by using the flag  --use-embedded-filename  when the decrypt command is
issued.

The following command encrypts with your public key and signs with my
secret key without any user input/intervention.

"c:\gnupg\gpg.exe " --passphrase-fd 0 --encrypt --armor --yes --recipient
you@overthere.com  --local-user me@here.com  --sign  --output "%1.asc" "%1"
< "C:\passphrase.txt"





Antonio.Moreno-Gomez@harrisbank.com@gnupg.org on 09/19/2002 12:04:46 PM

Sent by:  gnupg-users-admin@gnupg.org


To:   gnupg-users@gnupg.org, gnupg-devel@gnupg.org
cc:
Subject:  question




This is a question or trouble report when using gnupg.


When using the following command:   this is for gnupg1.06

gpg -r mykey --yes --always-trust --encrypt myfile

when myfile is                this is the output file

abc.txt                       abc.gpg
abc                     abc.gpg

abc.stu.txt             abc.stu.txt.gpg
abc.xyz.exe.txt               abc.xyz.exe.txt.gpg

when abc.txt is used as the input file the expected file would had been
abc.txt.gpg but instead I get abc.gpg,  which is the same as the output for
encrypting abc

Is this a bug or is this the way this software was designed?    Assuming
this is wrong is there any fix for that or any detour?

When using regular pgp  trying to encrypt abc.txt  the output file is
abc.txt.pgp which is different from  the pair abc ----> abc.pgp

thank you.




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