Why GPG doesn't use filename inside encrypted file?

Todd Freedom_Lover at pobox.com
Tue Apr 20 06:30:55 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ivan Boldyrev wrote:
> I renamed some-file.gpg to data.gpg.  Now when I decrypt data.gpg with
> --decrypt-file or without options output file goes to ./data.  (I do
> not use --decrypt because output goes to stdout if I do not specify
> output file explicitely).
> 
> How can I decrypt file so that original name of file is restored
> automatically?

Does --use-embedded-filename do what you want?

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Hell hath no fury like a bureaucrat scorned.
    -- Dr. Milton Friedman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQFAhKd/uv+09NZUB1oRAsZFAKDjfcxGtkaqq4TIa7qiPBK7xkJvVQCeNN9G
0D40MKssYDNv2281y24J9Wo=
=vyO/
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list