Skip to content

Commit

Permalink
Fix --export-gpg command to properly include cipher in exported .asc …
Browse files Browse the repository at this point in the history
…file

Thanks to YggdrasiI for reporting this bug:
#190 (comment)
  • Loading branch information
jmurty committed Jan 6, 2025
1 parent 72686f6 commit fb66f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ system, you must also run the `--upgrade` command in each repository:
(#189)
- Fail with error when an empty password is provided to the -p or --password
options #188
- Fix --export-gpg command to properly include cipher in exported .asc file

## [2.3.0] - 2024-09-10

Expand Down
2 changes: 1 addition & 1 deletion transcrypt
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ export_gpg() {
fi

local current_cipher
current_cipher=$(git config --get --local "transcrypt${CONTEXT_CONFIG_GROUP}cipher")
current_cipher=$(git config --get --local "transcrypt${CONTEXT_CONFIG_GROUP}.cipher")
local current_password
current_password=$(load_password "$CONTEXT_CONFIG_GROUP")
mkdir -p "${CRYPT_DIR}"
Expand Down

0 comments on commit fb66f78

Please sign in to comment.