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/env bash | |
set -eou pipefail | |
# This is probably waaay too long. | |
CERTIFICATE_VALID_DAYS=36500 | |
NAME="$(getent passwd $(whoami) | awk -F: '{print $5}')" | |
OUTPUT_DIR="/root/module-signing" | |
KEY_FILE="${OUTPUT_DIR}/MOK.priv" |
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
index.html | |
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/bash | |
# https://gist.github.com/sofyanhadia/37787e5ed098c97919b8c593f0ec44d8 | |
# Make sure you grab the latest version | |
set -euo pipefail | |
VERSION='3.5.1' | |
FILENAME=protoc-${VERSION}-linux-x86_64.zip | |
INSTALL="/opt/protobuf/protoc-${VERSION}" | |
CURRENT="/opt/protobuf/current" |