$ show z4yx/GoAuthing
GoAuthing is a command-line authentication tool for Tsinghua University's network (TUNET). It provides login, logout, and keep-alive functionality for both IPv4 and IPv6 connections. The application features a clean separation between the CLI interface (built with urfave/cli) and the core authentication logic (in the libauth package). It handles credential input via prompts or config files, communicates with the authentication server using custom encryption and encoding schemes, and can run as a daemon via systemd or init.d scripts. The project is actively maintained with regular releases and CI/CD pipelines for multi-platform builds.
The LLM identified 1 files worth highlighting for reuse:
Implements custom base64 encoding with a non-standard alphabet and a proprietary XEncryption algorithm (appears to be a TEA/XTEA variant) used by Tsinghua's authentication system. These self-contained functions demonstrate low-level cryptographic implementation skills and could be extracted for use in any project needing to interact with this specific authentication system. The code has no internal dependencies beyond the standard library, making it highly portable.