mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Simplify the compliance settings.
* g10/gpg.c (set_compliance_option): Base most settings on oGnuPG. For oGnuPG explictly clear the allow_old_cipher_algos flag. -- Note that --allow-old-cipher-algos must now come after a compliance settings. This avoids a bug when first setting oRFC2440 and then oGnuPG which would not clear the flag. GnuPG-bug-id: T7501
This commit is contained in:
parent
aa46ba28ba
commit
4b2729b983
2 changed files with 41 additions and 49 deletions
|
@ -3687,7 +3687,9 @@ blocks of 64 bits; modern algorithms use blocks of 128 bit instead.
|
|||
To avoid certain attack on these old algorithms it is suggested not to
|
||||
encrypt more than 150 MiByte using the same key. For this reason gpg
|
||||
does not allow the use of 64 bit block size algorithms for encryption
|
||||
unless this option is specified.
|
||||
unless this option is specified. Some compliance modes already set or
|
||||
clear this flag and thus this flags should be used after a compliance
|
||||
mode setting.
|
||||
|
||||
@item --allow-weak-digest-algos
|
||||
@opindex allow-weak-digest-algos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue