You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "David M. Wilson" <dw...@botanicus.net> on 2005/05/04 14:46:30 UTC

Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Hi there,

After reinstalling Windows XP a few days back, I found that after 
attempting my first commit with the newly installed machine, I get this 
strange error: http://botanicus.net/dw/tmp/svn-protected-item.png

I tried entering a few different passwords into the text input control, 
but the dialog box kept reappearing. On pressing cancel, my commit 
succeeded anyway. It is also worth noting that the Description field in 
the dialog appaers to be displaying uninitialised or binary data.

My machine exists in a domain with roaming profiles, and so my 
application data and user registry hive were preserved across the 
reinstall. Is it possible that Subversion has noted in %appdata% that my 
repository password has been stored by the Windows security provider, 
but after my reinstall this is no longer the case?

As for the strange Description field in the dialog, is it possible that 
Subversion is stuffing internal data into a Windows struct that was 
supposed to be used as a user-readable description, or simply isn't 
initialising a struct member?

Otherwise, thanks for another excellent release!


David.
Please CC me in any responses.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by David Wilson <dw...@botanicus.net>.
On Wed, May 04, 2005 at 03:46:30PM +0100, David M. Wilson wrote:

> After reinstalling Windows XP a few days back,

Windows XP SP2 English with the latest patches from Windows Update.


> David.
> Please CC me in any responses.

-- 
# There are NOOO cats in Ameerica and the streets are filled with cheese!
    -- Feivel Mousekewitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by "C. Michael Pilato" <cm...@collab.net>.
Branko Čibej <br...@xbc.nu> writes:

> Of course, I consider Windows fundamentally broken because it pops up
> GUI widgets from the most unlikely places (sometimes even *drivers*
> pop up dialogue boxes for the gods' sakes!)

Ewww.  I feel ... unclean.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by Branko Čibej <br...@xbc.nu>.
David Wilson wrote:

>On Thu, May 05, 2005 at 12:49:09AM +0200, Branko ??ibej wrote:
>
>  
>
>>Should be fixed in r14580. I'm not 100% sure because I wasn't actually 
>>able to reproduce the bug (even though I *have* seen that pop-up before, 
>>sigh...).
>>    
>>
>
>Would you like me to try here? I imagine logging in as a domain
>administrator and resetting my user account's password would produce the
>same effect.
>  
>
I expect so. If you can't build SVN yourself, let me know privately and 
I'll send you the binaries.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by David Wilson <dw...@botanicus.net>.
On Thu, May 05, 2005 at 12:49:09AM +0200, Branko ??ibej wrote:

> Should be fixed in r14580. I'm not 100% sure because I wasn't actually 
> able to reproduce the bug (even though I *have* seen that pop-up before, 
> sigh...).

Would you like me to try here? I imagine logging in as a domain
administrator and resetting my user account's password would produce the
same effect.

Thanks!


David.

-- 
"I'm Eggers, the jerk, I like to eat worms and dance around.  Look at me
eating worms and dancing around, with worms coming out of my mouth."
    -- Murphy <http://pod-six.net/sealab18.html>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by Branko Čibej <br...@xbc.nu>.
Branko Čibej wrote:

> David M. Wilson wrote:
>
>> Hi there,
>>
>> After reinstalling Windows XP a few days back, I found that after 
>> attempting my first commit with the newly installed machine, I get 
>> this strange error: http://botanicus.net/dw/tmp/svn-protected-item.png
>>
>> I tried entering a few different passwords into the text input 
>> control, but the dialog box kept reappearing. On pressing cancel, my 
>> commit succeeded anyway. It is also worth noting that the Description 
>> field in the dialog appaers to be displaying uninitialised or binary 
>> data.
>
>
> Here's what happened: when you reinstalled your machine, your Windows 
> encryption key was reset. Because of that, Subversion was no longer 
> able to decrypt the existing password. Subversion itself detects that, 
> ignores the stored password and asks you (on the command line) for the 
> correct one. The dialog box is displayed by the Windows crypto 
> provider, and quite frankly I think that's a bug. It seems that, when 
> I implemented password encryption for Windows, I forgot to set a flag 
> that suppresses all GUI popups. I'll fix that.

Should be fixed in r14580. I'm not 100% sure because I wasn't actually 
able to reproduce the bug (even though I *have* seen that pop-up before, 
sigh...).

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by Norbert Unterberg <ne...@gmx.net>.
Branko Čibej schrieb:

> Of course, I consider Windows fundamentally broken because it pops up 
> GUI widgets from the most unlikely places 

Some might even call it a feature. You can reduce the amount of error 
message boxes by calling the windows API function
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);

Norbert


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Win32 1.2.0RC2: Strange Windows encryption bug / UI failure after reinstall.

Posted by Branko Čibej <br...@xbc.nu>.
David M. Wilson wrote:

> Hi there,
>
> After reinstalling Windows XP a few days back, I found that after 
> attempting my first commit with the newly installed machine, I get 
> this strange error: http://botanicus.net/dw/tmp/svn-protected-item.png
>
> I tried entering a few different passwords into the text input 
> control, but the dialog box kept reappearing. On pressing cancel, my 
> commit succeeded anyway. It is also worth noting that the Description 
> field in the dialog appaers to be displaying uninitialised or binary 
> data.

Here's what happened: when you reinstalled your machine, your Windows 
encryption key was reset. Because of that, Subversion was no longer able 
to decrypt the existing password. Subversion itself detects that, 
ignores the stored password and asks you (on the command line) for the 
correct one. The dialog box is displayed by the Windows crypto provider, 
and quite frankly I think that's a bug. It seems that, when I 
implemented password encryption for Windows, I forgot to set a flag that 
suppresses all GUI popups. I'll fix that.

Of course, I consider Windows fundamentally broken because it pops up 
GUI widgets from the most unlikely places (sometimes even *drivers* pop 
up dialogue boxes for the gods' sakes!)

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org