Article delegate-en/3961 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3960@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate - encrypted .cdh config on win xp
24 Apr 2008 07:23:37 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

On 04/23/08(19:09) you "Killian, Jan" <ppahqbdyi-p53o7e4m6gtr.ml@ml.delegate.org> wrote
in <_A3960@delegate-en.ML_>
 |I need it to encrypt MYAUTH and have problems with using encrypted .cdh config on win xp. Could you kindly help me with, please?
 |
 |When I use MYAUTH from unencrypted +=dg.conf, everything works ok (see log-conf-ok.txt).
 | 
 |Then I encrypt the config:
 |> "d:\app\delegate\dg.exe" DGROOT="d:\tmp\.dg" -Fcredhy testpwd  <  dg.conf  >  dg.cdh
 |KEY = 3C201B1C3B7B70A2A4C9A888218AC17F4EA295A301C3F01D5E8D37A45CB7556B5A4D
 |CRC32 = 0x062FE22E 103801390
 |
 |(without DGROOT it complains about GetFileSecurity for /var/spool/delegate and /tmp/delegate, see 1) at bottom)
 |
 |
 |Now when I run delegate with cdh config, it reports unmatched error at beginning, and MYAUTH is apparently not used (see log-cdh-ignored.txt):
 |> "d:\app\delegate\dg.exe" -P9876 -r  -- SERVER=http PROXY="**PARENT_PROXY**:**PORT**" DGROOT="d:\tmp\.dg" ADMIN="**USERNAME**" CACHE=no RES_WAIT=0 +=d:\tmp\.dg\dg.cdh
 |**** Specify the key of encryption for 'dgauth'
 |**** CRYPT=pass:testpwd

Here you need to specify the "MasterKey" for the repository of passwords
into which your "testpwd", the passphrase for encryption of configuration
parameters, is stored.  And your passphrase needs to has been stored into
the repository as follows, encrypted with a specified MasterKey:

 > dg.exe DGROOT=d:/tmp/.dg -Fauth -a config:testpwd -dgauth@admin
 **** Specify the key of encryption for 'dgauth'
 **** CRYPT=pass:MasterKey

See <URL:http://www.delegate.org/delegate/Manual.htm?EncryptedConf> for
more details.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V