This tool can convert kerberos ticket of format .kirbi to standard MIT CCACHE format
Project description
KtConvertor
The objective of this project is to convert a kerberos ticket from format .kirbi to MIT Kerberos cache file.
We use the ccache.py of the project minikerberos
๐ Key Features
- Smart Pathing: Automatically detects the correct Kerberos cache path for your OS (following XDG standards on Linux).
- Safe I/O: Atomic file writes and automatic directory creation.
- Modern CLI: Built with
TyperandRichfor beautiful, informative terminal output. - Developer Friendly: Fully type-hinted and optimized for use with
uv.
๐ Quick Start
This tool is released as a python package and executable. You need to have python and pip to install it.
Build your local environment
As we mentioned before, this tool may build locally the .whl files. So if the OS, CPU architecture or python version of your build environment are not compatible with the target machine, the downloaded or generated .whl will
not be compatible in the target machine. The python version which you use to run the tool will define the downloaded installed
Before build your local environment, check the below things:
- What is the
OSof your target machine? (e.g. Windows, Linux, MacOS) - What is the
CPU architectureof your target machine? (e.g. x86, ARM, etc.) - What is the
python versionof your target python environment (e.g. 3.11, 3.12, etc.)
For example if you target environment is a Windows Server 2019 with x86 CPU and python 3.11. Your local environment
should also be Windows, x86, and python 3.11.
We recommend you to use a virtual environment to run the tool. Your local environment must have internet access.
For example, you can create a virtual environment for python 3.11 with conda.
conda create --name my_test python=3.11
Installation
Here we suppose you already have the required python, pip and virtual environment.
pip install ktconvertor
Basic Usage
After installation, you can view all available options of the tool with convert-tgt.exe --help
> convert-tgt.exe --help
Usage: convert-tgt [OPTIONS] KIRBI_PATH
Convert a Kerberos .kirbi ticket to .ccache format.
โโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ * kirbi_path FILE Path to the input .kirbi ticket file. [required] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ --output -o PATH Path for the output .ccache file. If omitted, uses the default OS cache path. โ
โ --install-completion Install completion for the current shell. โ
โ --show-completion Show completion for the current shell, to copy it or customize the โ
โ installation. โ
โ --help Show this message and exit. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
> convert-tgt.exe tgt.kirbi
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ktconvertor-0.3.0.tar.gz.
File metadata
- Download URL: ktconvertor-0.3.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
552a5a17cb798b12521b75846f000bec9a6f335bb786c42dae9c1800d7feeeed
|
|
| MD5 |
c058f6dd0a82f64fbef5e5235a6e1b46
|
|
| BLAKE2b-256 |
c28910ae57f233d2e29482c3b5ed0a3a1bce4ec9b863be01b7fc457fd5ee60b5
|
File details
Details for the file ktconvertor-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ktconvertor-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b56f4b35166738f176a79ed4808b5481ff5c051d366da049fd395b33c402e1
|
|
| MD5 |
9a14dcd4d7a2dfca6d02c3f7f2cc9578
|
|
| BLAKE2b-256 |
292d7d252fc38e801eba3dca2d0d50ed20f9c20413e9428e1aa5834a9eaf5c1e
|