KeyChainSupport Problem with 1.11.1

I’m testing a Viscosity 1.11.1 package that I built. We have the KeyChainSupport boolean set to False in the plist file:

└─[0] <> grep -A 1 KeyChainSupport ~/Downloads/Viscosity\ Installer/Preconfigure/com.viscosityvpn.Viscosity.plist
        <key>KeyChainSupport</key>
        <string>False</string>

It’s also set to False in the com.viscositypn.Viscosity preferences:

└─[0] <> defaults read ~/Library/Preferences/com.viscosityvpn.Viscosity.plist KeyChainSupport
False

When I try to connect to a VPN server with 1.11.0 the Keychain checkbox is grayed out, but it’s not with 1.11.1.

Did something change? Am I doing something wrong?

Thanks,
Pete

Hi Pete,

The problem appears to be that the config is specifying the value as a string, when it’s actually a boolean type. Specifying it like so should work:

<key>KeyChainSupport</key>
<false/>

The update does enforce type checking on stored settings, older versions were more forgiving and would have parsed the string as a boolean.

Cheers,
James

Thanks for pointing that out, James. I’ll rebuild with the config fix and try again.

That seems to have fixed it. I also fixed the other booleans in that plist file.

Thank you.

Pete

Good to hear - thanks for the follow-up.

Cheers,
James