Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests-gssapi for
openSUSE:Factory checked in at 2026-01-19 18:38:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-gssapi (Old)
and /work/SRC/openSUSE:Factory/.python-requests-gssapi.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-gssapi"
Mon Jan 19 18:38:39 2026 rev:5 rq:1328058 version:1.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-gssapi/python-requests-gssapi.changes
2024-03-20 21:10:14.968919269 +0100
+++
/work/SRC/openSUSE:Factory/.python-requests-gssapi.new.1928/python-requests-gssapi.changes
2026-01-19 18:42:40.245393070 +0100
@@ -1,0 +2,7 @@
+Fri Jan 16 21:47:24 UTC 2026 - David Mulder <[email protected]>
+
+- Update to version 1.4.0:
+ - Support GSSAPI channel bindings
+ - Raise exceptions if CBs are requested but not available
+
+-------------------------------------------------------------------
Old:
----
requests-gssapi-1.3.0.tar.gz
New:
----
requests-gssapi-1.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-gssapi.spec ++++++
--- /var/tmp/diff_new_pack.c8YrMT/_old 2026-01-19 18:42:40.717412601 +0100
+++ /var/tmp/diff_new_pack.c8YrMT/_new 2026-01-19 18:42:40.721412766 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-gssapi
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-gssapi
-Version: 1.3.0
+Version: 1.4.0
Release: 0
Summary: A GSSAPI authentication handler for python-requests
License: ISC
Group: Development/Languages/Python
URL: https://github.com/pythongssapi/requests-gssapi
-Source:
https://files.pythonhosted.org/packages/source/r/requests-gssapi/requests-gssapi-%{version}.tar.gz
+Source:
https://github.com/pythongssapi/requests-gssapi/archive/refs/tags/v%{version}.tar.gz#/requests-gssapi-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ requests-gssapi-1.3.0.tar.gz -> requests-gssapi-1.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/.copr/Makefile
new/requests-gssapi-1.4.0/.copr/Makefile
--- old/requests-gssapi-1.3.0/.copr/Makefile 1970-01-01 01:00:00.000000000
+0100
+++ new/requests-gssapi-1.4.0/.copr/Makefile 2025-10-16 06:00:56.000000000
+0200
@@ -0,0 +1,4 @@
+srpm:
+ dnf install -y python2
+ sed "s/name='requests-gssapi'/name='python-requests-gssapi'/" setup.py
> .copr/setup.py
+ python .copr/setup.py bdist_rpm --source-only --dist-dir "$(outdir)"
--build-requires=python-setuptools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/.github/workflows/ci.yml
new/requests-gssapi-1.4.0/.github/workflows/ci.yml
--- old/requests-gssapi-1.3.0/.github/workflows/ci.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/requests-gssapi-1.4.0/.github/workflows/ci.yml 2025-10-16
06:00:56.000000000 +0200
@@ -0,0 +1,98 @@
+name: Test requests-gssapi
+on:
+ push:
+ branches:
+ - main
+
+ pull_request:
+ branches:
+ - main
+
+ release:
+ types:
+ - published
+
+jobs:
+ build:
+ name: build sdist and wheel
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v5
+
+ - name: build sdist and wheel
+ run: |
+ set -ex
+
+ python -m pip install build
+ python -m build
+
+ - uses: actions/upload-artifact@v4
+ with:
+ name: artifact
+ path: ./dist/*
+
+ test:
+ name: test
+ needs:
+ - build
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ python-version:
+ - "3.8"
+ - "3.9"
+ - "3.10"
+ - "3.11"
+ - "3.12"
+ - "3.13"
+ - "3.14"
+
+ steps:
+ - uses: actions/checkout@v5
+
+ - uses: actions/setup-python@v6
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - uses: actions/download-artifact@v5
+ with:
+ name: artifact
+ path: ./dist
+
+ - name: Test
+ shell: bash
+ run: |
+ set -ex
+
+ TOX_PYTHON=py$( echo '${{ matrix.python-version }}' | tr -d . )
+
+ sudo apt update
+ sudo apt install -y libkrb5-dev
+
+ python -Im pip install tox
+ python -Im tox run \
+ -f sanity \
+ -f "${TOX_PYTHON}" \
+ --installpkg dist/*.whl
+ env:
+ PYTEST_ADDOPTS: --color=yes --junitxml junit/test-results.xml
+
+ publish:
+ name: publish
+ needs:
+ - test
+ runs-on: ubuntu-latest
+ permissions:
+ # IMPORTANT: this permission is mandatory for trusted publishing
+ id-token: write
+
+ steps:
+ - uses: actions/download-artifact@v5
+ with:
+ name: artifact
+ path: ./dist
+
+ - name: Publish
+ if: startsWith(github.event.release.tag_name, 'v')
+ uses: pypa/gh-action-pypi-publish@release/v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/.github/workflows/stale.yml
new/requests-gssapi-1.4.0/.github/workflows/stale.yml
--- old/requests-gssapi-1.3.0/.github/workflows/stale.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/requests-gssapi-1.4.0/.github/workflows/stale.yml 2025-10-16
06:00:56.000000000 +0200
@@ -0,0 +1,29 @@
+name: Stale handler
+on:
+ schedule:
+ - cron: 0 0 * * *
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/[email protected]
+ id: stale
+ with:
+ days-before-stale: 28
+ days-before-close: 14
+ exempt-issue-labels: bug,enhancement
+ exempt-pr-labels: bug,enhancement
+ stale-issue-label: stale
+ stale-pr-label: stale
+ stale-issue-message: >-
+ This issue is stale because it has been open for 4 weeks with no
activity.
+ Remove stale label or comment or this will be closed in 2 weeks.
+ stale-pr-message: >-
+ This pull request is stale because it has been open for 4 weeks with
no activity.
+ Remove stale label or comment or this will be closed in 2 weeks.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/.gitignore
new/requests-gssapi-1.4.0/.gitignore
--- old/requests-gssapi-1.3.0/.gitignore 1970-01-01 01:00:00.000000000
+0100
+++ new/requests-gssapi-1.4.0/.gitignore 2025-10-16 06:00:56.000000000
+0200
@@ -0,0 +1,8 @@
+*.pyc
+*.swp
+env/
+build/
+dist/
+.tox/
+requests_gssapi.egg-info/
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/CODE_OF_CONDUCT.md
new/requests-gssapi-1.4.0/CODE_OF_CONDUCT.md
--- old/requests-gssapi-1.3.0/CODE_OF_CONDUCT.md 1970-01-01
01:00:00.000000000 +0100
+++ new/requests-gssapi-1.4.0/CODE_OF_CONDUCT.md 2025-10-16
06:00:56.000000000 +0200
@@ -0,0 +1,134 @@
+
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, caste, color, religion, or sexual
identity
+and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes,
+ and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the
+ overall community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or
+ advances of any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email
+ address, without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for
moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when
+an individual is officially representing the community in public spaces.
+Examples of representing our community include using an official e-mail
address,
+posting via an official social media account, or acting as an appointed
+representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the community leaders responsible for enforcement at
+rharwood AT redhat DOT com.
+All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series
+of actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or
+permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior, harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within
+the community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.1, available at
+[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
+
+Community Impact Guidelines were inspired by
+[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
+
+For answers to common questions about this code of conduct, see the FAQ at
+[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
+at [https://www.contributor-covenant.org/translations][translations].
+
+[homepage]: https://www.contributor-covenant.org
+[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
+[Mozilla CoC]: https://github.com/mozilla/diversity
+[FAQ]: https://www.contributor-covenant.org/faq
+[translations]: https://www.contributor-covenant.org/translations
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/HISTORY.rst
new/requests-gssapi-1.4.0/HISTORY.rst
--- old/requests-gssapi-1.3.0/HISTORY.rst 2024-02-16 03:35:24.000000000
+0100
+++ new/requests-gssapi-1.4.0/HISTORY.rst 2025-10-16 06:00:56.000000000
+0200
@@ -1,6 +1,10 @@
History
=======
+1.4.0: 2025-10-16
+-----------
+- Added ``channel_bindings`` support to ``HTTPSPNEGOAuth`` to control whether
channel bindings are used.
+
1.3.0: 2024-02-16
-----------
- Drop flag for out of sequence detection
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/ISSUE_TEMPLATE
new/requests-gssapi-1.4.0/ISSUE_TEMPLATE
--- old/requests-gssapi-1.3.0/ISSUE_TEMPLATE 1970-01-01 01:00:00.000000000
+0100
+++ new/requests-gssapi-1.4.0/ISSUE_TEMPLATE 2025-10-16 06:00:56.000000000
+0200
@@ -0,0 +1,13 @@
+### What went wrong?
+
+
+### How do we reproduce?
+
+*(Remember to use fenced code blocks and consider placing in a gist if large)*
+
+
+### Client component versions (requests-gssapi, Kerberos, OS / distro, etc.)
+
+*(Please include MIT/Heimdal/etc. and how you installed requests-gssapi)*
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/PKG-INFO
new/requests-gssapi-1.4.0/PKG-INFO
--- old/requests-gssapi-1.3.0/PKG-INFO 2024-02-16 03:35:31.543399800 +0100
+++ new/requests-gssapi-1.4.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,288 +0,0 @@
-Metadata-Version: 2.1
-Name: requests-gssapi
-Version: 1.3.0
-Summary: A GSSAPI authentication handler for python-requests
-Author: Ian Cordasco, Cory Benfield, Michael Komitee
-Author-email: Robbie Harwood <[email protected]>
-License: ISC License
-
- Copyright (c) 2012-2017 Kenneth Reitz
- Copyright (c) 2017 the python-requests-gssapi contributors
- Copyright (c) 2017 Red Hat, Inc.
-
- Permission to use, copy, modify and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS-IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-Project-URL: homepage, https://github.com/pythongssapi/requests-gssapi
-Keywords: ansible,debug,lsp,dap
-Classifier: License :: OSI Approved :: ISC License (ISCL)
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.8
-Classifier: Programming Language :: Python :: 3.9
-Classifier: Programming Language :: Python :: 3.10
-Classifier: Programming Language :: Python :: 3.11
-Classifier: Programming Language :: Python :: 3.12
-Requires-Python: >=3.8
-Description-Content-Type: text/x-rst
-License-File: LICENSE
-License-File: AUTHORS
-Requires-Dist: requests>=1.1.0
-Requires-Dist: gssapi
-Provides-Extra: dev
-Requires-Dist: black==24.2.0; extra == "dev"
-Requires-Dist: isort==5.13.2; extra == "dev"
-Requires-Dist: pytest; extra == "dev"
-Requires-Dist: tox>=4.0.0; extra == "dev"
-
-requests GSSAPI authentication library
-===============================================
-
-Requests is an HTTP library, written in Python, for human beings. This library
-adds optional GSSAPI authentication support and supports mutual
-authentication.
-
-It provides a fully backward-compatible shim for the old
-python-requests-kerberos library: simply replace ``import requests_kerberos``
-with ``import requests_gssapi``. A more powerful interface is provided by the
-HTTPSPNEGOAuth component, but this is of course not guaranteed to be
-compatible. Documentation below is written toward the new interface.
-
-Basic GET usage:
-
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> r = requests.get("http://example.org", auth=HTTPSPNEGOAuth())
- ...
-
-The entire ``requests.api`` should be supported.
-
-Setup
------
-
-In order to use this library, there must already be a Kerberos Ticket-Granting
-Ticket (TGT) in a credential cache (ccache). Whether a TGT is available can
-be easily determined by running the ``klist`` command. If no TGT is
-available, then it first must be obtained (for instance, by running the
-``kinit`` command, or pointing the $KRB5CCNAME to a credential cache with a
-valid TGT).
-
-In short, the library will handle the "negotiations" of Kerberos
-authentication, but ensuring that a credentials are available and valid is the
-responsibility of the user.
-
-Authentication Failures
------------------------
-
-Client authentication failures will be communicated to the caller by returning
-a 401 response. A 401 response may also be the result of expired credentials
-(including the TGT).
-
-Mutual Authentication
----------------------
-
-Mutual authentication is a poorly-named feature of the GSSAPI which doesn't
-provide any additional security benefit to most possible uses of
-requests_gssapi. Practically speaking, in most mechanism implementations
-(including krb5), it requires another round-trip between the client and server
-during the authentication handshake. Many clients and servers do not properly
-handle the authentication handshake taking more than one round-trip. If you
-encounter a MutualAuthenticationError, this is probably why.
-
-So long as you're running over a TLS link whose security guarantees you trust,
-there's no benefit to mutual authentication. If you don't trust the link at
-all, mutual authentication won't help (since it's not tamper-proof, and GSSAPI
-isn't being used post-authentication. There's some middle ground between the
-two where it helps a small amount (e.g., passive adversary over
-encrypted-but-unverified channel), but for Negotiate (what we're doing here),
-it's not generally helpful.
-
-For a more technical explanation of what mutual authentication actually
-guarantees, I refer you to rfc2743 (GSSAPIv2), rfc4120 (krb5 in GSSAPI),
-rfc4178 (SPNEGO), and rfc4559 (HTTP Negotiate).
-
-
-DISABLED
-^^^^^^^^
-
-By default, there's no need to explicitly disable mutual authentication.
-However, for compatability with older versions of request_gssapi or
-requests_kerberos, you can explicitly request it not be attempted:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, DISABLED
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=DISABLED)
- >>> r = requests.get("https://example.org", auth=gssapi_auth)
- ...
-
-REQUIRED
-^^^^^^^^
-
-This was historically the default, but no longer is. If requested,
-``HTTPSPNEGOAuth`` will require mutual authentication from the server, and if
-a server emits a non-error response which cannot be authenticated, a
-``requests_gssapi.errors.MutualAuthenticationError`` will be raised. (See
-above for what this means.) If a server emits an error which cannot be
-authenticated, it will be returned to the user but with its contents and
-headers stripped. If the response content is more important than the need for
-mutual auth on errors, (eg, for certain WinRM calls) the stripping behavior
-can be suppressed by setting ``sanitize_mutual_error_response=False``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, REQUIRED
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=REQUIRED,
sanitize_mutual_error_response=False)
- >>> r = requests.get("https://windows.example.org/wsman", auth=gssapi_auth)
- ...
-
-OPTIONAL
-^^^^^^^^
-
-This will cause ``requests_gssapi`` to attempt mutual authentication if the
-server advertises that it supports it, and cause a failure if authentication
-fails, but not if the server does not support it at all. This is probably not
-what you want: link tampering will either cause hard failures, or silently
-cause it to not happen at all. It is retained for compatability.
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, OPTIONAL
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=OPTIONAL)
- >>> r = requests.get("https://example.org", auth=gssapi_auth)
- ...
-
-Opportunistic Authentication
-----------------------------
-
-``HTTPSPNEGOAuth`` can be forced to preemptively initiate the GSSAPI
-exchange and present a token on the initial request (and all
-subsequent). By default, authentication only occurs after a
-``401 Unauthorized`` response containing a Negotiate challenge
-is received from the origin server. This can cause mutual authentication
-failures for hosts that use a persistent connection (eg, Windows/WinRM), as
-no GSSAPI challenges are sent after the initial auth handshake. This
-behavior can be altered by setting ``opportunistic_auth=True``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> gssapi_auth = HTTPSPNEGOAuth(opportunistic_auth=True)
- >>> r = requests.get("https://windows.example.org/wsman", auth=gssapi_auth)
- ...
-
-`Expect-Continue`
-^^^^^^^^^^^^^^^^^
-
-Since `httplib <https://bugs.python.org/issue1346874>`_ does not support the
-`Expect-Continue` header, a request with a body will fail with
-``401 Unauthorized`` and must be repeated with a GSSAPI exchange. This causes
-several issues:
-
-* Additional overhead for request retransmission
-* Requests with non-repeatable bodies will fail
-* Some servers will already send the approriate error response while your
- client is still streaming the request. Not all reverse proxies can handle
that
- properly and will rather fail.
-
-Therefore, in such cases you must enable opportunistic authentication.
-
-Hostname Override
------------------
-
-If communicating with a host whose DNS name doesn't match its
-hostname (eg, behind a content switch or load balancer),
-the hostname used for the GSSAPI exchange can be overridden by
-passing in a custom name (string or ``gssapi.Name``):
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> gssapi_auth = HTTPSPNEGOAuth(target_name="internalhost.local")
- >>> r = requests.get("https://externalhost.example.org/", auth=gssapi_auth)
- ...
-
-Explicit Principal
-------------------
-
-``HTTPSPNEGOAuth`` normally uses the default principal (ie, the user for whom
-you last ran ``kinit`` or ``kswitch``, or an SSO credential if
-applicable). However, an explicit credential can be in instead, if desired.
-
-.. code-block:: python
-
- >>> import gssapi
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> name = gssapi.Name("user@REALM", gssapi.NameType.user)
- >>> creds = gssapi.Credentials(name=name, usage="initiate")
- >>> gssapi_auth = HTTPSPNEGOAuth(creds=creds)
- >>> r = requests.get("http://example.org", auth=gssapi_auth)
- ...
-
-Explicit Mechanism
-------------------
-
-``HTTPSPNEGOAuth`` normally lets SPNEGO decide which negotiation mechanism to
use.
-However, an explicit mechanism can be used instead if desired. The ``mech``
-parameter will be passed straight through to ``gssapi`` without interference.
-It is expected to be an instance of ``gssapi.mechs.Mechanism``.
-
-.. code-block:: python
-
- >>> import gssapi
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> try:
- ... krb5 = gssapi.mechs.Mechanism.from_sasl_name("GS2-KRB5")
- ... except AttributeError:
- ... krb5 = gssapi.OID.from_int_seq("1.2.840.113554.1.2.2")
- >>> gssapi_auth = HTTPSPNEGOAuth(mech=krb5)
- >>> r = requests.get("http://example.org", auth=gssapi_auth)
- ...
-
-Delegation
-----------
-
-``requests_gssapi`` supports credential delegation (``GSS_C_DELEG_FLAG``).
-To enable delegation of credentials to a server that requests delegation, pass
-``delegate=True`` to ``HTTPSPNEGOAuth``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> r = requests.get("http://example.org",
auth=HTTPSPNEGOAuth(delegate=True))
- ...
-
-Be careful to only allow delegation to servers you trust as they will be able
-to impersonate you using the delegated credentials.
-
-Logging
--------
-
-This library makes extensive use of Python's logging facilities.
-
-Log messages are logged to the ``requests_gssapi`` and
-``requests_gssapi.gssapi`` named loggers.
-
-If you are having difficulty we suggest you configure logging. Issues with the
-underlying GSSAPI libraries will be made apparent. Additionally, copious debug
-information is made available which may assist in troubleshooting if you
-increase your log level all the way up to debug.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/README.rst
new/requests-gssapi-1.4.0/README.rst
--- old/requests-gssapi-1.3.0/README.rst 2024-02-16 03:35:24.000000000
+0100
+++ new/requests-gssapi-1.4.0/README.rst 2025-10-16 06:00:56.000000000
+0200
@@ -241,3 +241,26 @@
underlying GSSAPI libraries will be made apparent. Additionally, copious debug
information is made available which may assist in troubleshooting if you
increase your log level all the way up to debug.
+
+Channel Bindings
+----------------
+
+Optional simplified support for channel bindings is available, but limited to
+the ``tls-server-end-point`` bindings type (manual construction of different
+channel bindings can be achieved using the raw API). When requesting this kind
+of bindings python-cryptography must be available as request-gssapi will try
+to import its x509 module to process the peer certificate.
+
+.. code-block:: python
+
+ >>> import requests
+ >>> from requests_gssapi import HTTPSPNEGOAuth
+ >>> gssapi_auth = HTTPSPNEGOAuth(channel_bindings='tls-server-end-point')
+ >>> r = requests.get("https://windows.example.org/wsman", auth=gssapi_auth)
+ ...
+
+It should be noted that this will not work for connections that are closed on
+the initial authentication failure. If the connection is closed, the peer
+certificate may be purged from internal data structures and is not available
+to extract the ``tls-server-end-point`` value required to complete
+authentication.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/pyproject.toml
new/requests-gssapi-1.4.0/pyproject.toml
--- old/requests-gssapi-1.3.0/pyproject.toml 2024-02-16 03:35:24.000000000
+0100
+++ new/requests-gssapi-1.4.0/pyproject.toml 2025-10-16 06:00:56.000000000
+0200
@@ -1,6 +1,6 @@
[build-system]
requires = [
- "setuptools >= 61.0.0", # Support for setuptools config in pyproject.toml
+ "setuptools >= 77.0.0", # Support for SPDX license expressions
]
build-backend = "setuptools.build_meta"
@@ -9,22 +9,23 @@
description = "A GSSAPI authentication handler for python-requests"
readme = "README.rst"
requires-python = ">=3.8"
-license = { file = "LICENSE" }
+license = "ISC"
authors = [
{ name = "Robbie Harwood", email = "[email protected]" },
{ name = "Ian Cordasco" },
{ name = "Cory Benfield" },
{ name = "Michael Komitee" },
]
-keywords = ["ansible", "debug", "lsp", "dap"]
+keywords = ["gssapi", "requests", "auth"]
classifiers = [
- "License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
]
dependencies = [
"requests >= 1.1.0",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/setup.cfg
new/requests-gssapi-1.4.0/setup.cfg
--- old/requests-gssapi-1.3.0/setup.cfg 2024-02-16 03:35:31.547400000 +0100
+++ new/requests-gssapi-1.4.0/setup.cfg 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-[egg_info]
-tag_build =
-tag_date = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi/__init__.py
new/requests-gssapi-1.4.0/src/requests_gssapi/__init__.py
--- old/requests-gssapi-1.3.0/src/requests_gssapi/__init__.py 2024-02-16
03:35:24.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi/__init__.py 2025-10-16
06:00:56.000000000 +0200
@@ -30,4 +30,4 @@
"OPTIONAL",
"DISABLED",
)
-__version__ = "1.3.0"
+__version__ = "1.4.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/src/requests_gssapi/gssapi_.py
new/requests-gssapi-1.4.0/src/requests_gssapi/gssapi_.py
--- old/requests-gssapi-1.3.0/src/requests_gssapi/gssapi_.py 2024-02-16
03:35:24.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi/gssapi_.py 2025-10-16
06:00:56.000000000 +0200
@@ -107,6 +107,10 @@
`sanitize_mutual_error_response` controls whether we should clean up
server responses. See the `SanitizedResponse` class.
+ `channel_bindings` can be used to pass channel bindings to GSSAPI.
+ The only accepted value is 'tls-server-end-point' which uses the TLS
+ server's certificate for the channel bindings. Default is `None`.
+
"""
def __init__(
@@ -118,6 +122,7 @@
creds=None,
mech=SPNEGO,
sanitize_mutual_error_response=True,
+ channel_bindings=None,
):
self.context = {}
self.pos = None
@@ -128,6 +133,9 @@
self.creds = creds
self.mech = mech if mech else SPNEGO
self.sanitize_mutual_error_response = sanitize_mutual_error_response
+ if channel_bindings not in (None, "tls-server-end-point"):
+ raise ValueError("channel_bindings must be None or
'tls-server-end-point'")
+ self.channel_bindings = channel_bindings
def generate_request_header(self, response, host, is_preemptive=False):
"""
@@ -144,6 +152,33 @@
if self.mutual_authentication != DISABLED:
gssflags.append(gssapi.RequirementFlag.mutual_authentication)
+ gss_cb = None
+ if self.channel_bindings == "tls-server-end-point":
+ if is_preemptive:
+ raise SPNEGOExchangeError(
+ "channel_bindings were requested, but are unavailable for
opportunistic authentication"
+ )
+ # The 'connection' attribute on raw is a public urllib3 API
+ # and can be None if the connection has been released.
+ elif getattr(response.raw, "connection", None) and
getattr(response.raw.connection, "sock", None):
+ # Defer import so it's not a hard dependency.
+ from cryptography import x509
+
+ sock = response.raw.connection.sock
+
+ der_cert = sock.getpeercert(binary_form=True)
+ cert = x509.load_der_x509_certificate(der_cert)
+ hash = cert.signature_hash_algorithm
+ cert_hash = cert.fingerprint(hash)
+
+ app_data = b"tls-server-end-point:" + cert_hash
+ gss_cb = gssapi.raw.ChannelBindings(application_data=app_data)
+ log.debug("generate_request_header(): Successfully retrieved
channel bindings")
+ else:
+ raise SPNEGOExchangeError(
+ "channel_bindings were requested, but a socket could not
be retrieved from the response"
+ )
+
try:
gss_stage = "initiating context"
name = self.target_name
@@ -153,7 +188,12 @@
name = gssapi.Name(name, gssapi.NameType.hostbased_service)
self.context[host] = gssapi.SecurityContext(
- usage="initiate", flags=gssflags, name=name, creds=self.creds,
mech=self.mech
+ usage="initiate",
+ flags=gssflags,
+ name=name,
+ creds=self.creds,
+ mech=self.mech,
+ channel_bindings=gss_cb,
)
gss_stage = "stepping context"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/PKG-INFO
new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/PKG-INFO
--- old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/PKG-INFO
2024-02-16 03:35:31.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/PKG-INFO
1970-01-01 01:00:00.000000000 +0100
@@ -1,288 +0,0 @@
-Metadata-Version: 2.1
-Name: requests-gssapi
-Version: 1.3.0
-Summary: A GSSAPI authentication handler for python-requests
-Author: Ian Cordasco, Cory Benfield, Michael Komitee
-Author-email: Robbie Harwood <[email protected]>
-License: ISC License
-
- Copyright (c) 2012-2017 Kenneth Reitz
- Copyright (c) 2017 the python-requests-gssapi contributors
- Copyright (c) 2017 Red Hat, Inc.
-
- Permission to use, copy, modify and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS-IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-Project-URL: homepage, https://github.com/pythongssapi/requests-gssapi
-Keywords: ansible,debug,lsp,dap
-Classifier: License :: OSI Approved :: ISC License (ISCL)
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.8
-Classifier: Programming Language :: Python :: 3.9
-Classifier: Programming Language :: Python :: 3.10
-Classifier: Programming Language :: Python :: 3.11
-Classifier: Programming Language :: Python :: 3.12
-Requires-Python: >=3.8
-Description-Content-Type: text/x-rst
-License-File: LICENSE
-License-File: AUTHORS
-Requires-Dist: requests>=1.1.0
-Requires-Dist: gssapi
-Provides-Extra: dev
-Requires-Dist: black==24.2.0; extra == "dev"
-Requires-Dist: isort==5.13.2; extra == "dev"
-Requires-Dist: pytest; extra == "dev"
-Requires-Dist: tox>=4.0.0; extra == "dev"
-
-requests GSSAPI authentication library
-===============================================
-
-Requests is an HTTP library, written in Python, for human beings. This library
-adds optional GSSAPI authentication support and supports mutual
-authentication.
-
-It provides a fully backward-compatible shim for the old
-python-requests-kerberos library: simply replace ``import requests_kerberos``
-with ``import requests_gssapi``. A more powerful interface is provided by the
-HTTPSPNEGOAuth component, but this is of course not guaranteed to be
-compatible. Documentation below is written toward the new interface.
-
-Basic GET usage:
-
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> r = requests.get("http://example.org", auth=HTTPSPNEGOAuth())
- ...
-
-The entire ``requests.api`` should be supported.
-
-Setup
------
-
-In order to use this library, there must already be a Kerberos Ticket-Granting
-Ticket (TGT) in a credential cache (ccache). Whether a TGT is available can
-be easily determined by running the ``klist`` command. If no TGT is
-available, then it first must be obtained (for instance, by running the
-``kinit`` command, or pointing the $KRB5CCNAME to a credential cache with a
-valid TGT).
-
-In short, the library will handle the "negotiations" of Kerberos
-authentication, but ensuring that a credentials are available and valid is the
-responsibility of the user.
-
-Authentication Failures
------------------------
-
-Client authentication failures will be communicated to the caller by returning
-a 401 response. A 401 response may also be the result of expired credentials
-(including the TGT).
-
-Mutual Authentication
----------------------
-
-Mutual authentication is a poorly-named feature of the GSSAPI which doesn't
-provide any additional security benefit to most possible uses of
-requests_gssapi. Practically speaking, in most mechanism implementations
-(including krb5), it requires another round-trip between the client and server
-during the authentication handshake. Many clients and servers do not properly
-handle the authentication handshake taking more than one round-trip. If you
-encounter a MutualAuthenticationError, this is probably why.
-
-So long as you're running over a TLS link whose security guarantees you trust,
-there's no benefit to mutual authentication. If you don't trust the link at
-all, mutual authentication won't help (since it's not tamper-proof, and GSSAPI
-isn't being used post-authentication. There's some middle ground between the
-two where it helps a small amount (e.g., passive adversary over
-encrypted-but-unverified channel), but for Negotiate (what we're doing here),
-it's not generally helpful.
-
-For a more technical explanation of what mutual authentication actually
-guarantees, I refer you to rfc2743 (GSSAPIv2), rfc4120 (krb5 in GSSAPI),
-rfc4178 (SPNEGO), and rfc4559 (HTTP Negotiate).
-
-
-DISABLED
-^^^^^^^^
-
-By default, there's no need to explicitly disable mutual authentication.
-However, for compatability with older versions of request_gssapi or
-requests_kerberos, you can explicitly request it not be attempted:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, DISABLED
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=DISABLED)
- >>> r = requests.get("https://example.org", auth=gssapi_auth)
- ...
-
-REQUIRED
-^^^^^^^^
-
-This was historically the default, but no longer is. If requested,
-``HTTPSPNEGOAuth`` will require mutual authentication from the server, and if
-a server emits a non-error response which cannot be authenticated, a
-``requests_gssapi.errors.MutualAuthenticationError`` will be raised. (See
-above for what this means.) If a server emits an error which cannot be
-authenticated, it will be returned to the user but with its contents and
-headers stripped. If the response content is more important than the need for
-mutual auth on errors, (eg, for certain WinRM calls) the stripping behavior
-can be suppressed by setting ``sanitize_mutual_error_response=False``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, REQUIRED
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=REQUIRED,
sanitize_mutual_error_response=False)
- >>> r = requests.get("https://windows.example.org/wsman", auth=gssapi_auth)
- ...
-
-OPTIONAL
-^^^^^^^^
-
-This will cause ``requests_gssapi`` to attempt mutual authentication if the
-server advertises that it supports it, and cause a failure if authentication
-fails, but not if the server does not support it at all. This is probably not
-what you want: link tampering will either cause hard failures, or silently
-cause it to not happen at all. It is retained for compatability.
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth, OPTIONAL
- >>> gssapi_auth = HTTPSPNEGOAuth(mutual_authentication=OPTIONAL)
- >>> r = requests.get("https://example.org", auth=gssapi_auth)
- ...
-
-Opportunistic Authentication
-----------------------------
-
-``HTTPSPNEGOAuth`` can be forced to preemptively initiate the GSSAPI
-exchange and present a token on the initial request (and all
-subsequent). By default, authentication only occurs after a
-``401 Unauthorized`` response containing a Negotiate challenge
-is received from the origin server. This can cause mutual authentication
-failures for hosts that use a persistent connection (eg, Windows/WinRM), as
-no GSSAPI challenges are sent after the initial auth handshake. This
-behavior can be altered by setting ``opportunistic_auth=True``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> gssapi_auth = HTTPSPNEGOAuth(opportunistic_auth=True)
- >>> r = requests.get("https://windows.example.org/wsman", auth=gssapi_auth)
- ...
-
-`Expect-Continue`
-^^^^^^^^^^^^^^^^^
-
-Since `httplib <https://bugs.python.org/issue1346874>`_ does not support the
-`Expect-Continue` header, a request with a body will fail with
-``401 Unauthorized`` and must be repeated with a GSSAPI exchange. This causes
-several issues:
-
-* Additional overhead for request retransmission
-* Requests with non-repeatable bodies will fail
-* Some servers will already send the approriate error response while your
- client is still streaming the request. Not all reverse proxies can handle
that
- properly and will rather fail.
-
-Therefore, in such cases you must enable opportunistic authentication.
-
-Hostname Override
------------------
-
-If communicating with a host whose DNS name doesn't match its
-hostname (eg, behind a content switch or load balancer),
-the hostname used for the GSSAPI exchange can be overridden by
-passing in a custom name (string or ``gssapi.Name``):
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> gssapi_auth = HTTPSPNEGOAuth(target_name="internalhost.local")
- >>> r = requests.get("https://externalhost.example.org/", auth=gssapi_auth)
- ...
-
-Explicit Principal
-------------------
-
-``HTTPSPNEGOAuth`` normally uses the default principal (ie, the user for whom
-you last ran ``kinit`` or ``kswitch``, or an SSO credential if
-applicable). However, an explicit credential can be in instead, if desired.
-
-.. code-block:: python
-
- >>> import gssapi
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> name = gssapi.Name("user@REALM", gssapi.NameType.user)
- >>> creds = gssapi.Credentials(name=name, usage="initiate")
- >>> gssapi_auth = HTTPSPNEGOAuth(creds=creds)
- >>> r = requests.get("http://example.org", auth=gssapi_auth)
- ...
-
-Explicit Mechanism
-------------------
-
-``HTTPSPNEGOAuth`` normally lets SPNEGO decide which negotiation mechanism to
use.
-However, an explicit mechanism can be used instead if desired. The ``mech``
-parameter will be passed straight through to ``gssapi`` without interference.
-It is expected to be an instance of ``gssapi.mechs.Mechanism``.
-
-.. code-block:: python
-
- >>> import gssapi
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> try:
- ... krb5 = gssapi.mechs.Mechanism.from_sasl_name("GS2-KRB5")
- ... except AttributeError:
- ... krb5 = gssapi.OID.from_int_seq("1.2.840.113554.1.2.2")
- >>> gssapi_auth = HTTPSPNEGOAuth(mech=krb5)
- >>> r = requests.get("http://example.org", auth=gssapi_auth)
- ...
-
-Delegation
-----------
-
-``requests_gssapi`` supports credential delegation (``GSS_C_DELEG_FLAG``).
-To enable delegation of credentials to a server that requests delegation, pass
-``delegate=True`` to ``HTTPSPNEGOAuth``:
-
-.. code-block:: python
-
- >>> import requests
- >>> from requests_gssapi import HTTPSPNEGOAuth
- >>> r = requests.get("http://example.org",
auth=HTTPSPNEGOAuth(delegate=True))
- ...
-
-Be careful to only allow delegation to servers you trust as they will be able
-to impersonate you using the delegated credentials.
-
-Logging
--------
-
-This library makes extensive use of Python's logging facilities.
-
-Log messages are logged to the ``requests_gssapi`` and
-``requests_gssapi.gssapi`` named loggers.
-
-If you are having difficulty we suggest you configure logging. Issues with the
-underlying GSSAPI libraries will be made apparent. Additionally, copious debug
-information is made available which may assist in troubleshooting if you
-increase your log level all the way up to debug.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/SOURCES.txt
new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/SOURCES.txt
--- old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/SOURCES.txt
2024-02-16 03:35:31.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/SOURCES.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-AUTHORS
-HISTORY.rst
-LICENSE
-MANIFEST.in
-README.rst
-pyproject.toml
-src/requests_gssapi/__init__.py
-src/requests_gssapi/compat.py
-src/requests_gssapi/exceptions.py
-src/requests_gssapi/gssapi_.py
-src/requests_gssapi.egg-info/PKG-INFO
-src/requests_gssapi.egg-info/SOURCES.txt
-src/requests_gssapi.egg-info/dependency_links.txt
-src/requests_gssapi.egg-info/requires.txt
-src/requests_gssapi.egg-info/top_level.txt
-tests/test_requests_gssapi.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/dependency_links.txt
new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/dependency_links.txt
--- old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/dependency_links.txt
2024-02-16 03:35:31.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/dependency_links.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/requires.txt
new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/requires.txt
--- old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/requires.txt
2024-02-16 03:35:31.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-requests>=1.1.0
-gssapi
-
-[dev]
-black==24.2.0
-isort==5.13.2
-pytest
-tox>=4.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/top_level.txt
new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/top_level.txt
--- old/requests-gssapi-1.3.0/src/requests_gssapi.egg-info/top_level.txt
2024-02-16 03:35:31.000000000 +0100
+++ new/requests-gssapi-1.4.0/src/requests_gssapi.egg-info/top_level.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-requests_gssapi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/requests-gssapi-1.3.0/tests/test_requests_gssapi.py
new/requests-gssapi-1.4.0/tests/test_requests_gssapi.py
--- old/requests-gssapi-1.3.0/tests/test_requests_gssapi.py 2024-02-16
03:35:24.000000000 +0100
+++ new/requests-gssapi-1.4.0/tests/test_requests_gssapi.py 2025-10-16
06:00:56.000000000 +0200
@@ -98,7 +98,12 @@
auth = requests_gssapi.HTTPKerberosAuth()
self.assertEqual(auth.generate_request_header(response, host),
b64_negotiate_response)
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), creds=None,
mech=SPNEGO, flags=gssflags, usage="initiate"
+ name=gssapi_sname("[email protected]"),
+ creds=None,
+ mech=SPNEGO,
+ flags=gssflags,
+ usage="initiate",
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -113,7 +118,12 @@
requests_gssapi.exceptions.SPNEGOExchangeError,
auth.generate_request_header, response, host
)
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), usage="initiate",
flags=gssflags, creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ usage="initiate",
+ flags=gssflags,
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
def test_generate_request_header_step_error(self):
@@ -127,7 +137,12 @@
requests_gssapi.exceptions.SPNEGOExchangeError,
auth.generate_request_header, response, host
)
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), usage="initiate",
flags=gssflags, creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ usage="initiate",
+ flags=gssflags,
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
fail_resp.assert_called_with(b"token")
@@ -162,7 +177,12 @@
connection.send.assert_called_with(request)
raw.release_conn.assert_called_with()
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), flags=gssflags,
usage="initiate", creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ flags=gssflags,
+ usage="initiate",
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -197,7 +217,12 @@
connection.send.assert_called_with(request)
raw.release_conn.assert_called_with()
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), creds=None,
mech=SPNEGO, flags=gssflags, usage="initiate"
+ name=gssapi_sname("[email protected]"),
+ creds=None,
+ mech=SPNEGO,
+ flags=gssflags,
+ usage="initiate",
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -402,7 +427,12 @@
connection.send.assert_called_with(request)
raw.release_conn.assert_called_with()
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), usage="initiate",
flags=gssflags, creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ usage="initiate",
+ flags=gssflags,
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -443,7 +473,12 @@
connection.send.assert_called_with(request)
raw.release_conn.assert_called_with()
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), usage="initiate",
flags=gssflags, creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ usage="initiate",
+ flags=gssflags,
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -456,7 +491,12 @@
auth = requests_gssapi.HTTPKerberosAuth(service="barfoo")
auth.generate_request_header(response, host),
fake_init.assert_called_with(
- name=gssapi_sname("[email protected]"), usage="initiate",
flags=gssflags, creds=None, mech=SPNEGO
+ name=gssapi_sname("[email protected]"),
+ usage="initiate",
+ flags=gssflags,
+ creds=None,
+ mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -496,6 +536,7 @@
flags=gssdelegflags,
creds=None,
mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -522,6 +563,7 @@
flags=gssflags,
creds=b"fake creds",
mech=SPNEGO,
+ channel_bindings=None,
)
def test_realm_override(self):
@@ -538,6 +580,7 @@
flags=gssflags,
creds=None,
mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -569,6 +612,7 @@
flags=gssflags,
creds=b"fake creds",
mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -589,6 +633,7 @@
flags=gssflags,
creds=None,
mech=b"fake mech",
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")
@@ -606,6 +651,7 @@
flags=gssflags,
creds=None,
mech=SPNEGO,
+ channel_bindings=None,
)
fake_resp.assert_called_with(b"token")