Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@degville
degville / sign-system-user-assertion.sh
Created September 4, 2023 09:48 — forked from anonymouse64/sign-system-user-assertion.sh
simplistic shell script for creating system-user assertions for use with snapd/ubuntu core
#!/bin/bash
set -e
# first argument is the name of the key to sign the assertion with
if [ "$#" != 1 ]; then
echo "usage: ./sign-system-user-assertion <key-name>"
exit 1
fi
### Keybase proof
I hereby claim:
* I am degville on github.
* I am morrison (https://keybase.io/morrison) on keybase.
* I have a public key whose fingerprint is CEC5 48C4 6145 A0A9 048B F705 09D7 38BE 1D8C D97F
To claim this, I am signing this object: