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

allow "panic button" apps to lock KeePassDroid #72

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

Conversation

eighthave
Copy link

We've been developing "panic button" features in our apps for years, and now we are working to make a more flexible and open ecosystem of apps that can both trigger other apps, or respond to triggers. Since KeePassDroid already includes a "lock" feature, it is a natural panic responder app. This setup allows for easy configuration of a single trigger action which can then trigger multiple apps.

The first commit adds support for receiving the panic trigger. The second commit wipes KeePassDroid from the Recent Apps when it is responding to a panic trigger.

The first panic button app that sends this kind of trigger is called Ripple, and it is available here:
https://github.com/guardianproject/ripple
https://play.google.com/store/apps/details?id=info.guardianproject.ripple

I'm adding support to this app right now:
https://panicbutton.io/
https://play.google.com/store/apps/details?id=org.iilab.pb

This is all code that I wrote, and you can have it under any license you want, including public domain. I waive all my copyright claims to it.

You can see an example of this user experience in this video:
https://www.youtube.com/watch?v=mS1gstS6YS8

More info on the panic kit work here:
https://dev.guardianproject.info/projects/panic/wiki

PanicKit provides a common framework for creating "panic button" apps that
can trigger actions in "panic responder" apps.  In this case, the response
is to lock the app, if it has been configured to do so

https://dev.guardianproject.info/projects/panic/wiki
This makes the app fully exit, and removes it from the Recent Apps listing.
@eighthave
Copy link
Author

I refactored this on top of the current code base. I'd love to see this included since KeePassDroid is an app we recommend to journalists and human rights activists who need secure apps. Responding to panic triggers makes it that much more helpful. This panic feature is already included in: Zom, ChatSecure, Orfox, Silence (aka SMSSecure), NewPipe, Orweb, and many others.

crr0004 added a commit to crr0004/keepassdroid that referenced this pull request Oct 1, 2017
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

Successfully merging this pull request may close these issues.

1 participant