https settings in authentication.conf cause failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Undecided
|
Jelmer Vernooij |
Bug Description
I would like to use bzr-svn with an Google code svn repository using authenticated https.
Things work as expected without authentication.
However, when I add the following settings to authentication.conf to automate the procedure it become impossible to connect and perform any opeartion.
Having
[project_name]
scheme=https
host=project_
doesn't have any effect - but as soon as a user= or password= section is added to authenticate.conf, any operation fails (eg bzr update, a fresh checkout). I am prompted and enter the password but after the following message appears in the log:
0.083 encoding stdout as sys.stdout encoding 'US-ASCII'
0.084 bzr arguments: [u'-Dauth', u'co', u'svn+https://<email address hidden>/svn/trunk', u'trunk']
0.085 looking for plugins in /Users/
0.085 looking for plugins in /opt/local/
0.085 Plugin name __init__ already loaded
0.085 Plugin name __init__ already loaded
0.245 bzr-svn: using Subversion 1.5.2 ()
0.314 encoding stdout as sys.stdout encoding 'US-ASCII'
[21920] 2008-09-29 17:13:42.523 WARNING: The svn+ syntax is deprecated, use https://<email address hidden>/svn/trunk instead.
0.328 opening SVN RA connection to 'https://<email address hidden>/svn/trunk'
0.763 Obtaining username and password for SVN connection
0.766 Using authentication section: 'pyentropy'
0.766 Using authentication section: 'pyentropy'
0.777 Traceback (most recent call last):
File "/opt/local/
return run_bzr(argv)
File "/opt/local/
ret = run(*run_argv)
File "/opt/local/
return self.run(
File "/opt/local/
branch_
File "/opt/local/
bzrdir = klass.open(
File "/opt/local/
t = get_transport(base, possible_
File "/opt/local/
return obj(*args, **kwargs)
File "/opt/local/
transport, last_err = _try_transport_
File "/opt/local/
return factory.
File "/opt/local/
raise convert_error(e)
PermissionDenied: Permission denied: ".": OPTIONS of 'https://<email address hidden>/svn/trunk': authorization failed (https:/
0.778 return code 3
jm-g26b101:~ robince$ bzr --version
Bazaar (bzr) 1.6.1
Python interpreter: /opt/local/
Python standard library: /opt/local/
bzrlib: /opt/local/
Bazaar configuration: /Users/
Bazaar log file: /Users/
jm-g26b101:~ robince$ svn --version
svn, version 1.5.2 (r32768)
compiled Sep 25 2008, 14:45:23
Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://
This product includes software developed by CollabNet (http://
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
bzr-svn @0.4.12 devel/bzr-svn
Having upgraded to bazaar 1.7 and bzr-svn 0.4.13 the problem seems to have gone away.
With this set up it something requests access to the log in from the Mac system keychain. The authentication.conf file has no effect.
So it's possible there is still a bug with authentication. conf...