Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4060877
sign-freebsd-repo.sh.jinja
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
860 B
Referenced Files
None
Subscribers
None
sign-freebsd-repo.sh.jinja
View Options
#!/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
Details
Attached
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)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment