Skip to content

Embed kerberos auth handler #267

@nitzmahone

Description

@nitzmahone

The requests-kerberos auth handler pywinrm relies on for Kerberos auth is going to remove functionality needed by pywinrm for HTTP message encryption (see requests/requests-kerberos#133) in order to fix some concurrency issues when using requests-kerberos from multiple threads with a shared session object.

Rather than scrambling to adapt pywinrm to the (still unproven) method being proposed over on requests-kerberos, I'm suggesting that we embed a copy of requests-kerberos locally. We could also either just switch over to requests-gssapi or embed a copy of that and use python-gssapi directly, but we'd have to keep some form of the old stuff around to support Windows clients anyway (since python-gssapi didn't support Windows last I checked).

@badcure @jborean93 this is a fairly major storm headed our way, so we'll need to act quickly before requests-kerberos does a release, or everyone's going to be broken... Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions