gnupg/agent
Werner Koch d2777f84be ssh: Improve key lookup for many keys.
* agent/command-ssh.c: Remove dirent.h.
(control_file_s): Add struct item.
(rewind_control_file): New.
(search_control_file): Factor code out to ...
(read_control_file_item): New.
(ssh_handler_request_identities): Change to iterate over entries in
sshcontrol.
--

Formerly we scanned the private key directory for matches of entries
in sshcontrol.  This patch changes it to scan the sshcontrol file and
thus considers only keys configured there.  The rationale for this is
that it is common to have only a few ssh keys but many private keys.
Even if that assumption does not hold true, the scanning of the
sshcontrol file is faster than reading the directory and only then
scanning the ssh control for each directory entry.
2012-12-10 18:27:23 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Port to npth. 2012-01-25 14:50:47 +01:00
agent.h agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
cache.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
call-pinentry.c Actually show translators comments in PO files 2012-08-24 09:42:31 +02:00
call-scd.c Allow decryption with card keys > 3072 bits 2012-11-06 14:48:06 +01:00
command-ssh.c ssh: Improve key lookup for many keys. 2012-12-10 18:27:23 +01:00
command.c agent: Use wipememory instead of memset in one place. 2012-11-06 18:51:47 +01:00
cvt-openpgp.c Fix size_t vs int issues. 2011-06-01 21:43:30 +02:00
cvt-openpgp.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
divert-scd.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
findkey.c agent: Fix wrong use of gcry_sexp_build_array 2012-11-02 16:22:26 +01:00
genkey.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
gpg-agent.c agent: Add envvar "gnupg_SSH_AUTH_SOCK_by" 2012-12-10 14:45:26 +01:00
keyformat.txt agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
pkdecrypt.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
pksign.c Fix ECDSA 521 bit signing. 2011-02-07 14:38:39 +01:00
preset-passphrase.c common: Add a global variable to for the default error source. 2012-02-06 20:50:47 +01:00
protect-tool.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
protect.c agent: Add pin length field to the shadowed private key format. 2012-02-07 14:17:33 +01:00
t-protect.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
w32main.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00