Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: Cygwin's svn client cannot write to a windows https repository

subversion
Discussion topic

Back to topic list

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

Author Daniel Shahaf <d dot s at daniel dot shahaf dot name>
Full name Daniel Shahaf <d dot s at daniel dot shahaf dot name>
Date 2009-08-27 20:30:08 PDT
Message 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
> 'f95bc30e725c3e318b1​348ab3a6f5cbd'
> 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/f95bc30e7​25c3e318b1348ab3a6f5​cbd Fri Aug 28 10:52:50 2009
> --- /cygdrive/c/Documents and Settings/wuwo/Application
> Data/Subversion/auth/svn
> .simple/f95bc30e725c​3e318b1348ab3a6f5cbd​ Fri Aug 28 10:46:36 2009
> ***************
> *** 5,11 ****
> K 8
> password
> V 272
> !
> AQAAANCMnd8BFdERjHoA​wE/Cl+sBAAAA0+7yvxtC​7ESls5Ru0ooxxwAAAAAy​AAAAYQB1AHQAaABfAH
> MAdgBuAC4AcwBpAG0AcA​BsAGUALgB3AGkAbgBjAH​IAeQBwAHQAAAADZgAAqA​AAABAAAAC3Nas5nuBDpj​
> o0Lgh5b04zAAAAAASAAA​CgAAAAEAAAABpnG+U2uF​dB3YXZNULKqRAQAAAApC​ZDibnqOxNpMVY3Y3dKgR​
> QAAAC8yRO7RW7FUg9eNa​YXP/hcNWtIMA==
> K 15
> svn:realmstring
> V 57
> --- 5,11 ----
> K 8
> password
> V 272
> !
> AQAAANCMnd8BFdERjHoA​wE/Cl+sBAAAA0+7yvxtC​7ESls5Ru0ooxxwAAAAAy​AAAAYQB1AHQAaABfAH
> MAdgBuAC4AcwBpAG0AcA​BsAGUALgB3AGkAbgBjAH​IAeQBwAHQAAAADZgAAqA​AAABAAAAA4INy7/rVapk​
> TewfVfYMJ1AAAAAASAAA​CgAAAAEAAAALNEaxon0s​WikNziZa6reLMQAAAA+k​tHaRAmO1EVFPpiP7DMNB​
> 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.)

>
>

« Previous message in topic | 6 of 12 | Next message in topic »

Messages

Show all messages in topic

Cygwin's svn client cannot write to a windows https repository Steven Woody <narkewoody at gmail dot com> Steven Woody <narkewoody at gmail dot com> 2009-08-26 22:33:21 PDT
     Re: Cygwin's svn client cannot write to a windows https repository Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-08-27 02:15:03 PDT
         Re: Cygwin's svn client cannot write to a windows https repository Steven Woody <narkewoody at gmail dot com> Steven Woody <narkewoody at gmail dot com> 2009-08-27 07:35:08 PDT
             Re: Cygwin's svn client cannot write to a windows https repository Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-08-27 12:45:10 PDT
                 Re: Cygwin's svn client cannot write to a windows https repository Steven Woody <narkewoody at gmail dot com> Steven Woody <narkewoody at gmail dot com> 2009-08-27 20:06:29 PDT
                     Re: Cygwin's svn client cannot write to a windows https repository Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-08-27 20:30:08 PDT
                         Re: Cygwin's svn client cannot write to a windows https repository Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-08-27 20:37:02 PDT
     Re: Cygwin's svn client cannot write to a windows https repository levyam Andy Levy 2009-08-27 03:32:31 PDT
         Re: Cygwin's svn client cannot write to a windows https repository Steven Woody <narkewoody at gmail dot com> Steven Woody <narkewoody at gmail dot com> 2009-08-27 07:37:37 PDT
         Re: Cygwin's svn client cannot write to a windows https repository Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-08-27 13:10:05 PDT
             Re: Cygwin's svn client cannot write to a windows https repository levyam Andy Levy 2009-08-27 13:17:43 PDT
                 Re: Cygwin's svn client cannot write to a windows https repository Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-08-27 17:00:07 PDT
Messages per page: