Home GnuPG
Diffusion GnuPG b4da5a415008

* pkclist.c (select_algo_from_prefs): Make sure the scores can't
b4da5a415008Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

(no title)

* pkclist.c (select_algo_from_prefs): Make sure the scores can't
overflow when picking an algorithm (not a security issue since we
can't pick something not present in all preference lists, but we might
pick something that isn't scored first choice).
* pkclist.c (select_algo_from_prefs): Slightly improve the handling of
MD5 in preference lists.  Instead of replacing MD5 with SHA-1, just
remove MD5 from the list altogether, and let the next-highest ranked
algorithm be chosen.

Details

Provenance
dshawAuthored on Oct 29 2010, 9:49 PM
Parents
rGb0b46f46cffc: * gpg.texi (GPG Configuration Options): Clarify that show-photos
Branches
Unknown
Tags
Unknown

Event Timeline

David Shaw <dshaw@jabberwocky.com> committed rGb4da5a415008: * pkclist.c (select_algo_from_prefs): Make sure the scores can't (authored by David Shaw <dshaw@jabberwocky.com>).Oct 29 2010, 9:49 PM