mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Use one-pass packets even if it's a v3 key making the signature
Warn with pgp2 and non-detached signatures Use the actual filesize rather than partial length packets in symmetric messages (see ChangeLog or NEWS for discussion).
This commit is contained in:
parent
90d15a9d6a
commit
43930f255e
4 changed files with 51 additions and 27 deletions
|
@ -648,7 +648,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
|
|||
}
|
||||
|
||||
/* Write the one-pass signature packets if needed */
|
||||
if (!detached && !old_style) {
|
||||
if (!detached && !opt.rfc1991) {
|
||||
rc = write_onepass_sig_packets (sk_list, out,
|
||||
opt.textmode && !outfile ? 0x01:0x00);
|
||||
if (rc)
|
||||
|
@ -973,7 +973,7 @@ sign_symencrypt_file (const char *fname, STRLIST locusr)
|
|||
|
||||
/* Write the one-pass signature packets */
|
||||
/*(current filters: zip - encrypt - armor)*/
|
||||
if (!old_style) {
|
||||
if (!opt.rfc1991) {
|
||||
rc = write_onepass_sig_packets (sk_list, out,
|
||||
opt.textmode? 0x01:0x00);
|
||||
if (rc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue