Is it possible to retrieve a password stored in OpenVPN? I reinstalled my Mac and forgot to backup my username and password to my VPN provider. 

The good thing is I also have VPN installed on my android where it works fine and logs in automatically. So the password exists on one of my devices. The problem is: How do I recover it?
Yes, it should be possible.


If your Android phone is rooted, just use a root explorer and inspect the app's data under /data/data/[com.your.vpn.app's.name]
Use "adb backup" (Win/Linux app here) and extract it with ADBExtractor
Use Helium (an adb backup frontend), it produces the same backup type that's extractable with ADBExtractor like above.


You can determine your apps internal name by finding it on Google Play and looking at the the URL: E.g., OpenVPN for Android has de.blinkt.openvpn as internal name