Skip to content

Instantly share code, notes, and snippets.

View qrkourier's full-sized avatar

Kenneth Bingham qrkourier

View GitHub Profile
@qrkourier
qrkourier / ziti-jwt.py
Last active December 9, 2024 16:29
parse or verify a Ziti enrollment token as JWT
#!/usr/bin/env python
# This script parses and attempts to verify the signature of a Ziti JWT token and prints the header, payload, and
# analysis of the token.
import argparse
import json
import logging
import os
import ssl
#!/bin/bash -eu
git filter-branch --env-filter '
# name, email, and date for author and committer are all set to the preferred
# values unless the override variable is empty or undefined.
# (see git-rewrite-tree(1))
#GIT_AUTHOR_NAME
#GIT_AUTHOR_EMAIL
#GIT_AUTHOR_DATE