/* variables for the output conversion: */
int pipestatus;
int pipefd, child_pid;
- char* const b64args[] = {"/usr/bin/base64", "--wrap=0", NULL};
+ char* const b64args[] = {"sh", "-c", "base64 | tr -c -d '[A-Za-z0-9=+/]'", NULL};
init_datum(&m);
init_datum(&e);
err(0,"Translating public key\n");
ret = emit_public_openssh_from_pgp(&pgp_crt, fingerprint, fpr_size);
+ if (ret != 0)
+ return ret;
} else {
/* we have no idea what kind of key this is at all anyway! */