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

BUG: ssl-client-cert-password is not stored in the registry

From: Thomas K <katzlbtjunk_at_hotmail.com>
Date: 2006-03-29 09:30:02 CEST

The ssl-client-cert-password is not stored in the registry (when "Save
authentication" is checked)
The ssl-client-cert-password can be retrieved correctly from the registry
when entered with regedit.
Probable reason: The registry path is calculated differently for
ssl-client-cert-file than for ssl-client-cert-password.

TortoiseSVN 1.3.2, Build 5840 - 32 Bit

SVNPrompt.cpp:340
svn_error_t* SVNPrompt::sslclientprompt(
if ((*cred)->may_save)
                {
                        CString regpath = _T("Software\\tigris.org\\Subversion\\Servers\\");
                        CString groups = regpath;
                        groups += _T("groups\\");
                        CString server = CString(realm);
                        int f1 = server.Find('<')+9;
                        int len = server.Find(':', 10)-f1;
                        server = server.Mid(f1, len);
                        svn->m_server = server;
                        groups += server;
                        CRegString server_groups = CRegString(groups);
                        server_groups = server;
                        regpath += server;
                        regpath += _T("\\ssl-client-cert-file");
                        CRegString client_cert_filepath_reg = CRegString(regpath);
                        client_cert_filepath_reg = filename;
                }

SVNPrompt.cpp:400
svn_error_t* SVNPrompt::sslpwprompt(
        if ((*cred)->may_save)
        {
                CString regpath = _T("Software\\tigris.org\\Subversion\\Servers\\");
                CString groups = regpath + _T("groups\\");
                groups += svn->m_server;
                CRegString server_groups = CRegString(groups);
                server_groups = svn->m_server;
                regpath += svn->m_server;
                regpath += _T("\\ssl-client-cert-password");
                CRegString client_cert_password_reg = CRegString(regpath);
                client_cert_password_reg = CString(ret->password);
        }

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Mar 29 09:57:09 2006

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

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