gnupg/agent
Justus Winter 525f2c482a
agent: Make digest algorithms for ssh fingerprints configurable.
* agent/agent.h (opt): New field 'ssh_fingerprint_digest'.
* agent/command-ssh.c (data_sign, ssh_identity_register): Honor the
option for strings used to communicate with the user.
* agent/findkey.c (agent_modify_description): Likewise.
* agent/gpg-agent.c (cmd_and_opt_values): New value.
(opts): New option '--ssh-fingerprint-digest'.
(parse_rereadable_options): Set the default to MD5 for now.
(main): Handle the new option.
* doc/gpg-agent.texi: Document the new option.
--

OpenSSH has transitioned from using MD5 to compute key fingerprints to
SHA256.  This patch makes the digest used when communicating key
fingerprints to the user (e.g. in pinentry dialogs) configurable.
For now this patch conservatively defaults to MD5.

GnuPG-bug-id: 2106
Signed-off-by: Justus Winter <justus@g10code.com>
2017-05-24 18:09:07 +02:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
agent.h agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Serialize access to passphrase cache. 2017-04-07 08:39:26 +09:00
call-pinentry.c agent: Add const qualifier for read-only table. 2017-05-23 06:42:44 +09:00
call-scd.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
command-ssh.c agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
command.c common: Support different digest algorithms for ssh fingerprints. 2017-05-24 17:01:48 +02:00
cvt-openpgp.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
findkey.c agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
genkey.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
keyformat.txt Clean up word replication. 2017-02-21 13:11:46 -05:00
learncard.c agent,g10: Remove redundant SERIALNO request. 2017-03-16 14:32:51 +09:00
pkdecrypt.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
pksign.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
preset-passphrase.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
protect-tool.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
protect.c agent: Add const qualifier for read-only table. 2017-05-23 06:42:44 +09:00
t-protect.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00