summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
AgeCommit message (Collapse)Author
2020-10-18Add fuzzer-client_nomaths, fix client fuzzerMatt Johnston
--HG-- branch : fuzz
2020-05-28Allow DH to be completely disabled (#97)Vladislav Grishenko
Reduces binary size by ~2kB by default and by 21kB with no other libtommath functions users, ex. with curve25519 kex and ed25519 key only.
2020-05-24send and handle SSH_MSG_EXT_INFO only at the correct pointMatt Johnston
- other fixes for rsa pubkey auth - only include ext-info handling when rsa pubkey auth is compiled
2020-05-19ext-info handling for server-sig-algsMatt Johnston
only client side is handled
2020-04-06use sigtype where appropriateMatt Johnston
2020-03-12Add Ed25519 support (#91)Vladislav Grishenko
* Add support for Ed25519 as a public key type Ed25519 is a elliptic curve signature scheme that offers better security than ECDSA and DSA and good performance. It may be used for both user and host keys. OpenSSH key import and fuzzer are not supported yet. Initially inspired by Peter Szabo. * Add curve25519 and ed25519 fuzzers * Add import and export of Ed25519 keys
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-05-02options for disabling "normal" DHMatt Johnston
2016-03-15Fix truncated type for getc() at confirmation promptMatt Johnston
2015-12-15Use dropbear_log instead of some fprintf's in client code.Konstantin Tokarev
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaƫl PORTAY
2014-01-23requirenext doesn't need two valuesMatt Johnston
2014-01-23Fix failing rekeying when we receive a still-in-flight packetMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-11-09- Make curve25519 work after fixing a typo, interoperates with OpenSSHMatt Johnston
- comment on ecc binary size effects --HG-- branch : ecc
2013-11-08MergeMatt Johnston
--HG-- branch : ecc
2013-11-08curve25519Matt Johnston
--HG-- branch : ecc
2013-11-07Add '-R' for delayed hostkey optionMatt Johnston
--HG-- branch : keyondemand
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-14requirenext fixup for firstkexfollowsMatt Johnston
2013-04-14mergeMatt Johnston
2013-04-14-y -y to disable hostkey checkingMatt Johnston
fix missing trailing space when passing arguments for multihop mode From Hans Harder
2013-04-08- Rename buf_put_ecc_pubkey_string() to buf_put_ecc_raw_pubkey_string()Matt Johnston
- Reindent ecc.c properly --HG-- branch : ecc
2013-04-07ecc kind of works, needs fixing/testingMatt Johnston
--HG-- branch : ecc
2013-04-04Take transmit and receive keys into use separatelyMatt Johnston
2013-04-03Don't usually need to recalculate dh_e for the repeated kexdh_init packetMatt Johnston
--HG-- branch : kexguess
2013-04-01merge from head roundtrip changesMatt Johnston
--HG-- branch : kexguess
2013-04-01Move the more verbose TRACE() statements into TRACE2()Matt Johnston
2013-03-29first_kex_packet_follows working, needs tidyingMatt Johnston
--HG-- branch : kexguess
2013-03-29More changes for KEX and ECDH. Set up hash descriptors, make ECC code work,Matt Johnston
ses.hash and ses.session_id are now buffers (doesn't compile) --HG-- branch : ecc
2013-03-27more bits on ecc branchMatt Johnston
--HG-- branch : ecc
2013-03-26refactor kexdh code a bit, start working on ecdh etcMatt Johnston
--HG-- branch : ecc
2013-03-23Fix a few compile warningsMatt Johnston
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-06-12- Make -i and -W pass through multihop argumentsMatt Johnston
--HG-- extra : convert_revision : 70c64073c9ec07b4dfb54ee60e39cec2bd8c6910
2007-02-25Remove a newline from the kex prompt question, from FreeWRTMatt Johnston
--HG-- extra : convert_revision : 98745fb712b04634b0682fe9ee0dc904ea528f10
2007-02-22Improve known_hosts checking.Matt Johnston
--HG-- extra : convert_revision : b7933fa29cbedeb53b79a0b60aaa0f049e003cb2
2007-02-11Add '-y' option to dbclient to accept the host key without checkingMatt Johnston
- patch from Luciano Miguel Ferreira Rocha. --HG-- extra : convert_revision : 924b731b50d4147eed8e9382c98a2573259a6cad
2006-07-07Fixes from Erik Hovland:Matt Johnston
cli-authpubkey.c: fix leak of keybuf cli-kex.c: fix leak of fingerprint fp cli-service.c: remove commented out code dropbearkey.c: don't attepmt to free NULL key on failure common-kex.c: only free key if it is initialised keyimport.c: remove dead encrypted-key code don't leak a FILE* loading OpenSSH keys rsa.c, dss.c: check return values for some libtommath functions svr-kex.c: check return value retrieving DH kex mpint svr-tcpfwd.c: fix null-dereference if remote tcp forward request fails tcp-accept.c: don't incorrectly free the tcpinfo var --HG-- extra : convert_revision : 640a55bc710cbaa6d212453c750026c770e19193
2006-06-07Look at HOME before /etc/passwd when looking for ~/.ssh/known_hostsMatt Johnston
file, so people can workaround broken /etc/passwds. Print the full path in error messages. --HG-- extra : convert_revision : d777688369ee21011625a3f1fe79ddbe3d5b5c93
2006-04-12don't fail fatally if the client can't get homedir from getpwuid(), fallbackMatt Johnston
to $HOME. --HG-- extra : convert_revision : 279bd16a3e639764df14dce868fdeea7d6a0f317
2005-01-11Read "y/n" response for fingerprints from /dev/tty directly so that dbclientMatt Johnston
will work with scp. --HG-- extra : convert_revision : 1ec067604618a314ad36464920f08c7113d09aa3
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-08-24Fix if the first write failsMatt Johnston
--HG-- extra : convert_revision : 5a12aa1aa66c9cfd5d0097acea235cd3cd7658ab
2004-08-17default initialisers for mp_intsMatt Johnston
--HG-- extra : convert_revision : af69bacb50a31523e383e8f73844d04681f9e394
2004-08-16create known_hosts properlyMatt Johnston
--HG-- extra : convert_revision : 3f808121bb4c3b4e0ce32db12525c63d692f1dbd
2004-08-16- don't crash when trying to add to known_hosts if it doesn't existMatt Johnston
- comments --HG-- extra : convert_revision : ffafd48c7494fee17a98d901e30c3372e1a092e9
2004-08-14License boilerplate etc, add Mihnea as an author to some of the filesMatt Johnston
--HG-- extra : convert_revision : 75c02f80c4ed25bd4697e7f17ffac6eded54c148