"gpg --export" should export LANG=C.UTF-8 to be safe.

This commit is contained in:
Tom Limoncelli
2017-05-29 19:39:01 -04:00
parent 7029e44453
commit 800fe098a6

View File

@@ -170,6 +170,7 @@ function prepare_keychain() {
# Works with gpg 2.0 and 2.1
# NB: We must export the keys to a format that can be imported.
make_self_deleting_tempfile keyringasc
export LANG="C.UTF-8"
$GPG --export --keyring "$(get_pubring_path)" >"$keyringasc"
$GPG --import "$keyringasc"
echo '========== Importing keychain: DONE' >&2