gpg4win support maybe?

This commit is contained in:
Eugene Pankov 2022-01-31 22:19:39 +01:00
parent be3bae3a6f
commit b234300bd8
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -125,7 +125,10 @@ export class SSHSession {
if (await fs.exists(WINDOWS_OPENSSH_AGENT_PIPE)) {
this.agentPath = WINDOWS_OPENSSH_AGENT_PIPE
} else {
if (await this.platform.isProcessRunning('pageant.exe')) {
if (
await this.platform.isProcessRunning('pageant.exe') ||
await this.platform.isProcessRunning('gpg-agent.exe')
) {
this.agentPath = 'pageant'
}
}