[1.4.0] - 2026-12-02
Added
- Configurable Sendmail /
femail-chrootRegistration Confirmation Delivery (include/ttypt/auth-config.h,src/libaxil-auth.c): - Added zero-shell
pipe+fork+execvconfirmation email delivery (AUTH_SENDMAIL,AUTH_MAIL_FROM,AUTH_SITE_URL,AUTH_MAIL_REQUIRED=1) with strict CRLF/email validation and atomic send-before-commit rollback (cb20b1d). - Jailed Credential Worker & HMAC TTY Ticket Minting (
include/ttypt/auth.h,include/ttypt/auth-config.h,src/auth-privsep-crypto.h,src/libaxil-auth.c): - Added privilege-separated credential worker (
auth_privsep_start_with_key(),auth_privsep_stop(),auth_privsep_register(),auth_privsep_confirm()) and HMAC-signed TTY tickets (auth_get_tty_ticket(),auth_ticket_verify()) soaxil-authcan authenticate users and mint short-lived terminal tickets without retaining root privileges in the web process (c03310c).
Fixed
- NPM Header Mirror (
npm/include/ttypt/auth-config.h): - Synchronized
npm/include/ttypt/auth-config.hwithinclude/ttypt/auth-config.h.
[1.3.8] - 2026-12-02
Fixed
- Windows Direct
libsteleLinkage (Makefile): - Added
-lsteletoLDLIBS-libaxil-auth-Windowsso PE/COFF DLL linking resolvesstl_get_loggerdirectly.
[1.3.7] - 2026-12-02
Fixed
- Windows MinGW64 Handler Signature & DLL Exports (
src/libaxil-auth.c,Makefile): - Updated HTTP route handlers (
handle_session,handle_login,handle_logout,handle_register,handle_confirm) to takesocket_t fdmatchingaxil_handler_ton Windows (_WIN32). - Passed
-Wl,--export-all-symbolson Windows DLL builds so all C symbols andauth_configremain exported alongsideXY_MODULE_API(libxylem v1.9.1).
[1.3.6] - 2026-12-02
Added
- Windows (
winget/ Scoop) Support (src/libaxil-auth.c,Makefile,.github/workflows/ci.yml): - Extended the OpenSSL PBKDF2
crypt()fallback to_WIN32alongsideRAND_bytes()token/salt generation,_mkdir()shims, and#ifndef _WIN32guards around hostgetpw*/getgr*lookups; enabledwingetpackaging andwin32-x64Node-API prebuilds (all 9 OS/mobile formats + npm).
[1.3.5] - 2026-12-02
Added
- Mobile Static Libraries (
android-lib+ios-lib) (.github/workflows/ci.yml): - Enabled Android (
arm64-v8a,x86_64) and iOS (arm64device/simulator +libaxil-auth.xcframework.zip) static library packaging and publishing (686eca0,c86af72). - Android / iOS OpenSSL PBKDF2
crypt()Fallback: - Added OpenSSL PBKDF2
crypt()fallback for Android and iOS (602f1e7).
Fixed
- Android
sys/user.hStruct Collision: - Renamed internal
struct usertostruct auth_userto avoidx86_64sys/user.hcollision (00ef2eb).
Changed
- Portable
libstele/mkBuild Modernization (Makefile,Doxyfile): - Migrated to
include ttypt/include.mkvia Make search paths, dropped legacy../mkfallback, adoptedCFLAGS-LIB/CFLAGS-BIN, and ported Makefiles to OpenBSD + GNU Make (e997ed3,5ac2a50,a19d133,40c4400,12982df,f2bcb3b). - Standardized npm Metadata (
npm/package.json,npm/README.md): - Standardized author,
BSD-2-Clauselicense, and npmREADME.mddocumentation (387810b).
[1.3.4] - 2026-11-16
Added
- Colocated NPM Package
@tty-pt/axil-auth(npm/): - Added Node-API native addon (
npm/native/axil_auth_napi.c,npm/native/LIBS) and JS/TS SDK (npm/dist/index.js,npm/dist/index.d.ts) exposinggetModulePath(),hasNativeModule(),getConfig(),configure(),initAuth(),extractCookie(),getSessionUser(),verifyPassword(), andusernameTaken(). - Bundled
libaxil-authshared library prebuilds foraxil -m auth/npx axil -m authand C headers (npm/include/ttypt/{auth.h,auth-config.h,auth-outcome.h}) for zero-root downstream builds.
[1.3.3] - 2026-11-16
- Arch Linux (
pacman) Packaging & OpenBSD Rebuild (.github/workflows/ci.yml): - Added
pacmantopublish_toanddeps_pacman: "axil,libcorm,libxylem,libstele"soaxil-authpublishes across all 6 Unix OS targets (deb,apk,rpm,pacman,brew,openbsd). - Rebuilt OpenBSD package against
axil1.8.3,libxylem1.8.1, andlibstele1.7.1.
[1.3.2] - 2026-11-14
- Rebuilt against axil 1.8.0: the released packages were built against an axil whose header
included the retired <ttypt/qsys.h>; axil 1.8.0 includes <ttypt/stele.h>.
- Documentation: README and logo path.
[1.3.0]
- Port-Qualified Session Cookie Names:
- Added support for port-qualified and configured cookie names (e.g.
QSESSION_<port>) preventing cookie clobbering across local daemon instances running on distinct ports. - Two-Header Separation & Flag Cleanup:
- Removed obsolete build flags and verified strict two-header separation.
[1.2.0]
- **The default shell is
/bin/false, and that is the enforcement point for
terminal access โ not a convenience default.** Every passwd row this module writes now carries AUTH_DEFAULT_SHELL (/bin/false): downstream code (axil-tty) grants a login shell only when the authenticated identity's passwd entry names a real shell, so /bin/sh here would hand every registered account a shell on the server. Do not "fix" this to a login shell. Covered by test.sh ยง14 (the registered account's passwd row must name a no-op shell).
- Registration refuses a name that passwd already owns โ
auth_username_taken().
A name is taken when it is registered here, present in the passwd file this module owns, or resolvable by the C library; all three are consulted because load_passwd() deliberately does not seed the user map from passwd (it only patches the uid of names already loaded from shadow), so a passwd-only entry was absent from the user map while still being a real account โ registering over it handed the caller's session that account's uid and shell. test.sh ยง15 appends a passwd-only name and asserts registration is refused, and the fixture is removed on every exit path so a failed run leaves no account behind.
auth_password_matches(username, password)is exported as an XY hook, so
a non-HTTP login surface (a MUCK-style connect command) authenticates through the same code path instead of asserting an identity. It fails closed and the failures are deliberately indistinguishable โ unknown user, wrong password, unconfirmed account and a no-op stored hash all return 0, so callers cannot be used to enumerate accounts; a */! stored hash makes crypt() fail, which is what keeps a locked system account from authenticating at all. It returns non-zero on success on purpose: the xy bus zero-fills a hook result when no module implements it, so a "0 means valid" predicate would authenticate every caller the moment axil-auth is absent.
- Login failures answer one uniform message. The login handler now reports
unknown user, wrong password and unconfirmed account identically (the "not confirmed" case is folded in deliberately) so the form is not an account oracle.
[1.1.0]
- Renamed
libndc-authโaxil-auth: the module now integrates with the axil HTTP/server library and its xy hooks (axil-xy.h); headers and build targets renamed accordingly. - Proper axil XY integration: hooks forwarded through
on_axil_*(command/connect/disconnect/tick/parse) so session and ownership logic runs inside axil's request lifecycle. Session hooks ride the xy bus (get_cookie,get_session_user,on_auth_confirm_ok/on_auth_confirm_error) and callers dispatch through it. - Configurable sessions:
auth_configโ cookie name (defaultQSESSION), cookie attributes (Path=/; SameSite=Lax; HttpOnly),max_sessions, andsession_ttl(default 24h, 0 = no expiry). - Group management:
auth_create_group,auth_get_gid/auth_get_grpname,auth_user_in_group,auth_group_add_member/auth_group_del_member/auth_group_get_membersover POSIX/etc/group. - Audit hardening: auth audit fixes and improvements across the session token / registration / login paths.
- Retained feature set: user registration and login with bcrypt password hashing, session tokens via cookie, ownership tracking (chown when root, owner-file when not), configurable via environment (
AXIL_AUTH_GID,AXIL_AUTH_GROUP,AXIL_AUTH_COOKIE), plus the/auth/login,/auth/register,/auth/api/session,/auth/logout, and/auth/confirmendpoints. libqmapโlibcormrename.