No description
This repository has been archived on 2026-07-12. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-15 09:06:39 -07:00
.opencode chore: sync residual agent and skill configs 2026-06-14 03:09:01 +01:00
cmd/res-login fix: stale references and typo in auth package 2026-06-15 09:06:39 -07:00
config chore(auth): update imports for core/lib/ reorganization 2026-06-08 20:44:03 -07:00
init/systemd snap shot current work in fixing ctrl+c errors 2026-06-14 20:24:56 -07:00
login fix: stale references and typo in auth package 2026-06-15 09:06:39 -07:00
selector fix: stale references and typo in auth package 2026-06-15 09:06:39 -07:00
tty stash 2026-05-04 11:17:00 -07:00
.gitignore chore: add .gitignore 2026-06-08 18:02:11 -07:00
auth.go init: residual/auth — PAM auth, login UI, session picker, res-login + res-select binaries 2026-04-15 19:17:33 -07:00
embed.go add installation and services 2026-05-03 19:24:29 -07:00
go.mod chore(auth): rename module from res-login to auth 2026-06-08 20:06:20 -07:00
go.sum init: residual/auth — PAM auth, login UI, session picker, res-login + res-select binaries 2026-04-15 19:17:33 -07:00
LICENSE chore: add MIT license 2026-06-15 06:22:00 -07:00
pam.go fix pam auth, a bit hacky with auto injecting an updated pam auth file. 2026-05-03 18:08:19 -07:00
pam_stub.go rebrand repo to res-login, 2026-05-03 11:52:30 -07:00
README snap shot current work in fixing ctrl+c errors 2026-06-14 20:24:56 -07:00
session.go feat: merge session selection into login screen (v1) 2026-05-03 18:31:32 -07:00

residual/auth
=============

authentication, login screen, and session selection for residual.
requires CGO (linux only) for PAM support.

packages:
  auth/        shared authentication interfaces and PAM conversation helpers.
  auth/login/  bubbletea login screen UI (branding + PAM conversation).
  auth/selector/ bubbletea session picker UI (.desktop file scanning).
  auth/tty/    linux TTY management — open, VT switching, wait-active.

binary:
  res-login   full auth stack: TTY setup → PAM auth → session launch.
              run as root for the full login flow.
              run as non-root for standalone session selection only.
              requires CGO_ENABLED=1 (linux only).
              see core/etc/pam.d/residual-login for the PAM service file.

config:
  /etc/residual/login.toml
  ~/.config/residual/login.toml

build:
  go build ./cmd/res-login

module:   git.merith.xyz/residual/auth
requires: git.merith.xyz/residual/core