Helm/Sign: Difference between revisions
Jump to navigation
Jump to search
Created page with "==References== {| |valign='top'| * [https://helm.sh/docs/topics/provenance/ Helm » Provenance] * [https://helm.sh/docs/helm/helm_package/ Helm » Package] * Helm |valign='top'| |valign='top'| |- |colspan='3'| ---- |- |valign='top'| * Security » HTTP » Basic Authentication * Security » OpenLDAP » BackSQL * Security » Certificate » TLS * Security/Certificate|Security » Certif..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<syntaxhighlight lang="bash"> | |||
cat <<'EXE'| sudo bash | |||
apt-get update;echo | |||
mkdir -p /etc/apt/keyrings | |||
apt list -a --upgradable;apt-get upgrade -y;echo | |||
apt-get install -y apt-transport-https ca-certificates gnupg && apt-get clean | |||
EXE | |||
</syntaxhighlight> | |||
==GnuPG » Batch » Config== | |||
<syntaxhighlight lang="bash"> | |||
export GPG_TTY=$(tty) | |||
mkdir -p ${HOME}/.config/gnupg | |||
echo -n 'Password: ';read -s PASSPHRASE;export PASSPHRASE;echo | |||
# Password: sadaqah! | |||
</syntaxhighlight> | |||
---- | |||
<syntaxhighlight lang="ini"> | |||
cat << CFG | tee ${HOME}/.config/gnupg/chorke.conf >/dev/null | |||
%echo Generating a GPG key | |||
Key-Type: RSA | |||
Key-Length: 3072 | |||
Subkey-Type: RSA | |||
Subkey-Length: 3072 | |||
Name-Real: Chorke Academia, Inc | |||
Name-Email: info@chorke.org | |||
Expire-Date: 1y | |||
Passphrase: ${PASSPHRASE} | |||
%commit | |||
%echo Done | |||
CFG | |||
</syntaxhighlight> | |||
==GnuPG » Generate » Keys== | |||
<syntaxhighlight lang="bash"> | |||
export GPG_TTY=$(tty) | |||
echo -n 'Password: ';read -s PASSPHRASE;export PASSPHRASE;echo | |||
# Password: sadaqah! | |||
gpg --batch --generate-key ${HOME}/.config/gnupg/chorke.conf | |||
gpg --output ${HOME}/.config/gnupg/chorke.asc --armor --export info@chorke.org | |||
gpg --batch --yes --pinentry-mode loopback --passphrase ${PASSPHRASE} --output ${HOME}/.config/gnupg/chorke.key --armor --export-secret-key info@chorke.org | |||
</syntaxhighlight> | |||
==References== | ==References== | ||
{| | {| | ||
Revision as of 00:08, 27 June 2025
cat <<'EXE'| sudo bash
apt-get update;echo
mkdir -p /etc/apt/keyrings
apt list -a --upgradable;apt-get upgrade -y;echo
apt-get install -y apt-transport-https ca-certificates gnupg && apt-get clean
EXE
GnuPG » Batch » Config
export GPG_TTY=$(tty)
mkdir -p ${HOME}/.config/gnupg
echo -n 'Password: ';read -s PASSPHRASE;export PASSPHRASE;echo
# Password: sadaqah!
cat << CFG | tee ${HOME}/.config/gnupg/chorke.conf >/dev/null
%echo Generating a GPG key
Key-Type: RSA
Key-Length: 3072
Subkey-Type: RSA
Subkey-Length: 3072
Name-Real: Chorke Academia, Inc
Name-Email: info@chorke.org
Expire-Date: 1y
Passphrase: ${PASSPHRASE}
%commit
%echo Done
CFG
GnuPG » Generate » Keys
export GPG_TTY=$(tty)
echo -n 'Password: ';read -s PASSPHRASE;export PASSPHRASE;echo
# Password: sadaqah!
gpg --batch --generate-key ${HOME}/.config/gnupg/chorke.conf
gpg --output ${HOME}/.config/gnupg/chorke.asc --armor --export info@chorke.org
gpg --batch --yes --pinentry-mode loopback --passphrase ${PASSPHRASE} --output ${HOME}/.config/gnupg/chorke.key --armor --export-secret-key info@chorke.org
References
|
| ||
|
| ||