vscode-gnupg-tool icon indicating copy to clipboard operation
vscode-gnupg-tool copied to clipboard

Extension is killing gpg-agent

Open giggio opened this issue 3 years ago • 1 comments

I can see that the extension kills the gpg-agent when a session starts or end.

https://github.com/heilingbrunner/vscode-gnupg-tool/blob/9e146a3f4674725a5235589c4cc168d4b442acd2/src/extension.ts#LL1056C11-L1056C31

Why is it doing that? I have one agent running which I use from the outside terminal, and the extension is messing with my setup. Can't it just use the running gpg-agent, or start one if it doesn't exist?

giggio avatar Nov 17 '22 03:11 giggio

Hm, i will check. I think i programmed this behavior for better debug experience. Therefore a configurable option ('Use existing gpg-agent') should maybe work. Do you agree ? Better suggestion ?

heilingbrunner avatar Nov 25 '22 15:11 heilingbrunner