From 800fe098a6977d96fb56185692ab7b227ef55c17 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 5feba0e..b245eb5 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -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