Hi Xun Sun,

When you say "VPN client", do you just mean the ability to manually configure 
VPNs in Settings?  If so, our app automates that configuration.

We are aware of the private android.security.KeyStore API, but have found that 
there is at least one road-block in using that, specifically that the PSKs are 
encoded to the keystore using the running process' uid, so doing so from a user 
application is not compatible with the VpnService (a system service) trying to 
decode those.

Thanks,
Jeff

On Jul 4, 2011, at 10:41 AM, Xun Sun wrote:

> Hi Jeff,
> 
> The Android framework (mine is 2.3.1) has a VPN client with L2TP
> support. Does it not fullfil your needs?
> 
> And it uses android.security.KeyStore to store the PSKs securely - not
> advertised API though.
> 
> On Sat, Jul 2, 2011 at 3:31 AM, Jeff Schindler <[email protected]> wrote:
>> Hello,
>> 
>> We're writing a VPN client for Android and need to support L2TP.  We're 
>> having issues with specifying the L2TP pre-shared key (PSK).  Is there a way 
>> that this can be specified from a user application, and if so, what is it?
>> 
>> Thanks for any help,
>> Jeff
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Android Security Discussions" group.
>> To post to this group, send email to 
>> [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/android-security-discuss?hl=en.
>> 
>> 
> 
> 
> 
> -- 
> Thanks & regards
> Xun Sun

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to