Thanks have anyone tried encrypting the login details via
aspnet_setreg.exe utility tool. i know craig hasn't but anyone else?

On Jan 31, 6:42 am, Fyodor Koryazhkin <[email protected]> wrote:
> Hi,
> I think that the easiest way to do this is to create custom task that can do
> whatever you want.
> I do not know much about Accurey but I did such a thing for VSTS. I needed
> individual file names got from repository.
>
> On Mon, Jan 31, 2011 at 12:56 AM, capt edgar <[email protected]>wrote:
>
>
>
>
>
> > Thanks for your reply Craig
> > I was googling on how to do this and came up with a suggestion to
> > encrypt and the store the login details in the registry. Is it
> > possible to do it this way?
>
> > On Jan 30, 7:40 pm, "Craig & Sammi Sutherland"
> > <[email protected]> wrote:
> > > I have had a look through the code and there does not appear to be an
> > > obvious way to encrypt the user name/password. The way the Accurev block
> > > works requires the login before any other commands (unlike other blocks
> > like
> > > Subversion which takes the username/password in the command-line.)
>
> > > It may be possible to get around this by adding a batch file to do the
> > login
> > > manually. To do this try:
> > >  1. Remove the principal and password from the config, set login to false
> > >  2. Add a batch file that contains the following line:
> > >         <path to accurev.exe> login <principal> <password>
> > >  3. Add an exec task to the prebuild element in the project to call this
> > > batch file
>
> > > This attempts to mirror how the login works within CruiseControl.NET. I
> > > don't have an Accurev install so I'm unable to test it to see if it works
> > > however.
>
> > > If this works then the file can be secured using Windows security so only
> > > the server and any authorised people can see it.
>
> > > Craig
>
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]]
> > On
>
> > > Behalf Of capt edgar
> > > Sent: Monday, 31 January 2011 12:32 a.m.
> > > To: ccnet-user
> > > Subject: [ccnet-user] Hide Login Details
>
> > > Hello there,
>
> > > I have a ccnet.config file which uses my login details to a Accurev s
> > > server.
>
> > > Here is a example:
>
> > > <sourcecontrol type="accurev">
> > >         <executable>C:\Program Files\AccuRev\bin\accurev.exe</
> > > executable>
> > >         <autoGetSource>true</autoGetSource>
> > >         <workspace>C:\Build\Stage1</workspace>
> > >         <labelOnSuccess>false</labelOnSuccess>
> > >         <login>true</login>
> > >         <password>PASSWORD</password>
> > >         <principal>LOGIN</principal>
> > > </sourcecontrol>
>
> > > The problem is that the USERNAME and PASSWORD are stored as plain
> > > text
> > > which is a real problem on a machine accessible by anyone working in
> > > the company.
>
> > > Is there a way I can encrypt the details in some way?- Hide quoted text -
>
> > > - Show quoted text -
>
> --
> Regards,
> Fyodor Koryazhkin..- Hide quoted text -
>
> - Show quoted text -

Reply via email to