1. 03 Jul, 2014 1 commit
  2. 02 Jul, 2014 1 commit
    • ssh: libssh2_channel_write() behaves like send() · 0963716b
      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
  3. 22 Apr, 2014 1 commit
  4. 18 Apr, 2014 3 commits
    • Introduce git_cred_ssh_interactive_new() · 478408c0
      This allows for keyboard-interactive based SSH authentication
      Jacques Germishuys committed
    • cred: tighten username rules · bd270b70
      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
  5. 25 Feb, 2014 1 commit
  6. 20 Nov, 2013 1 commit
  7. 05 Nov, 2013 1 commit
  8. 04 Nov, 2013 1 commit
  9. 31 Oct, 2013 1 commit
  10. 23 Oct, 2013 1 commit
  11. 21 Oct, 2013 1 commit
  12. 16 Sep, 2013 2 commits
  13. 09 Sep, 2013 1 commit
  14. 08 Sep, 2013 1 commit
  15. 14 Aug, 2013 1 commit
  16. 12 Aug, 2013 1 commit
  17. 10 Jul, 2013 3 commits
  18. 09 Jul, 2013 1 commit
  19. 03 Jul, 2013 2 commits
  20. 15 May, 2013 3 commits
  21. 09 May, 2013 2 commits
  22. 07 May, 2013 2 commits
  23. 05 May, 2013 8 commits