Using curl to obtain a VPN token with:
SNAPSHOT doesnt work...
root@OpenWrt:~# apk info curl
curl-8.12.1-r2
root@OpenWrt:~# curl -V
curl 8.12.1 (aarch64-openwrt-linux-gnu) libcurl/8.12.1 mbedTLS/3.6.3 nghttp2/1.63.0
Release-Date: 2025-02-13
curl -u "$PIA_USER:$PIA_PASS" "https://www.privateinternetaccess.com/gtoken/generateToken"
{
"status": "ERROR",
"message": "no auth data"
}
24.10.0 works...
root@OpenWrt:~# curl -V
curl 8.10.1 (aarch64-openwrt-linux-gnu) libcurl/8.10.1 mbedTLS/3.6.2 nghttp2/1.63.0
Release-Date: 2024-09-18
curl -u "$PIA_USER:$PIA_PASS" "https://www.privateinternetaccess.com/gtoken/generateToken"
{
"status": "OK",
"token": "xxxxxWUh7x64F3KAgKfPxnJdL2o2dZSVk_X_7DNYbtmboLiYekSpJ6PfRXfiStaRbLUwvXeM9kengdBoSCagBXy2Ni6hwjEY2CW72MlZ7t7KcslTmaNGjPGIe0w="
}
Only difference is the curl version, does anyone know what's going on here?