Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent screenshots while showing OTP codes. #14

Closed
ehdis opened this issue Mar 10, 2020 · 1 comment
Closed

Prevent screenshots while showing OTP codes. #14

ehdis opened this issue Mar 10, 2020 · 1 comment

Comments

@ehdis
Copy link

ehdis commented Mar 10, 2020

Hi, I wonder if SFOS provides a feature to prevent making a screenshot while a applications is open.

The problem is generic and must be supported by the UI layer (IPC/DBUS layer?).

The Android OS seems to provide FLAG_SECURE. Example of the problem:
google/google-authenticator-android#50

So, to protect the auth code. Does SFOS has such flag? Could this be integrated into foilauth?
Any comments on this would be great! Thx.

@ehdis ehdis changed the title Prevent Screenshots while showing OTP codes. Prevent screenshots while showing OTP codes. Mar 10, 2020
@monich
Copy link
Owner

monich commented Jan 9, 2021

AFAICT there's no such option. However, when a screenshot is taken, the system these days always shows a popup to alert the user that something is going on.

@monich monich closed this as completed Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants