Page MenuHomeDevCentral

sign-freebsd-repo.sh.jinja
No OneTemporary

sign-freebsd-repo.sh.jinja

#!/bin/sh
# -------------------------------------------------------------
# FreeBSD repository
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source: man 8 pkg-repo
# Source file: roles/freebsd-repo/repo/files/sign-freebsd-repo.sh.jinja
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
KEY_DIR={{ keydir }}
read -t 2 sum
[ -z "$sum" ] && exit 1
echo SIGNATURE
echo -n "$sum" | /usr/bin/openssl dgst -sign "$KEY_DIR/repo.key" -sha256 -binary
echo
echo CERT
cat "$KEY_DIR/repo.pub"
echo END

File Metadata

Mime Type
text/x-shellscript
Expires
Tue, Jan 28, 08:32 (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2380188
Default Alt Text
sign-freebsd-repo.sh.jinja (860 B)

Event Timeline