Hi Gary,

 

You have possibility to decript via the tools “vcsdecrypt” under the following directory “/opt/VRTSvcs/sbin”

It is to include in your code like:

 

$Pword = `$vcs_home/sbin/vcsdecrypt $EncPword`;

 

I hope this help

Kind Regards

Philippe Belliard

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon, Gary
Sent: jeudi 7 septembre 2006 17:27
To: veritas-ha@mailman.eng.auburn.edu
Subject: [Veritas-ha] custom agent question - attribute encryption/decryption

 

Hi,

 

I’m developing a custom agent using Perl scripts.  I want to store the password attribute for my agent in encrypted format.  I noticed the built-in agents have an attribute “isvcsencrypt” set to “true” for their password fields in their XML configuration files, but there seems to be no indication it is encrypted anywhere else (in types.cf, for example).  There is also a “vcsencrypt” utility to encrypt agent passwords.  I assume the Java GUI uses the same algorithm as vcsencrypt to encrypt the passwords in the main.cf file.  So the question is how would I decrypt the password in my Perl agent file?  I have looked through the agent and admin documentation as well as going to the Symantec web site and see no documented API (from Perl or C++ for that matter) to transform the password back to plaintext.  Any help would be appreciated.

 

Thanks,

Gary Gordon

_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha

Reply via email to