Menu

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

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

DEV Community: securityΒ·zangΒ·1 day ago
#dvGbhABh
#devtosecurity#devto#dev#opensource#rust
Reading 0:00
15s threshold

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