Prevent screenshots while showing OTP codes.
ehdis opened this issue · comments
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.
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.