Skip to content

XPipe fails to start on Windows 10 LTSC due to PKCS#11 #722

@QiuRez

Description

@QiuRez

Description:
When trying to launch XPipe on Windows 10 LTSC, the following error appears:

Details:
OS: Windows 10 LTSC
XPipe version: 19.1/2025-11-19-15-20

SSH binary used:
Windows built-in OpenSSH

PKCS#11 token/smartcard is not used, but the program attempts to apply the pkcs11provider option.

Expected behavior:
XPipe should start without attempting to use PKCS#11 if it is not configured.

Steps to reproduce:

  • Install XPipe on Windows 10 LTSC.
  • Try to connect to any SSH server.
  • The error above appears, and the process exits.
18:29:35:269 - info: Starting sub shell ... {
    manageParent=true
    command=$env:DISPLAY='localhost:0.0';$env:SSH_ASKPASS_REQUIRE='force';$env:SSH_ASKPASS='C:\Users\...\xpipe.exe';$env:ASKPASS_PREFIX='[ssh]';$env:ASKPASS_REQUEST='ad1d8c36-8ebe-49da-a1f9-675a625f3e67';$env:ASKPASS_REF='e875b1ee-fe12-4e0d-a136-521a77f3272b';$env:BEACON_PORT='21721';ssh -oNumberOfPasswordPrompts=3 -o ControlMaster="no" -o StrictHostKeyChecking="no" -o NoHostAuthenticationForLocalhost="yes" -o IdentitiesOnly="yes" -o IdentityAgent="none" -o IdentityFile="none" -o PKCS11Provider="none" -oIgnoreUnknown="RemoteCommand,WarnWeakCrypto" -oRemoteCommand=none -oWarnWeakCrypto=no -oServerAliveInterval=15 -oServerAliveCountMax=2 -T -oProxyJump=none -p 22 "[email protected]"
    elevated=false
}
18:29:38:457 - error: 
io.xpipe.app.process.ProcessOutputException: Shell opener command was unsuccessful
Process did not start up properly and had to be killed

command-line line 0: Unsupported option "pkcs11provider"
CreateProcessW failed error:2
posix_spawn: No such file or directory
	at io.xpipe.app.process.ProcessOutputException.withPrefix(ProcessOutputException.java:48)
	at io.xpipe.ext.proc.util.d.dN(SourceFile:280)
	at io.xpipe.ext.proc.m.p(SourceFile:1893)
	at io.xpipe.ext.proc.ssh.v.p(SourceFile:294)
	at io.xpipe.ext.proc.m.K(SourceFile:781)
	at io.xpipe.ext.proc.m.start(SourceFile:173)
	at io.xpipe.app.ext.ShellSession.start(ShellSession.java:61)
	at io.xpipe.app.ext.SingletonSessionStore.startSessionIfNeeded(SingletonSessionStore.java:54)
	at io.xpipe.app.ext.ShellStore.getOrStartSession(ShellStore.java:25)
	at io.xpipe.ext.proc.m.prepareIntermediateTerminalOpen(SourceFile:1620)
	at io.xpipe.ext.proc.ssh.v.prepareIntermediateTerminalOpen(SourceFile:141)
	at io.xpipe.ext.proc.j.prepareTerminalOpen(SourceFile:285)
	at io.xpipe.app.terminal.TerminalLaunchRequest.setupRequest(TerminalLaunchRequest.java:101)
	at io.xpipe.app.terminal.TerminalLaunchRequest.lambda$setupRequestAsync$0(TerminalLaunchRequest.java:68)
	at io.xpipe.app.util.ThreadHelper.lambda$wrap$0(ThreadHelper.java:22)
	at java.lang.VirtualThread.run(VirtualThread.java:456)
Caused by: io.xpipe.app.process.ProcessOutputException: Process did not start up properly and had to be killed

command-line line 0: Unsupported option "pkcs11provider"
CreateProcessW failed error:2
posix_spawn: No such file or directory
	at io.xpipe.app.process.ProcessOutputException.of(ProcessOutputException.java:88)
	at io.xpipe.app.process.ProcessOutputException.of(ProcessOutputException.java:57)
	at io.xpipe.ext.proc.util.d.dN(SourceFile:282)
	... 14 more

Is it possible to change the default value of $CMD and remove the use of PKCS11Provider="none" from it, or otherwise disable its usage? Or install and configure PKCS11Provider on windows 10.

I searched for methods on Google, but couldn't find any. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions