From e3bb810e188cae2d40a5191500a501c85cb93381 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 18 Feb 2010 12:11:47 -0500 Subject: enforce --no-armor when exporting to openpgp2ssh in case weird gpg.conf options (see bug 1625) --- src/share/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/share/common') diff --git a/src/share/common b/src/share/common index e735319..37f5305 100644 --- a/src/share/common +++ b/src/share/common @@ -478,7 +478,7 @@ gpg2ssh() { keyID="$1" - gpg --export "$keyID" | openpgp2ssh "$keyID" 2>/dev/null + gpg --export --no-armor "$keyID" | openpgp2ssh "$keyID" 2>/dev/null } # output known_hosts line from ssh key -- cgit v1.2.3