"--armor" ignored when using the "--set-filename" option?
ralfhauser at gmx.ch
Thu Jan 8 23:20:55 CET 2004
Thanks to Brian,
figured that the attachment name can be hidden with GPG.
However, I have troubles now getting "set-filename" to work together "armor"
(input and output are piped):
1) <<gpg --homedir
/tmp/gpg-jw-ewynt6dazpf4 --no-tty --always-trust --comment
yComment -a --set-filename a.txt --sign --passphrase-fd 0 --encrypt -r
87826F38 >> the armor command gets ignored and binary output is produced (I
am running this out of Java and get java.io.IOException: Broken pipe)
Changing to "--armor" has no effect.
2) I tried all kinds of other variants breaking the sequence of "gpg
[--homedir name] [options] command " (as per the man page) that all
<<usage: gpg [options] [filename]>>
e.g. put the set-filename to the end
(because on the command line "gpg --armor --encrypt --recipient
me at domain.com --set-filename foo.txt <inputFile >encryptedFile.asc") works,
Any hints would be highly appreciated!
P.S.: setting "--debug-all" didn't appear to provide further insights either
(no output in case 1), the below in case 2) ):
gpg: NOTE: no default option file `/tmp/gpg-jw-d9hmzoxay6qs/options'
usage: gpg [options] [filename]
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384
More information about the Gnupg-users