This should help with internationalization differences in gpg that
could cause problems. Works in tests as is, but haven't tested with
odd locales.
(closes MS #2491)
* Fix need for single argument to gpg_sphere (thanks Clint)
(closes MS #442)
+ * specify LC_ALL=C for all gpg calls
+ (closes MS #2496)
[ Micah Anderson ]
* fix monkeysphere-host revoke-key, which never worked properly :(
[ Clint Adams ]
* add support for options to the authorized User IDs file. Options that
should apply to keys for a given User ID should be on
- whitespace-prefixed lines immediately following that User ID.
+ whitespace-prefixed lines immediately following that User ID.
(closes MS #440)
-- Jameson Rollins <jrollins@finestructure.net> Mon, 04 Oct 2010 00:36:08 -0400
# user gpg command to define common options
gpg_user() {
- gpg --no-greeting --quiet --no-tty "$@"
+ LC_ALL=C gpg --no-greeting --quiet --no-tty "$@"
}
# output the ssh fingerprint of a gpg key
# function to interact with the gpg keyring
gpg_host() {
- GNUPGHOME="$GNUPGHOME_HOST" gpg --no-auto-check-trustdb --trust-model=always --no-greeting --quiet --no-tty "$@"
+ GNUPGHOME="$GNUPGHOME_HOST" LC_ALL=C gpg --no-auto-check-trustdb --trust-model=always --no-greeting --quiet --no-tty "$@"
}
# list the info about the a key, in colon format, to stdout