mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
* g10.c (main): Disable --textmode when encrypting (symmetric or pk) in
--pgp2 mode as PGP 2 can't handle the unknown length literal packet. Reported by Michael Richardson.
This commit is contained in:
parent
745d270c07
commit
4d640a3384
@ -1,3 +1,9 @@
|
||||
2002-09-30 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* g10.c (main): Disable --textmode when encrypting (symmetric or
|
||||
pk) in --pgp2 mode as PGP 2 can't handle the unknown length
|
||||
literal packet. Reported by Michael Richardson.
|
||||
|
||||
2002-09-29 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* keyserver.c (parse_keyserver_uri): Force the keyserver URI
|
||||
|
11
g10/g10.c
11
g10/g10.c
@ -1770,9 +1770,20 @@ main( int argc, char **argv )
|
||||
}
|
||||
else if(cmd==aSym)
|
||||
{
|
||||
/* This only sets IDEA for symmetric encryption
|
||||
since it is set via select_algo_from_prefs for
|
||||
pk encryption. */
|
||||
m_free(def_cipher_string);
|
||||
def_cipher_string = m_strdup("idea");
|
||||
}
|
||||
|
||||
/* PGP2 can't handle the output from the textmode
|
||||
filter, so we disable it for anything that could
|
||||
create a literal packet (only encryption and
|
||||
symmetric encryption, since we disable signing
|
||||
above). */
|
||||
if(!unusable)
|
||||
opt.textmode=0;
|
||||
}
|
||||
|
||||
if(unusable)
|
||||
|
Loading…
Reference in New Issue
Block a user