Secure gpg 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
This commit is contained in:
Echo Nar 2025-12-21 14:31:18 -06:00
parent 044ea2b034
commit c2e8b88188
No known key found for this signature in database
GPG key ID: 06D33D3795EB43AA
7 changed files with 75 additions and 39 deletions

View file

@ -3,6 +3,8 @@ version: '2.1'
services:
protonmail-bridge:
image: shenxn/protonmail-bridge
environment:
- KEYRING_PASSPHRASE=
ports:
- 1025:25/tcp
- 1143:143/tcp