mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyedit.c (sign_uids): Properly handle remaking a self-sig on revoked or
expired user IDs. Also, once we've established that a given uid cannot or will not be signed, don't continue to ask about each sig. * mainproc.c (proc_symkey_enc), seckey-cert.c (do_check): Check the S2K hash algorithm before we try to generate a passphrase using it. This prevents hitting BUG() when generating a passphrase using a hash that we don't have. * sign.c (sign_symencrypt_file): Allow using --force-mdc in --sign --symmetric messages.
This commit is contained in:
parent
2cba999f22
commit
673894ef48
5 changed files with 54 additions and 5 deletions
|
@ -1145,6 +1145,13 @@ sign_symencrypt_file (const char *fname, STRLIST locusr)
|
|||
goto leave;
|
||||
}
|
||||
|
||||
/* We have no way to tell if the recipient can handle messages
|
||||
with an MDC, so this defaults to no. Perhaps in a few years,
|
||||
this can be defaulted to yes. Note that like regular
|
||||
encrypting, --force-mdc overrides --disable-mdc. */
|
||||
if(opt.force_mdc)
|
||||
cfx.dek->use_mdc=1;
|
||||
|
||||
/* now create the outfile */
|
||||
rc = open_outfile (fname, opt.armor? 1:0, &out);
|
||||
if (rc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue