summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/hostfile.c
AgeCommit message (Expand)Author
2023-02-21fseek to end of known_hosts before writing to it. POSIX and ANSI CDarren Tucker
2023-02-09Ensure that there is a terminating newline when adding a new entryDarren Tucker
2022-01-06piece of UpdateHostkeys client strictification: when updating known_hostsDamien Miller
2021-10-02Dynamically allocate encoded HashKnownHosts and free as appropriate.Darren Tucker
2021-07-05Order includes as per style(9). Portable already has these so thisDarren Tucker
2021-04-03typos in comments; GHPR#180 from Ville SkyttäDamien Miller
2021-01-26make struct hostkeys public; I have no idea why I made it opaqueDamien Miller
2021-01-26move check_host_cert() from sshconnect,c to sshkey.c and refactorDamien Miller
2020-12-20load_hostkeys()/hostkeys_foreach() variants for FILE*Damien Miller
2020-10-18use the new variant log macros instead of prepending __func__ andDamien Miller
2020-10-11UpdateHostkeys: better CheckHostIP handlingDamien Miller
2020-10-07Fix UpdateHostkeys/HashKnownHosts/CheckHostIP bugDamien Miller
2020-10-04when ordering host key algorithms in the client, consider the ECDSADamien Miller
2020-06-26avoid spurious error message when ssh-keygen creates filesDamien Miller
2020-06-26Defer creation of ~/.ssh by ssh(1) until we attempt to write to it so weDarren Tucker
2020-05-13when ordering the hostkey algorithms to request from a server,Damien Miller
2020-03-06fix possible null-deref in check_key_not_revoked; ok djmMarkus Friedl
2020-02-26change explicit_bzero();free() to freezero()Jonathan Gray
2020-01-25allow UpdateKnownHosts=yes to function when multiple known_hosts filesDamien Miller
2019-07-07Remove some set but never used variables. ok daraadt@Darren Tucker
2019-06-28oops, from asouTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2018-07-16memleaks; found by valgrindDamien Miller
2018-06-06switch config file parsing to getline(3) as this avoids static limitsMarkus Friedl
2017-05-31Switch to recallocarray() for a few operations. Both growth and shrinkageTheo de Raadt
2017-04-30remove KEY_RSA1Damien Miller
2017-04-30unifdef WITH_SSH1Damien Miller
2017-03-10ensure hostname is lower-case before hashing it; bz#2591 reported byDamien Miller
2016-09-17replace two arc4random loops with arc4random_bufTed Unangst
2015-05-04Remove pattern length argument from match_pattern_list(),Damien Miller
2015-03-31downgrade error() for known_hosts parse errors to debug() to quietDamien Miller
2015-02-16Refactor hostkeys_foreach() and dependent codeDamien Miller
2015-01-26properly restore umaskDamien Miller
2015-01-26Host key rotation support.Damien Miller
2015-01-18convert load_hostkeys() (hostkey ordering and known_hostDamien Miller
2015-01-18introduce hostkeys_foreach() to allow iteration over aDamien Miller
2015-01-15sync ssh-keysign, ssh-keygen and some dependencies to the newDamien Miller
2014-10-20whitespaceDamien Miller
2014-06-24New key API: refactor key-related functions to be more library-like,Damien Miller
2014-04-29make compiling against OpenSSL optional (make OPENSSL=no);Markus Friedl
2014-01-31replace most bzero with explicit_bzero, except a few that cna be memsetTed Unangst
2014-01-27replace openssl HMAC with an implementation based on our ssh_digest_*Markus Friedl
2014-01-09Introduce digest API and use it to perform all hashing operationsDamien Miller
2013-07-12fix pointer-signedness warnings from clang/llvm-3.3; "seems nice" deraadt@Damien Miller
2013-05-17bye, bye xfree(); ok markus@Damien Miller
2010-12-04fix fd leak; spotted and ok dtucker@Damien Miller
2010-11-29automatically order the hostkeys requested by the client based onDamien Miller
2010-03-04Add a TrustedUserCAKeys option to sshd_config to specify CA keys thatDamien Miller
2010-02-26Add support for certificate key types for users and hosts.Damien Miller
2009-10-11mention the host name that we are looking for in check_host_in_hostfile()Damien Miller