Viscosity 1.9.2 on ARM with tokens

Got a problem with Viscosity or need help? Ask here!

zelvard

Posts: 2
Joined: Fri Apr 16, 2021 1:53 am

Post by zelvard » Fri Apr 16, 2021 2:21 am
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

James

User avatar
Posts: 2108
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri Apr 16, 2021 3:01 am
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 all
sudo 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
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

zelvard

Posts: 2
Joined: Fri Apr 16, 2021 1:53 am

Post by zelvard » Fri Apr 16, 2021 3:27 am
thx, its worked
3 posts Page 1 of 1