[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cygwin's svn client cannot write to a windows https repository

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 28 Aug 2009 06:30:04 +0300 (Jerusalem Daylight Time)

Steven Woody wrote on Fri, 28 Aug 2009 at 11:06 +0800:
> Hi, everyone
>
> After some tests, I found the cause, but I don't know how to explain
> it and how to fix it.
>
> After I removed the whole configuration directory for both the windows and
> the cygwin svn client, they both begin to ask me a username/password when i
> do the first svn
> operation. After I supplied the username/password, both client
> re-created the configuration directory and put a file
> 'f95bc30e725c3e318b1348ab3a6f5cbd'
> in the 'auth/svn.simple' subdirectory. But the contents of the file
> generated by both clients are different even though i am operating on the
> same server and do the same operation with the same username/password!
>
> The difference is only one line for the file, it looks like an encoded
> password. Now I show you the the diff output as below. (the first file is
> the cygwin's file, the second one is the windows native client's file)
>

base64 encoded.

> *** svn.simple/f95bc30e725c3e318b1348ab3a6f5cbd Fri Aug 28 10:52:50 2009
> --- /cygdrive/c/Documents and Settings/wuwo/Application
> Data/Subversion/auth/svn
> .simple/f95bc30e725c3e318b1348ab3a6f5cbd Fri Aug 28 10:46:36 2009
> ***************
> *** 5,11 ****
> K 8
> password
> V 272
> !
> AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA0+7yvxtC7ESls5Ru0ooxxwAAAAAyAAAAYQB1AHQAaABfAH
> MAdgBuAC4AcwBpAG0AcABsAGUALgB3AGkAbgBjAHIAeQBwAHQAAAADZgAAqAAAABAAAAC3Nas5nuBDpj
> o0Lgh5b04zAAAAAASAAACgAAAAEAAAABpnG+U2uFdB3YXZNULKqRAQAAAApCZDibnqOxNpMVY3Y3dKgR
> QAAAC8yRO7RW7FUg9eNaYXP/hcNWtIMA==
> K 15
> svn:realmstring
> V 57
> --- 5,11 ----
> K 8
> password
> V 272
> !
> AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA0+7yvxtC7ESls5Ru0ooxxwAAAAAyAAAAYQB1AHQAaABfAH
> MAdgBuAC4AcwBpAG0AcABsAGUALgB3AGkAbgBjAHIAeQBwAHQAAAADZgAAqAAAABAAAAA4INy7/rVapk
> TewfVfYMJ1AAAAAASAAACgAAAAEAAAALNEaxon0sWikNziZa6reLMQAAAA+ktHaRAmO1EVFPpiP7DMNB
> QAAABzexq19aZmOa7Zsd+DIZqRkZHAKg==
> K 15
> svn:realmstring
> V 57
>
>
> Is this enough to you to do an analysis? Thanks in advance!
>

This is wrong. If this is the ONLY difference between the two files,
then presumably both of them have 'passtype' set to 'wincrypt' --- which
means that both of them were generated by a native-windows svn.

(You can decode the base64 and see for yourself: it contains the string
"auth_svn.simple.wincrypt", which is the value of a constant from a source
file (win32_crypto.c) that isn't compiled on Cygwin.)

>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2388102

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-28 07:39:37 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.