"--armor" ignored when using the "--set-filename" option?
vedaal at hush.com
vedaal at hush.com
Fri Jan 9 07:57:14 CET 2004
>Message: 5
>Date: Thu, 8 Jan 2004 23:20:55 +0100
>From: "Ralf Hauser" <ralfhauser at gmx.ch>
>Subject: "--armor" ignored when using the "--set-filename" option?
>To: <gnupg-users at gnupg.org>
>Message-ID: <KJEOKFJJEDMIGBEEJCHCGEAEAAAB.ralfhauser at gmx.ch>
>Content-Type: text/plain; charset="US-ASCII"
>
>Thanks to Brian,
>(http://lists.gnupg.org/pipermail/gnupg-users/2004-January/021198.html)
>I
>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
>produced
> <<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!
try gpg '-a --store' instead of just '-a'
and then the rest of your commands
vedaal
Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2
Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434
Promote security and make money with the Hushmail Affiliate Program:
https://www.hushmail.com/about.php?subloc=affiliate&l=427
More information about the Gnupg-users
mailing list