Skip to content

Commit fb66f78

Browse files
committed
Fix --export-gpg command to properly include cipher in exported .asc file
Thanks to YggdrasiI for reporting this bug: #190 (comment)
1 parent 72686f6 commit fb66f78

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ system, you must also run the `--upgrade` command in each repository:
4141
(#189)
4242
- Fail with error when an empty password is provided to the -p or --password
4343
options #188
44+
- Fix --export-gpg command to properly include cipher in exported .asc file
4445

4546
## [2.3.0] - 2024-09-10
4647

transcrypt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ export_gpg() {
10721072
fi
10731073

10741074
local current_cipher
1075-
current_cipher=$(git config --get --local "transcrypt${CONTEXT_CONFIG_GROUP}cipher")
1075+
current_cipher=$(git config --get --local "transcrypt${CONTEXT_CONFIG_GROUP}.cipher")
10761076
local current_password
10771077
current_password=$(load_password "$CONTEXT_CONFIG_GROUP")
10781078
mkdir -p "${CRYPT_DIR}"

0 commit comments

Comments
 (0)