| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make git_cred_ssh_custom_new() naming more consistent | Jacques Germishuys | 2014-04-18 | 1 | -1/+1 |
| | | |||||
| * | Introduce git_cred_ssh_interactive_new() | Jacques Germishuys | 2014-04-18 | 1 | -0/+22 |
| | | | | | This allows for keyboard-interactive based SSH authentication | ||||
| * | cred: tighten username rules | Carlos Martín Nieto | 2014-04-18 | 1 | -11/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ssh-specific credentials allow the username to be missing. The idea being that the ssh transport will then use the username provided in the url, if it's available. There are two main issues with this. The credential callback already knows what username was provided by the url and needs to figure out whether it wants to ask the user for it or it can reuse it, so passing NULL as the username means the credential callback is suspicious. The username provided in the url is not in fact used by the transport. The only time it even considers it is for the user/pass credential, which asserts the existence of a username in its constructor. For the ssh-specific ones, it passes in the username stored in the credential, which is NULL. The libssh2 macro we use runs strlen() against this value (which is no different from what we would be doing ourselves), so we then crash. As the documentation doesn't suggest to leave out the username, assert the need for a username in the code, which removes this buggy behavior and removes implicit state. git_cred_has_username() becomes a blacklist of credential types that do not have a username. The only one at the moment is the 'default' one, which is meant to call up some Microsoft magic. | ||||
| * | - BUGFIX #2133 (@fourplusone) in smart_protocol.c | Miha | 2014-02-25 | 1 | -1/+2 |
| | | | | | | | - added MSVC cmake definitions to disable warnings - general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows - some MSVC reported warning fixes | ||||
| * | ssh: add support for ssh-agent authentication | Alessandro Ghedini | 2013-11-20 | 1 | -2/+52 |
| | | |||||
| * | Fix ssh.c compile | Ben Straub | 2013-11-04 | 1 | -2/+3 |
| | | |||||
| * | Use http_parser_parse_url to parse urls | Ben Straub | 2013-11-04 | 1 | -1/+0 |
| | | |||||
| * | Prevent another segfault from bad URL | Ben Straub | 2013-10-31 | 1 | -5/+6 |
| | | |||||
| * | Rename the ssh credentials | Carlos Martín Nieto | 2013-10-23 | 1 | -6/+6 |
| | | | | | | | The names from libssh2 are somewhat obtuse for us. We can simplify the usual key/passphrase credential's name, as well as make clearer what the custom signature function is. | ||||
| * | Allowed credential types should be a bitfield | Edward Thomson | 2013-10-21 | 1 | -1/+2 |
| | | |||||
| * | Whitespace. | Etienne Samson | 2013-09-16 | 1 | -1/+1 |
| | | |||||
| * | Add a wrapper to provide the libssh2 error message | Etienne Samson | 2013-09-16 | 1 | -13/+21 |
| | | |||||
| * | Test for repo before removing leading colon | Isaac Kearse | 2013-09-10 | 1 | -1/+1 |
| | | |||||
| * | Trim leading colon from ssh repository path | Isaac Kearse | 2013-09-08 | 1 | -0/+1 |
| | | |||||
| * | Commit 7affc2f7 removed var initialization | Russell Belfer | 2013-08-14 | 1 | -0/+1 |
| | | | | | | | That commit accidentally removed the initialization of the "start" variable giving undefined results for the host extraction from the url input. | ||||
| * | Include username in each credential type | Carlos Martín Nieto | 2013-08-12 | 1 | -10/+12 |
| | | | | | | | | | Key-based authentication also needs an username, so include it in each one. Also stop assuming a default username of "git" in the ssh transport which has no business making such a decision. | ||||
| * | Bring SSH error reporting up to base standards | Russell Belfer | 2013-07-10 | 1 | -79/+72 |
| | | | | | | | | The SSH error checking and reporting could still be further improved by using the libssh2 native methods to get error info, but at least this ensures that all error codes are checked and translated into libgit2 error messages. | ||||
| * | Merge branch 'ssh-cred-fix' of tiennou/libgit2 | Russell Belfer | 2013-07-10 | 1 | -25/+35 |
| |\ | | | | | | | | | Conflicts: src/transports/ssh.c | ||||
| | * | Tab indent. | Etienne Samson | 2013-07-10 | 1 | -90/+92 |
| | | | |||||
| | * | Add some missing error messages. | Etienne Samson | 2013-07-10 | 1 | -9/+16 |
| | | | |||||
| | * | Fix a probable leak. | Etienne Samson | 2013-07-03 | 1 | -1/+1 |
| | | | |||||
| | * | Fix a crash if git_remote_set_cred_acquire_cb wasn't called before connecting. | Etienne Samson | 2013-07-03 | 1 | -2/+4 |
| | | | | | | | | | Fixes #1700. | ||||
| * | | Make SSH APIs present even without SSH support | Russell Belfer | 2013-07-09 | 1 | -86/+95 |
| |/ | | | | | | The SSH APIs will just return an error code and state that the library was built without SSH support if they are called in that case. | ||||
| * | Added GITERR_CHECK_ALLOC | Brad Morgan | 2013-05-15 | 1 | -0/+1 |
| | | |||||
| * | Added error check | Brad Morgan | 2013-05-15 | 1 | -1/+2 |
| | | |||||
| * | Cleanup | Brad Morgan | 2013-05-15 | 1 | -12/+6 |
| | | |||||
| * | Changed to use libssh2_channel_exec | Brad Morgan | 2013-05-09 | 1 | -6/+3 |
| | | |||||
| * | Renaming | Brad Morgan | 2013-05-09 | 1 | -8/+8 |
| | | |||||
| * | Fixed compilation issues when libssh2 is missing | Brad Morgan | 2013-05-07 | 1 | -0/+4 |
| | | |||||
| * | Added SSH public key authentication | Brad Morgan | 2013-05-07 | 1 | -0/+12 |
| | | |||||
| * | Cleanup | Brad Morgan | 2013-05-05 | 1 | -7/+5 |
| | | |||||
| * | Renaming | Brad Morgan | 2013-05-05 | 1 | -6/+6 |
| | | |||||
| * | Refactoring | Brad Morgan | 2013-05-05 | 1 | -27/+66 |
| | | |||||
| * | Cleanup | Brad Morgan | 2013-05-05 | 1 | -1/+1 |
| | | |||||
| * | Added username and password auth for ssh | Brad Morgan | 2013-05-05 | 1 | -17/+41 |
| | | |||||
| * | Added support for ssh:// urls | Brad Morgan | 2013-05-05 | 1 | -21/+45 |
| | | |||||
| * | Refactoring | Brad Morgan | 2013-05-05 | 1 | -59/+43 |
| | | |||||
| * | Added ssh stream cleanup | Brad Morgan | 2013-05-05 | 1 | -1/+10 |
| | | |||||
| * | Cleanup | Brad Morgan | 2013-05-05 | 1 | -17/+7 |
| | | |||||
| * | Push working over ssh | Brad Morgan | 2013-05-04 | 1 | -27/+47 |
| | | |||||
| * | Adding ssh transport logic | Brad Morgan | 2013-05-03 | 1 | -17/+83 |
| | | |||||
| * | Renaming | Brad Morgan | 2013-05-03 | 1 | -49/+49 |
| | | |||||
| * | Added ssh transport file | Brad Morgan | 2013-05-03 | 1 | -0/+356 |
