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
#!/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) |
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
# -*- coding: utf-8 -*- | |
from __future__ import (division, unicode_literals, | |
print_function, absolute_import) | |
import unittest | |
import math | |
import copy | |
import re |