跳到正文
DEV Community· zang·· 3 小時前AI 評分31

使用 Rust、C 和 Python 在 Ubuntu 上構建 FaceID@NIM:探索面部認證

Building FaceID@NIM: Exploring Facial Authentication on Ubuntu with Rust, C, and Python

AI 導讀

FaceID@NIM 是一個面向 Ubuntu/GNOME、以 Rust、C 和 Python 開發的實驗性開源面部認證系統。系統包括以 C 編寫的 PAM 認證模組、Rust 守護程序、Python 面部識別與活體檢測,以及 GNOME 整合和 GTK4 設定應用程式。項目目前處於預先 alpha 階段,尚未適合用於正式環境,開發者正聚焦處理認證失敗情況。

正文

zang


FaceID@NIM (Neural Identity Matching), an experimental, open-source facial authentication system for Ubuntu/GNOME using Rust, C, and Python.

🔗 GitHub: https://github.com/Gaurav-x111/faceid-nim

What's inside?

  • C-based PAM authentication module
  • Rust daemon for authentication policies and template management
  • Python face recognition and liveness detection
  • GNOME integration and GTK4 settings app
  • Audit logging and password fallback

The main challenge

I'm focusing on secure failure handling: daemon crashes, camera failures, liveness timeouts, and ensuring errors never result in successful authentication.

🚧 Status: Pre-alpha, experimental, and not production-ready.

I'd appreciate feedback from the Linux community, especially on PAM architecture, security weaknesses, and testing priorities.

What failure cases would you test first?

Linux #OpenSource #Rust #Python #Security

來源:DEV Community · dev.to