Skip to content

Instantly share code, notes, and snippets.

@Frizlab
Created February 23, 2024 23:49
Show Gist options
  • Save Frizlab/fbd3971a42a4fd07765758b095623377 to your computer and use it in GitHub Desktop.
Save Frizlab/fbd3971a42a4fd07765758b095623377 to your computer and use it in GitHub Desktop.
gpg-pass-from-*
#!/bin/bash
set -euo pipefail
exec gpg --pinentry-mode=loopback --passphrase="$FRZ_GPG_PASS" "$@"
#!/bin/bash
set -euo pipefail
exec gpg --pinentry-mode=loopback --passphrase-fd=7 "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment