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

vdk-kerberos-auth: upgrade minikerberos and requests-kerberos to latest #742

Merged
merged 2 commits into from
Feb 25, 2022

Conversation

ivakoleva
Copy link
Contributor

Issues were noticed with python >3.7 with requests-kerberos configured
hostname. The minikerberos dependency was pinned to 0.1.0 - due to
functional changes introduced in later versions. We need to upgrade to
the latest, so we solve issues fixed in later dependency versions.

Unpinned minikerberos and requests-kerberos versions, using effectively:
minikerberos 0.2.17
requests-kerberos 0.14.0
Introduced VdkAioKerberosClient implementation, based on minikerberos
AIOKerberosClient, that patches two issues marked with a comment.
We will elaborate further on potentially contributing the fixes back to
minikerberos.

Testing Done: did install locally and run an authentication successfully
using a keytab and KDC server available.

Signed-off-by: ikoleva [email protected]

Issues were noticed with python >3.7 with requests-kerberos configured
hostname. The minikerberos dependency was pinned to 0.1.0 - due to
interface changes introduced in later versions. We need to upgrade to
the latest, so we solve issues fixed in later dependency versions.

Unpinned minikerberos and requests-kerberos versions, using effectively:
minikerberos            0.2.17
requests-kerberos       0.14.0
Introduced VdkAioKerberosClient implementation, based on minikerberos
AIOKerberosClient, that patches two issues marked with a comment.
We will elaborate further on potentially contributing the fixes back to
minikerberos.

Testing Done: did install locally and run an authentication successfully
using a keytab and KDC server available.

Signed-off-by: ikoleva <[email protected]>
Issues were noticed with python >3.7 with requests-kerberos configured
hostname. The minikerberos dependency was pinned to 0.1.0 - due to
functional changes introduced in later versions. We need to upgrade to
the latest, so we solve issues fixed in later dependency versions.

Unpinned minikerberos and requests-kerberos versions, using effectively:
minikerberos            0.2.17
requests-kerberos       0.14.0

Testing Done: did install locally and run an authentication successfully
using a keytab and KDC server available.

Signed-off-by: ikoleva <[email protected]>
Copy link
Contributor

@doks5 doks5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrMoZ1
Copy link
Contributor

mrMoZ1 commented Feb 25, 2022

Are the introduced changes covered by existing tests? If not we should think about testing.

@ivakoleva
Copy link
Contributor Author

ivakoleva commented Feb 25, 2022

Are the introduced changes covered by existing tests? If not we should think about testing.

tests cover the change;
also, verified locally with an existing keytab and KDC server instance

@ivakoleva ivakoleva merged commit ab67d57 into main Feb 25, 2022
@ivakoleva ivakoleva deleted the person/ikoleva/kerberos-patched branch February 25, 2022 14:18
antoniivanov pushed a commit that referenced this pull request Mar 16, 2022
…st (#742)

* vdk-kerberos-auth: upgrade minikerberos and requests-kerberos to latest

Issues were noticed with python >3.7 with requests-kerberos configured
hostname. The minikerberos dependency was pinned to 0.1.0 - due to
functional changes introduced in later versions. We need to upgrade to
the latest, so we solve issues fixed in later dependency versions.

Unpinned minikerberos and requests-kerberos versions, using effectively:
minikerberos            0.2.17
requests-kerberos       0.14.0
Introduced VdkAioKerberosClient implementation, based on minikerberos
AIOKerberosClient, that patches two issues marked with a comment.
We will elaborate further on potentially contributing the fixes back to
minikerberos.

Testing Done: did install locally and run an authentication successfully
using a keytab and KDC server available.

Signed-off-by: ikoleva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants