- 03 Jul, 2014 1 commit
-
-
Jacques Germishuys committed
-
- 02 Jul, 2014 1 commit
-
-
When the stream writing function was written, it assume that libssh2_channel_write() would always write all of the data to the wire. This is only true for the first 32k of data, which it tries to fit into one ssh packet. Since it can perform short writes, call it in a loop like we do for send(), advancing the buffer offset.
Carlos Martín Nieto committed
-
- 22 Apr, 2014 1 commit
-
-
Allow the credentials callback to return GIT_PASSTHROUGH to make the transports code behave as though none was set. This should make it easier for bindings to behave closer to the C code when there is no credentials callback set at their level.
Carlos Martín Nieto committed
-
- 18 Apr, 2014 3 commits
-
-
Jacques Germishuys committed
-
This allows for keyboard-interactive based SSH authentication
Jacques Germishuys committed -
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.
Carlos Martín Nieto committed
-
- 25 Feb, 2014 1 commit
-
-
- 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
Miha committed
-
- 20 Nov, 2013 1 commit
-
-
Alessandro Ghedini committed
-
- 05 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 04 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 31 Oct, 2013 1 commit
-
-
Ben Straub committed
-
- 23 Oct, 2013 1 commit
-
-
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.
Carlos Martín Nieto committed
-
- 21 Oct, 2013 1 commit
-
-
Edward Thomson committed
-
- 16 Sep, 2013 2 commits
-
-
Etienne Samson committed
-
Etienne Samson committed
-
- 09 Sep, 2013 1 commit
-
-
Isaac Kearse committed
-
- 08 Sep, 2013 1 commit
-
-
Isaac Kearse committed
-
- 14 Aug, 2013 1 commit
-
-
That commit accidentally removed the initialization of the "start" variable giving undefined results for the host extraction from the url input.
Russell Belfer committed
-
- 12 Aug, 2013 1 commit
-
-
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.
Carlos Martín Nieto committed
-
- 10 Jul, 2013 3 commits
-
-
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.
Russell Belfer committed -
Etienne Samson committed
-
Etienne Samson committed
-
- 09 Jul, 2013 1 commit
-
-
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.
Russell Belfer committed
-
- 03 Jul, 2013 2 commits
-
-
Etienne Samson committed
-
Fixes #1700.
Etienne Samson committed
-
- 15 May, 2013 3 commits
-
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
- 09 May, 2013 2 commits
-
-
Brad Morgan committed
-
Brad Morgan committed
-
- 07 May, 2013 2 commits
-
-
Brad Morgan committed
-
Brad Morgan committed
-
- 05 May, 2013 8 commits
-
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-
Brad Morgan committed
-