Saved password

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
presidente74
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 07, 2018 8:41 pm

Saved password

Post by presidente74 » Wed Nov 07, 2018 8:52 pm

I would to configure OpenVPN client to connect by saved password in a text file.
I would to do so for password of the proxy too.
The question: is possible to cipher the password in order to avoid to save clear-text password in the file?

Thanks anyway.

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Saved password

Post by Pippin » Wed Nov 07, 2018 9:29 pm

Hash the user password.
Then use hash as password for user.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Saved password

Post by TinCanTech » Wed Nov 07, 2018 11:00 pm

Use the GUI :twisted:

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Saved password

Post by Pippin » Wed Nov 07, 2018 11:17 pm

Yeah, don't save passwords is off coarse better but having unsupervised devices.....

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Saved password

Post by TinCanTech » Thu Nov 08, 2018 1:11 am

Pippin wrote:
Wed Nov 07, 2018 11:17 pm
but having unsupervised devices.....
or otherwise compromised ... :ugeek:

presidente74
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 07, 2018 8:41 pm

Re: Saved password

Post by presidente74 » Thu Nov 08, 2018 11:40 am

Pippin wrote:
Wed Nov 07, 2018 9:29 pm
Hash the user password.
Then use hash as password for user.
Thanks Pippin,
but... the other side of VPN will recognize the password or it want a clear-text password?

presidente74
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 07, 2018 8:41 pm

Re: Saved password

Post by presidente74 » Thu Nov 08, 2018 11:43 am

Pippin wrote:
Wed Nov 07, 2018 11:17 pm
Yeah, don't save passwords is off coarse better but having unsupervised devices.....
I think so too.
My device is securized (secure at 100% don't exists!!) but i hate saved clear-text passwords.

presidente74
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 07, 2018 8:41 pm

Re: Saved password

Post by presidente74 » Thu Nov 08, 2018 8:00 pm

Pippin wrote:
Wed Nov 07, 2018 9:29 pm
Hash the user password.
Then use hash as password for user.
Oh, I understood only now!!
Hash will be the clear-text password, is it??
May be a solution or, at least, a good workaround.
Thanks! ;)

Post Reply