这是indexloc提供的服务,不要输入任何密码
Skip to content

Replace Askpass with System Authentication Integration for Password Entry #553

@bannert1337

Description

@bannert1337

Description:
Currently, XPipe relies on "Askpass" to prompt for passwords when accessing services like Tailscale. While functional, this approach is outdated and lacks support for modern authentication workflows, such as biometric/pin-based system prompts (e.g., fingerprint scans).

Proposed Change:
Integrate with system-native authentication backends (e.g., GNOME Keyring, KDE Wallet, macOS Keychain, Windows Credential Manager) to securely retrieve passwords. This would:

  • Allow seamless use of biometric authentication (e.g., fingerprint scan, FaceID) via the OS.
  • Improve security by leveraging established system credential stores.
  • Align with UX patterns used by other apps like KeePassXC, Bitwarden, and modern IDEs.
  • Eliminate the need for manual fingerprint support implementation in XPipe.

Relevant Examples:

  • KeePassXC and Bitwarden both allow the use of system authentication to unlock databases.

This change would simplify maintenance, enhance accessibility, and provide a more intuitive user experience across platforms. Let’s discuss implementation details (e.g., libsecret for Linux, Security.framework for macOS, Windows CredUI) and prioritize cross-platform support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions