[Swan-dev] Android with XAuth: Password contains NUL character
wolfgang at linogate.de
Fri May 30 14:56:43 EEST 2014
Am 30.05.2014 13:04, schrieb Wolfgang Nothdurft:
> It seems that android sends the password with NUL character.
> The change was in commit:
> commit 018e484346efc2105e79c210d0255a79d05fa509
> Author: D. Hugh Redelmeier <hugh at mimosa.com>
> Date: Sun Apr 13 22:03:25 2014 -0400
> Here is my debug output:
> "XAUTH User Password contains NUL character: rejected (%s)
> %d=%d",strattr.cur,sz,strnlen((const char *)strattr.cur, sz));
> May 30 12:58:50 master pluto: "client-android" 22.214.171.124
> #2: XAUTH User Password contains NUL character: rejected (password) 9=8
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
It seems that this problem only affects some android versions.
If I connect with my Acer V370 (android 4.2.2), I have the NUL character
With a Samsung S4, also android 4.2.2, there is no problem.
The problem seems to be known since 08/2012 ;)
More information about the Swan-dev