Skip to content

Panic Code: clear all secret chats with specific passcode #1398

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

tfoldi
Copy link

@tfoldi tfoldi commented Feb 28, 2016

With this patch one can specify a special panic code that clears all secret chats history (both locally and remotely). This is pretty useful if you're forced to unlock your application since you can remove all proofs before things are getting hot.

How does it work?

Panic Code can be set in Passcode Lock menu under settings. If Panic Code is enabled and you use that code instead of pass code then all secret chats are cleared. Panic Code does not unlock the application, you still have to use your existing passcode.

Technical stuff

I added a new dialog type to PasscodeActivity with type==3. That will reuse the existing passcode UI elements.

Please let me know if I need to change anything to get this PR approved. Thx.

@tfoldi
Copy link
Author

tfoldi commented Mar 7, 2016

I just updated the PR to use version 3.6.1

@tfoldi
Copy link
Author

tfoldi commented May 5, 2016

@DrKLO , any chance for merge or feature import? if not, I'll close it 😞

@richin13
Copy link

Nice feature

@z3ntu
Copy link

z3ntu commented Mar 3, 2017

Great idea!

@chtisgit
Copy link

chtisgit commented Mar 4, 2017

I like this idea, but in my eyes the panic code should also unlock the app.
So it really looks like you unlocked it at first try.

@tfoldi
Copy link
Author

tfoldi commented Mar 8, 2017

@chtisgit the idea was that if the app is locked, then you type this code that deletes everything but keeps the app locked. then you decide if you'd like to show/type the right pin and unlock it or keep it locked while all local history is removed.

however, I can make this panic code an unlocker code as well. I just don't see that how this feature will be merged, it was opened a year ago and there is still no response from @DrKLO

@chtisgit
Copy link

@tfoldi I actually didn't look at the year and thought you did this a few days ago...
It's really an unfortunate situation with the maintainance of this app.

@Giando
Copy link

Giando commented Jan 7, 2020

Beautiful idea, and great feature!
Why was it made to fall into forgetfulness?

@Ravshanchi
Copy link

Kod kelishi sekin va natoģri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants