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

ssl-authority-files relative pathnames

From: Karl Chen <quarl_at_cs.berkeley.edu>
Date: 2007-03-17 02:22:51 CET

Hi Subversion team,

I like ssl-authority-files. Is there any way chance of adding
support for relative pathnames? For example
     
    [global]
    ssl-authority-files = foo.crt; path1/bar.crt; ../path2/quux.crt
     
    [examplehost]
    ssl-client-cert-file = relative/path/to/cert.p12

Currently svn just tries to open the file in the current
directory. It would be nice if it used some predictable default
directory for non-absolute paths, such as the same directory where
the 'servers' file lives (~/.subversion/).

The reason I need this is because my home directory is at a
different absolute path on various systems where I can't put
certificates I need at the same absolute path.

I'm happy to submit a patch if there's support in principle. (I
didn't see any uses of 'chdir' -- I agree it's a good idea to
avoid leaving the current directory -- so we would prefix relative
paths before calling ne_ssl_cert_read().)

-- 
Karl 2007-03-16 18:22
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 17 02:23:04 2007

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