Last active
March 16, 2026 23:26
-
-
Save Aptimex/41de29efcb32f57058f5c43b615aac13 to your computer and use it in GitHub Desktop.
Convert a base64 kirbi ticket file to a binary .kirbi file, then to a ccache file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This goes in ~/.bashrc or similar | |
| function k2c() { | |
| base=$(basename "$1") | |
| k="${base%.*}.kirbi" | |
| c="${base%.*}.ccache" | |
| cat $1 | base64 -d > $k | |
| ticketConverter.py $k $c | |
| } | |
| function ek() { | |
| rp=$(realpath $1) | |
| export KRB5CCNAME=$rp | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment