summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/authfile.c
AgeCommit message (Expand)Author
2020-04-17refactor out some duplicate private key loading code; based onDamien Miller
2020-04-08let sshkey_try_load_public() load public keys from the unencryptedDamien Miller
2020-04-08simplify sshkey_try_load_public()Damien Miller
2020-01-25factor out reading/writing sshbufs to dedicated functions;Damien Miller
2020-01-02add sshkey_save_public(), to save a public key; ok markus@Damien Miller
2019-09-03move advance_past_options to authfile.c and make it public;Damien Miller
2019-08-05Remove now-redundant perm_ok arg since sshkey_load_private_type willDarren Tucker
2019-07-15support PKCS8 as an optional format for storage of private keys,Damien Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-21In sshkey_in_file(), ignore keys that are considered for being tooDamien Miller
2018-07-09replace cast with call to sshbuf_mutable_ptr(); ok djm@Markus Friedl
2018-06-06switch config file parsing to getline(3) as this avoids static limitsMarkus Friedl
2018-02-23Add experimental support for PQC XMSS keys (Extended Hash-Based Signatures)Markus Friedl
2017-07-01remove post-SSHv1 removal dead code from rsa.c and merge theDamien Miller
2017-05-31Switch to recallocarray() for a few operations. Both growth and shrinkageTheo de Raadt
2017-05-30revise sshkey_load_public(): remove ssh1 related comments, remove extraMarkus Friedl
2017-04-30unifdef WITH_SSH1Damien Miller
2017-03-26incorrect renditions of this quote bother meTheo de Raadt
2016-11-25use sshbuf_allocate() to pre-allocate the buffer used for loadingDamien Miller
2016-04-09make private key loading functions consistently handle NULLDamien Miller
2015-12-11Remove NULL-checks before sshbuf_free().mmcc
2015-12-11Remove NULL-checks before sshkey_free().mmcc
2015-12-10Remove NULL-checks before free().mmcc
2015-09-13- Fix error message: passphrase needs to be at least 5 characters, not 4.tim
2015-07-09re-enable ed25519-certs if compiled w/o openssl; ok djmMarkus Friedl
2015-07-03delete support for legacy v00 certificates; "sure" markus@ dtucker@Damien Miller
2015-04-17s/recommended/required/ that private keys be og-rDamien Miller
2015-03-31fd leak for !ssh1 case; found by unittests; ok markus@Damien Miller
2015-03-18KRL support doesn't need OpenSSL anymore, remove #ifdefsDamien Miller
2015-02-23add an XXX to remind me to improve sshkey_load_publicDamien Miller
2015-01-20Reduce use of <sys/param.h> and transition to <limits.h> throughout.Theo de Raadt
2015-01-08deprecate key_load_private_pem() and sshkey_load_private_pem()Damien Miller
2014-12-04add RevokedHostKeys option for the clientDamien 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-04-28buffer_get_string_ptr's return should be const to remindDamien Miller
2014-03-12correct test that kdf name is not "none" or "bcrypt"Damien Miller
2014-02-02convert memset of potentially-private data to explicit_bzero()Damien Miller
2014-01-31replace most bzero with explicit_bzero, except a few that cna be memsetTed Unangst
2013-12-29don't refuse to load Ed25519 certificatesDamien Miller
2013-12-06support ed25519 keys (hostkeys and user identities) using the public domainMarkus Friedl
2013-12-06new private key format, bcrypt as KDF by default; details in PROTOCOL.key;Markus Friedl
2013-11-21Add a new protocol 2 transport cipher "chacha20-poly1305@openssh.com"Damien Miller
2013-05-17bye, bye xfree(); ok markus@Damien Miller
2013-04-19add the ability to query supported ciphers, MACs, key type and KEXDamien Miller
2013-01-08support AES-GCM as defined in RFC 5647 (but with simpler KEX handling)Markus Friedl
2012-12-11add encrypt-then-mac (EtM) modes to openssh by defining new mac algorithmsMarkus Friedl
2012-01-25memleak in key_load_file(); from Jan KlemkowMarkus Friedl
2011-06-14make sure key_parse_public/private_rsa1() no longer consumes its input buffer.Markus Friedl
2011-05-23read in key comments for v.2 keys (though note that these are notDamien Miller