python-krbcontext
python-krbcontext copied to clipboard
A Kerberos context manager
when I use kerberos,these code need adjust,pls how to do it,Thanks guys。 # 请求url获取相应的json async def get_json_from_url(url): async with aiohttp.ClientSession() as session: try: async with session.get(url, timeout=10) as resp: result...
Hello, first of all thank you for your work, when I used this module, the following error occurred I don't know what caused it, try to solve it, but it...
The code near line `156` in `context.py` attempts to get existing credentials before it creates a temporary credentials cache for keytab auth. ``` creds = gssapi.creds.Credentials(**creds_opts) ``` The above line...
Basically, this is the same issue as #30 ``` pip3 -V WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip....
User story I want to initialize a Kerberos context in default ccache, which is specified by ``KRB5CCNAME``. For example, ``` import os os.environ['KRB5CCNAME'] = '/tmp/mycc' with krbContext(using_keytab=True, principal='...', keytab_file='...'): import...
As per subject
Current default ccache depends on what is configured in user's system, that is configured in ``/etc/krb5.conf`` generally. ``MEMORY`` type ccache would be useful and faster than current behavior, as there...