From 9556a2f1659aa6432cc74469a25d401319d74e79 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 5 Sep 2008 00:09:05 -0400 Subject: [PATCH] more porting tweaks: do not rely on the -w arg to base64, so we can use fourmilab instead of GNU --- src/keytrans/openpgp2ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keytrans/openpgp2ssh.c b/src/keytrans/openpgp2ssh.c index 427adc8..f16eac5 100644 --- a/src/keytrans/openpgp2ssh.c +++ b/src/keytrans/openpgp2ssh.c @@ -208,7 +208,7 @@ int emit_public_openssh_from_pgp(const gnutls_openpgp_crt_t* pgp_crt, const unsi /* variables for the output conversion: */ int pipestatus; int pipefd, child_pid; - char* const b64args[] = {"base64", "--wrap=0", NULL}; + char* const b64args[] = {"sh", "-c", "base64 | tr -c -d '[A-Za-z0-9=+/]'", NULL}; init_datum(&m); init_datum(&e); -- 2.25.1