Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib/sign-release.sh: allow secret via stdin #103

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

herbetom
Copy link
Member

Providing the secret via stdin has the advantage of not needing to store the secret in cleartext somewhere on the filesystem.
Instead it can be decrypted on the fly and provided via stdin.

A few examples:

gpg -d singkey.gpg | contrib/sign-release.sh 3.0.6

age -d -i ~/.ssh/id_ed25519 signkey.age | ./contrib/sign-release.sh 3.0.6

gopass show signkey | ./contrib/sign-release.sh 3.0.6

keepassxc-cli show -k ~/db.key ~/db.kdbx signkey -a Password | contrib/sign-release.sh 3.0.6

Providing the secret via stdin has the advantage of not needing to store the secret
in cleartext somewhere on the filesystem.
Instead it can be decrypted on the fly and provided via stdin.

A few examples:

gpg -d singkey.gpg | contrib/sign-release.sh 3.0.6

age -d -i ~/.ssh/id_ed25519 signkey.age | ./contrib/sign-release.sh 3.0.6

gopass show signkey | ./contrib/sign-release.sh 3.0.6

keepassxc-cli show -k ~/db.key ~/db.kdbx signkey -a Password | contrib/sign-release.sh 3.0.6
@herbetom herbetom merged commit 3ed9c6a into freifunk-darmstadt:master Nov 19, 2024
27 checks passed
@herbetom herbetom deleted the sign-release-stdin branch November 19, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant