pythongssapi / gssapi-console

An interactive tool for testing Python GSSAPI programs
ISC License
0 stars 0 forks source link

GSSAPI Console

PyPI version GitHub version

GSSAPI Console allows provides an easy way to test out Python applications using GSSAPI in a self-contained environment.

By default, the console will set up a self-contained MIT krb5 environment. However, other GSSAPI environments are planned.

Requirements

Setup

gssapi-console will not work without first being installed. If you are working from a local checkout, it suffices to do pip install -e . ..

Usage

further information is available by running gssapi-console.py --help

The main executable of GSSAPI Console is gssapi-console.py. The basic invocation works just like launching python -- use gssapi-console.py FILE to run a file in the established environment, or just run gssapi-console.py or gssapi-console.py -i to get an interactive environment (the -i flag can be used with a file, just like python FILE -i).

There are several additional flags that may be passed to gssapi-console.py:

Additional GSSAPI Console drivers may be introduced using the gssapi_console.drivers setuptools entry point. They should follow the gssapi_console.drivers.GSSAPIConsoleDriver class.

GSSAPI Console provides a YALPT environment driver for writing tutorials and literate python files involving GSSAPI. You can use it by passing -e gssapi to YALPT (it will use the default GSSAPI Console driver in this case).