Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose setting TLS file and dir lookup locations via settings module #884

Merged

Commits on Mar 5, 2019

  1. Add hooks for GIT_OPT_SET_SSL_CERT_LOCATIONS in C

    Bind them to git_libgit2_opts
    imbuedhope authored and webknjaz committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    178cec2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf9c5ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1505e6 View commit details
    Browse the repository at this point in the history
  4. 🎨 Wire up TLS cert option interfaces in settings

    Usage::
    
        import pygit2
        pygit2.settings.ssl_cert_file = '/path/to/file'
        pygit2.settings.ssl_cert_dir = '/path/to/folder'
        del pygit2.settings.ssl_cert_file
        pygit2.settings.set_ssl_cert_locations(
            '/path/to/new/file', '/path/to/new/folder',
        )
    
    Co-authored-by: Sriram Raghu <imbuedhope@gmail.com>
    
    Closes libgit2#876
    Superseeds and closes libgit2#879
    webknjaz committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    ca61026 View commit details
    Browse the repository at this point in the history