URL:
https://github.com/freeipa/freeipa/pull/3731
Author: frasertweedale
Title: #3731: [Backport][ipa-4-7] Wrap CustodiaClient in context manager
Action: opened
PR body:
"""
Backport of
https://github.com/freeipa/freeipa/pull/3287.
A CustodiaClient object has to the process environment a bit, e.g. set
up GSSAPI credentials. To reuse the credentials in libldap connections,
it is also necessary to set up a custom ccache store and configure
KRBCCNAME.
Credential initialization and ccache is now handled in a context
manager.
https://pagure.io/freeipa/issue/7964
https://bugzilla.redhat.com/show_bug.cgi?id=1755223
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3731/head:pr3731
git checkout pr3731