[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libcvs-spec-dev] CVS passwords for pserver
From: |
Alastair Growcott |
Subject: |
[Libcvs-spec-dev] CVS passwords for pserver |
Date: |
Thu, 9 Dec 2004 17:17:24 -0000 |
Found this good
stuff on the web. Thought others may be interested.
The way I see it, the Repository object should
parse the password out of the CVSROOT (obtained either directly or from the
environemnt variable) and store it in plaintext. When creating the CvsConnection
object, the constructor for the CvsConnectionPserver class should use an access
function to get the password from the Repository object and scramble it. If the
password is NULL (as opposed to empty) it checks the $CVS_PASSFILE environment
variable, and if not set checks for $HOME/.cvspass. It then parses this to get
the scrambled password.
---
* The ~/.cvspass file has a slightly
modified format. CVSROOTs are now stored in a new canonical form -
hostnames are now case insensitive and port numbers are always stored in the new
format. Until a new login for a particular CVSROOT is performed with the
new version of CVS, new and old versions of CVS should interoperate
invisibly. After that point, an extra login using the old version of CVS
may be necessary to continue to allow the new and old versions of CVS to
interoperate using the same ~/.cvspass file and CVSROOT.
The exception to this rule occurs
when the CVSROOTs used with the different ~/.cvspass file versions use case
insensitively different hostnames, for example, "empress", and
"empress.2-wit.com".
* A password and a port
number may now be specified in CVSROOT for pserver connections. The new
format is:
:pserver:[[user][:address@hidden:[port]]/path
Alastair.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet.
________________________________________________________________________
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libcvs-spec-dev] CVS passwords for pserver,
Alastair Growcott <=