Skip to content

Enable Secure GPG#132

Open
lethedata wants to merge 1 commit intoshenxn:masterfrom
lethedata:secure-gpg
Open

Enable Secure GPG#132
lethedata wants to merge 1 commit intoshenxn:masterfrom
lethedata:secure-gpg

Conversation

@lethedata
Copy link
Copy Markdown

@lethedata lethedata commented Dec 21, 2025

Enables secure GPG via a new KEYRING_PASSPHRASE variable. This variable is used as the passphrase for generating gpg key and when reading gpg files. This prevents secrets from being saved in docker volumes without protection.

  • enable gpg protection
  • remove set -x to prevent logging password
  • add checks to prevent re-initing pass and gpg
  • present passphrase unlock via docker env variable
    • Note: gpg-agent will not expire gpg-present-passphrases
  • fix deb CMD to ENTRYPOINT

- enable gpg protection
- remove set -x to prevent logging password
- add checks to prevent re-initing pass and gpg
- present passphrase unlock via docker env variable
  - Note: gpg-agent will not expire gpg-present-passphrases
- fix deb CMD to ENTRYPOINT
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