Page MenuHome GnuPG

"gpg-agent --csh --daemon --enable-ssh-support" output is missing semicolons to be properly eval'd
Closed, ResolvedPublic

Description

The command 'gpg-agent --csh --daemon --enable-ssh-support' results in the

following output:

setenv GPG_AGENT_INFO /tmp/gpg-DsY4zO/S.gpg-agent:8719:1
setenv SSH_AUTH_SOCK /tmp/gpg-f2paNI/S.gpg-agent.ssh

setenv SSH_AGENT_PID 8719

This can't be properly parsed by csh or tcsh, and you receive the following error:
setenv: Too many arguments.

Each 'setenv' line should be terminated by a semicolon to be properly parsed.

The following is parsed without issues:

setenv GPG_AGENT_INFO /tmp/gpg-DsY4zO/S.gpg-agent:8719:1;
setenv SSH_AUTH_SOCK /tmp/gpg-f2paNI/S.gpg-agent.ssh;

setenv SSH_AGENT_PID 8719;

Details

Version
2.x

Event Timeline

werner claimed this task.

Fixed for 2.0 and 2.1. Thanks.