monal-im / Monal

Monal for XMPP (iOS and macOS)
https://monal-im.org
Other
503 stars 104 forks source link

[Feature]: Implement PIN Protection #1048

Open Andreas4242 opened 5 months ago

Andreas4242 commented 5 months ago

Precondition

Cross-checked related issues?

Describe your feature

Using a PIN-protected chat app on a smartphone that is already secured by a PIN provides an additional layer of security and several advantages:

  1. Enhanced Privacy and Security: If someone manages to bypass the main phone's PIN lock (by observing or guessing), having a separate PIN for chat apps ensures that personal messages remain protected. This is crucial for confidential communication. Particularly, unlocking the phone in a store with many video cameras leads to the PIN being easily read. Example "bring you Phone to a Store for repair / Display change / Battery:

    • "Clerk: Could you please give me the serial number of the Phone, I need it for Apple."
    • "Me: Sure, enters PIN, -> cameras on it."
    • "Clerk: Okay, please leave the phone here, we need 2-3 hours."
    • "Me: Sure thing."
  2. Access for Multiple Users: In scenarios where I might share my device with others (e.g., family members or colleagues) for basic tasks or phone calls, a PIN-protected chat app ensures that my messages stay private even if the main access to the phone is shared.

  3. Prevention of Accidental Access: Even in cases of unintentional access, such as children playing with my phone, having a PIN for specific apps can prevent them from accessing sensitive information.

  4. Compliance and Professionalism: For professionals who use their personal devices for work, a PIN-protected chat app can help comply with corporate policies or legal requirements regarding handling confidential information.

"Multi-layered defense" ensures that even if one security measure fails, others are in place to protect my data. Security by design and default is generally a good approach.

tmolitor-stud-tu commented 5 months ago

Would #992 be okay, too? It just swaps "pin" for "face recognition".

Andreas4242 commented 5 months ago

No

1. Anonymity and Privacy:

2. Data Sensitivity and Abuse Potential:

3. Security Through Obscurity and User Control:

While Face ID and similar biometric systems offer convenience and can provide robust security features, PINs offer a more private, controllable, and less invasive option. The use of a PIN avoids the complexities and potential dangers associated with the handling and protection of biometric data, making it a preferable choice from a data privacy and security perspective.