[android] Device protected vs. user-credential protected storage, no tunnels before first unlock on modern Android?

Karaahmetoglu, Ahmet ahmet.karaahmetoglu at accenture.com
Wed Dec 13 11:53:29 UTC 2023

Dear WireGuard community,

It seems that for accessing tunnel configurations the different components of wireguard-android only support accessing the user-credential protected storage (/data/data/). This path is usually not available before first unlock on modern Android, so WireGuard is not able to access its configuration.

I was wondering if this in on purpose or are there any plans on adding support for device protected storage (/data/data_de/)? Actually, I would assume that storing tunnel configurations there is essential for always_on_vpn_lockdown to be working - which seems to be supported by WireGuard when looking at Android VPN settings. But this can hardly be the case - if I'm not mistaken.

So, any hints/background information about the situation is highly appreciated.

Thank you very much in advance, and kind regards,
Ahmet Karaahmetoglu


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security, AI-powered support capabilities, and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


More information about the WireGuard mailing list