diff --git a/README.md b/README.md index b05e5a8..8648f52 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ There are two types of images. ## Environment Variables for images with `build` in tag -| Name | Description | Default Value | -| --------------------- | ----------------------------------------------------------------------------------- | ------------- | -| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) | -| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) | -| `MASTER_PASSWORD` | the master password for the internal password manager required by protonmail-bridge | `pass-key` | -| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` | +| Name | Description | Default Value | +| --------------------- | --------------------------------------------------------------------------------- | ------------- | +| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) | +| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) | +| `KEY_ID` | the pgp-id for the internal password manager required by protonmail-bridge | `pass-key` | +| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` | ## Initialization diff --git a/build/entrypoint.sh b/build/entrypoint.sh index 0acc9a5..d767f77 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -20,7 +20,7 @@ if [[ $1 == init ]]; then # Initialize pass gpg --generate-key --batch /protonmail/gpgparams - pass init "${MASTER_PASSWORD:-"pass-key"}" + pass init "${KEY_ID:-"pass-key"}" # Login do_login="/protonmail/proton-bridge --cli $*"