acidburn0zzz / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
1 stars 0 forks source link

Imported profile do not import auth-user-pass file #334

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.New installation of OpenVPN, or clear all data first
2.Write a new profile, including the following line "auth-user-pass 
/any/path/to/userpass.txt"
3.Import the profiles with External API by another Application
4.Yes, we can see profiles listed in OpenVPN Profiles menu. But we can see 
nothing in /data/data/de.blinkt.openvpn/cache/ .
5.Reboot the system, then we lost all of our imported profiles. If I try to 
connect with the profile, it will prompt for user and password, and then save 
it. But if I won't connect, I will lose everything.

What version of OpenVPN for Android are you using (see about screen)?
0.6.29

What is the expected output? What do you see instead?
Profiles are still there after reboot. But nothing.

What mobile phone are you using?
XiaoMi 1S/2S

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Both Official 4.1.2 from Xiaomi, and CyanogenMod 11 compiled by myself.

Please provide any additional information below.

Original issue reported on code.google.com by Ecl.T...@gmail.com on 19 Mar 2015 at 1:21

GoogleCodeExporter commented 9 years ago
Yes importing auth-user-pass is broken in the current version. 

For importing profiles with the external API you should include auth-user-pass 
in the string as inline file, see the example config file in the remoteExample. 
That should work and also import user/password.

Original comment by arne@rfc2549.org on 19 Mar 2015 at 8:33

GoogleCodeExporter commented 9 years ago
closed by ce93a2c337a9

Original comment by arne@rfc2549.org on 19 Mar 2015 at 10:33

GoogleCodeExporter commented 9 years ago

Original comment by arne@rfc2549.org on 19 Mar 2015 at 11:34