Closed Rall3n closed 4 months ago
I should add the issue occurs on AUR version of launcher, flatpak seems to work without the mentioned issue.
This is known. It's because Arch and Arch-based distros have finally joined every other major distro in tightening their security to match OpenSSL 3.0 suggestions. (Congrats on catching up with Ubuntu and Fedora!)
I have an update PR for the AUR with a fix to match what we do on other community builds. https://github.com/Centzilius/aur-xivlauncher/pull/10
There's also a script you can find on our Discord server's known_issues channel to make the adjustments for you.
Here's the script, in case you don't want to join the discord:
#!/bin/bash
echo "Making/remaking openssl_fix.cnf file"
sudo bash -c 'cat > /opt/XIVLauncher/openssl_fix.cnf' << EOF
openssl_conf = openssl_init
[openssl_init]
ssl_conf = ssl_module
[ ssl_module ]
system_default = crypto_policy
[ crypto_policy ]
MinProtocol = TLSv1.2
CipherString = DEFAULT:@SECLEVEL=1
EOF
echo "##### /opt/XIVLauncher/openssl_fix.cnf"
sudo cat /opt/XIVLauncher/openssl_fix.cnf
echo "#####"
echo ""
echo "Making/Remaking xivlauncher-core script"
sudo bash -c 'cat > /usr/bin/xivlauncher-core' << EOF
#!/bin/sh
OPENSSL_CONF=/opt/XIVLauncher/openssl_fix.cnf exec /opt/XIVLauncher/XIVLauncher.Core
EOF
sudo chmod +x /usr/bin/xivlauncher-core
echo "##### /usr/bin/xivlauncher-core"
sudo cat /usr/bin/xivlauncher-core
echo "#####"
echo ""
echo "Adjusting .desktop file"
echo "##### /usr/share/applications/XIVLauncher.desktop"
echo "BEFORE:"
cat /usr/share/applications/XIVLauncher.desktop | grep "Exec"
sudo bash -c "sed -i 's/Exec=XIVLauncher.Core/Exec=xivlauncher-core/' /usr/share/applications/XIVLauncher.desktop /usr/share/applications/XIVLauncher.desktop"
echo ""
echo "AFTER: Please verify the Exec line now says xivlauncher-core"
cat /usr/share/applications/XIVLauncher.desktop | grep "Exec"
echo "#####"
echo ""
echo "All steps should be completed. Please check output above."
Here's the script, in case you don't want to join the discord:
Appreciate this. Should hold over until the PR for the AUR is integrated.
@reiichi001 Thank you for the answer and the effort for the PR to the aur repo.
The PR has been merged recently and I can confirm it works. Therefore i will close this issue.
After what seems to be an update of
openssl
on my distro (Manjaro), trying to login with 2FA fails with following error message:openssl
version is3.2.0-1