1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Add a generic IDEA warning for when the IDEA plugin is not present. This

pops up when the user uses "--cipher-algo idea", when setpref is used to
set a "S1" preference, and when a secret key protected with IDEA is used.

Tweak the --pgp2 mode to use this generic warning.
This commit is contained in:
David Shaw 2001-12-17 21:45:40 +00:00
parent f1262d5742
commit 30481e5a17
7 changed files with 97 additions and 38 deletions

View file

@ -268,9 +268,10 @@ encode_crypt( const char *filename, STRLIST remusr )
if(!(is_RSA(work_list->pk->pubkey_algo) &&
nbits_from_pk(work_list->pk)<=2048))
{
log_info(_("You can only encrypt to RSA keys of 2048 bits or "
log_info(_("you can only encrypt to RSA keys of 2048 bits or "
"less in --pgp2 mode\n"));
log_info(_("This message will not be usable by PGP 2.x\n"));
log_info(_("this message will not be usable by PGP 2.x\n"));
opt.pgp2=0;
break;
}
}