Skip to content

Instantly share code, notes, and snippets.

View ryanpdwyer's full-sized avatar

Ryan Dwyer ryanpdwyer

View GitHub Profile
#!/bin/sh
readonly hash_algo='sha256'
readonly key='MOK.priv'
readonly x509='MOK.der'
readonly name="$(basename $0)"
readonly esc='\\e'
readonly reset="${esc}[0m"
readonly fullver=$(uname -r)
# -*- coding: utf-8 -*-
from __future__ import (division, unicode_literals,
print_function, absolute_import)
import unittest
import math
import copy
import re