Page 1 of 1
Viscosity 1.9.2 on ARM with tokens
Posted: Fri Apr 16, 2021 2:21 am
by zelvard
You can make separate openvpn (x86_64) binary?
We use tokens that do not yet have a working library with arm support.
And version 1.8.6 works on M1 with the library fine, but uses incompatible kernel modules to support tap, as a result, there is no working software configuration.
thx, ALG
Re: Viscosity 1.9.2 on ARM with tokens
Posted: Fri Apr 16, 2021 3:01 am
by James
Hi ALG,
The OpenVPN binary can be found at:
/Library/Application Support/Viscosity/viscosity_openvpn
You could strip out the Apple Silicon (ARM64) code to force it to run using Intel emulation (which should allow an Intel-only PKCS#11 driver to load), but please note that this is completely untested and unsupported by us. Running the following command using the Terminal should do the trick:
Code: Select allsudo lipo -remove arm64 "/Library/Application Support/Viscosity/viscosity_openvpn" -output "/Library/Application Support/Viscosity/viscosity_openvpn"
Please also note that the binary will get restored when installing a Viscosity update.
If you're using OpenSC as the driver, please note that they do have a nightly build available with Apple Silicon support that you can use:
https://www.sparklabs.com/support/kb/ar ... on-support
Cheers,
James
Re: Viscosity 1.9.2 on ARM with tokens
Posted: Fri Apr 16, 2021 3:27 am
by zelvard
thx, its worked