This file contains 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
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# we need version pyJWT 0.4.3 in order for public key encode to work! | |
import pkg_resources | |
pkg_resources.require("PyJWT==0.4.3") | |
import jwt # => pip install pyjwt==0.4.3 | |
import sys | |
import tempfile |