LibreAuth

Python SDK

Python 3.8+ · LibreAuth native client · Protocol v2 available (Enterprise)

Python Python 3.8+
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

libreauth_v2.py · ops_bridge.process_check_ops after check · ops_executor + hardening · full Windows ops parity · cryptography AEAD iv16 · PyNaCl · /api/v2/

  1. Credentials: name + ownerid (10 characters)
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: python/libreauth.py
  4. Ed25519 key: from initResponse Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
pip install requests pynacl
# 1.x: libreauth.py · v2: libreauth_v2.py → /api/v2/

Code Example

Python
from libreauth_v2 import LibreAuthV2

app = LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/")
app.init()
app.login("user", "pass", "HWID")

Quick Test

Test
python -c "from libreauth import LibreAuth; a=LibreAuth('App','OWNER','1.0','https://libreauth.nutexe.dev/api/1.3/'); a.init(); print('ok')"

Protocol v2 (Enterprise)

INFO
Requires Enterprise plan. Endpoint https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.

Source: python/libreauth_v2.py

Python · v2
from libreauth_v2 import LibreAuthV2

app = LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/")
app.init()
app.login("user", "pass", "HWID")