[Unattended] #13: Obfuscate ProductKey and ProductID in unattended.txt after installation

"unattended - Trac instance" <[email protected]>
Newsgroups gmane.comp.windows.unattended.devel
Message-ID <[email protected]>
#13: Obfuscate ProductKey and ProductID in unattended.txt after installation
-------------------------+--------------------------------------------------
 Reporter:  jensgeile    |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  trivial      |   Milestone:  4.9
Component:  web          |     Version:  4.8
 Keywords:               |  
-------------------------+--------------------------------------------------
 It would be really nice if the values of ProductKey and ProductID in
 c:\netinst\unattended.txt could be obfuscated after installation if those
 values are present.
 All the passwords in unattended.txt are already being obfuscated.

 If I'm right then only one line of install/bin/hidepw.pl must be changed:
 -map { s/^(.*Password\s*)=.*$/$1=xxxxxxxx/i; } @lines;
 +map { s/^(.*(ProductID|ProductKey|Password)\s*)=.*$/$1=xxxxxxxx/i; }
 @lines;

-- 
Ticket URL: <http://sourceforge.net/apps/trac/unattended/ticket/13>
Unattended <https://apps.sourceforge.net/trac/unattended/>
This is a system for fully automating the installation of Windows 2000 Professional and Server, Windows XP, and Windows Server 2003.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.