when i set up vpnc, i created a /etc/vpnc/example.cfg file so that i don’t have to enter everything every time.
one of the lines is “Xauth password ” where i have to enter it in plain text. is there a way to encrypt it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use an obfuscated password.
Use
Xauth obfuscated password XXXXXX.Remember that the obfuscated password can be deobfuscated with the
cisco-decryptutility.You can create the obfuscated password with the
cisco-encrypttool, which you can build using the code provided here.Do this like
(requires libgcrypt)