airgap-it / airgap-vault

The AirGap Vault is installed on a spare smartphone that has no connection to any network, thus it is air gapped. This app handles the private key.
MIT License
380 stars 107 forks source link

Automatic airplane mode? #134

Open trdischat opened 2 years ago

trdischat commented 2 years ago

Not sure if this is possible, but could we add an option to Airgap Vault to automatically put the phone into airplane mode when the app is launched? Even better would be an option to force airplane mode to stay enabled whenever the app is running.

AndreasGassmann commented 2 years ago

This is an interesting idea and we have also thought about it.

I am not sure what functionality the APIs of Android and iOS support. Making sure airplane mode is set when the app is launched should be possible, but I'm not sure if the phone can be forced to stay in airplane mode.

For Android, we are currently investigating what options exist here and how to lock devices down to reduce the attack vector. I'll leave this issue open for future reference.

SiNONiMiTY commented 2 years ago

This is an interesting idea and we have also thought about it.

I am not sure what functionality the APIs of Android and iOS support. Making sure airplane mode is set when the app is launched should be possible, but I'm not sure if the phone can be forced to stay in airplane mode.

For Android, we are currently investigating what options exist here and how to lock devices down to reduce the attack vector. I'll leave this issue open for future reference.

How about a helper Accessibility Service? This is used by other apps to automate tasks. For example, cleaner apps use an accessibility service to clear cache of other apps.