Discussion:
Cygwin/OpenSSH with OpenSC: Segmentation fault
(too old to reply)
Evil Medi
2016-02-27 12:39:34 UTC
Permalink
Hello OpenSSH developers

When using OpenSSH with OpenSC in cygwin I unfortunately I get a segmentation fault with:
ssh -I /usr/local/lib/opensc-pkcs11.dll host
The specific error within the dump is: Exception: STATUS_ACCESS_VIOLATION

One version of OpenSC has been compiled for Cygwin and one for win32, openssh shows the same behavior with both. This issue is also being discussed here: https://github.com/OpenSC/OpenSC/issues/607
I'm seeing this currently with openssh_7.1p2 and opensc 0.15.0, but it does work with Firefox and openvpn.

Anyone have thoughts on this?

Regards
Alon Bar-Lev
2016-02-27 17:02:43 UTC
Permalink
Post by Evil Medi
Hello OpenSSH developers
ssh -I /usr/local/lib/opensc-pkcs11.dll host
The specific error within the dump is: Exception: STATUS_ACCESS_VIOLATION
One version of OpenSC has been compiled for Cygwin and one for win32, openssh shows the same behavior with both. This issue is also being discussed here: https://github.com/OpenSC/OpenSC/issues/607
I'm seeing this currently with openssh_7.1p2 and opensc 0.15.0, but it does work with Firefox and openvpn.
Anyone have thoughts on this?
Regards
Hello,
Most probably you need to build opensc for cygwin for this to work.
Alon

Loading...