[wpkg-users] user password in settings.xml for wpkg client

Jason Castonguay jason.castonguay at wdc.greenpeace.org
Thu Apr 24 17:45:44 CEST 2008


>> OK, the problem is, that wpkg client scrambles it's password in  
>> settings.xml file. I'd like to have random passowrd for each server I  
>> manage. There is no problem to generate settings.xml file (and thus  
>> ease installation on wpkg client on workstation), but do you know what  
>> algorithm is used to scrable password? I'd like to recreate it my  
>> script.
> 
> Currently, there is no tool for creating the password (other than 
> wpkginst.exe).
> 
> But it would be a good idea to create one (command line), both for 
> Windows and UNIX.

Its ugly, but quick.



$ g++ xmlsettings.cc

$ ./a.out asdf
MYTmDw==
:0?

$ ./a.out MYTmDw==
Ha7WBK5a4BA=
asdf


-- 
Jason Castonguay
Greenpeace USA
System Administrator
702 H Street, NW
Suite 300
Washington, DC
20001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlsettings.cc
Type: text/x-c++src
Size: 5535 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20080424/e8ab2698/attachment-0002.cc>


More information about the wpkg-users mailing list