Skip to content

As a user, I want to login to my workstation when LLNG server is unreachable #30

Description

@guimard

User Story

As a desktop user,
I want to login to my workstation when the LLNG server is unreachable,
So that I can work even without network connectivity.

Acceptance Criteria

  • First login (online): SSO + create local password
  • Subsequent logins (offline): Use local password
  • Credentials cached securely with encryption
  • Cache has configurable expiration
  • Clear indication of offline mode to user

Technical Details

Architecture

First Login (ONLINE):
User → Greeter → PAM → LLNG Server ✓
                  ↓
         Create local password
                  ↓
         Cache encrypted credentials

Subsequent Login (OFFLINE):
User → Greeter → PAM → LLNG Server ✗ (timeout)
                  ↓
         Verify local password
                  ↓
         Decrypt cached user info
                  ↓
         Session opens

Security Model

  • Password hashed with Argon2id (memory-hard)
  • User data encrypted with AES-256-GCM
  • Encryption key derived from password via PBKDF2
  • Cache expires after configurable period (default: 7 days)

Component

Repo: llng-pam-module (C)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpam-moduleChanges in the PAM module (C)phase-7Phase 7: Authentification Offlineuser-storyUser story

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions