From 9ee69f7f5a1adc99d106a840ca5230aa7c124e64 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Mon, 29 May 2017 19:39:01 -0400 Subject: [PATCH] "gpg --export" should export LANG=C.UTF-8 to be safe. --- bin/_blackbox_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index eb7b5f4..c21d70c 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -199,6 +199,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