Skip to contentSkip to conversation

Maybe a bug using password protected private keys

Openvpn-devel Michael Kaufmann 1 participant 2 messages Apr 5, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently testing some cases for password input and how passwords could look like. I use the management interface to do so.

Two cases went wrong:
1. Input a password with german umlaute, e.g.
password "Private Key" "äöüß"
2. Input empty password
password "Private Key" ""
3. Input "normal" password works as expected.

In both cases OpenVPN is in the "Connecting" state, but nothing else happens. Management Interface is otherwise still working as expected.

Quoted 2 lines

INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info HOLD:Waiting for hold release

hold release
SUCCESS: hold release succeeded

Quoted 1 line

PASSWORD:Need 'Private Key' password

password "Private Key" ""
SUCCESS: 'Private Key' password entered, but not yet verified

This appears in the syslog:

Apr  5 17:21:13 [openvpn] PO_WAIT[0,0] fd=4 rev=0x00000001
rwflags=0x0001 arg=0x00000000
Apr  5 17:21:13 [openvpn] MANAGEMENT: Client connected from 127.0.0.1:11195
Apr  5 17:21:13 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 8 times -
Apr  5 17:21:21 [openvpn] PO_WAIT[0,0] fd=5 rev=0x00000001
rwflags=0x0001 arg=0x00000000
Apr  5 17:21:21 [openvpn] MANAGEMENT: CMD 'password [...]'
Apr  5 17:21:21 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 39 times -
Apr  5 17:22:01 [cron] (root) CMD (/usr/local/sbin/copytorrent.sh)
Apr  5 17:22:01 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 59 times -
Apr  5 17:23:01 [cron] (root) CMD (/usr/local/sbin/copytorrent.sh)
Apr  5 17:23:02 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000

I don't know if I do something wrong - may be. How can I work around this problem? Is it a bug? I use openvpn-2.0.5/2.0.6 compiled with gcc-4.1.0.

Bye,
Michael

#1 lore raw

Hi again,

It seems like OpenVPN simly ignores äöü & Co. I can add them at the end of a "normal" Password and it's still valid.

Bye,
Michael

Quoted 64 lines · Michael Kaufmann

Hi,

I'm currently testing some cases for password input and how passwords could look like. I use the management interface to do so.

Two cases went wrong:
1. Input a password with german umlaute, e.g.
password "Private Key" "äöüß"
2. Input empty password
password "Private Key" ""
3. Input "normal" password works as expected.

In both cases OpenVPN is in the "Connecting" state, but nothing else happens. Management Interface is otherwise still working as expected.

Quoted 3 lines

INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info HOLD:Waiting for hold release

hold release
SUCCESS: hold release succeeded

Quoted 2 lines

PASSWORD:Need 'Private Key' password

password "Private Key" ""
SUCCESS: 'Private Key' password entered, but not yet verified

This appears in the syslog:

Apr  5 17:21:13 [openvpn] PO_WAIT[0,0] fd=4 rev=0x00000001
rwflags=0x0001 arg=0x00000000
Apr  5 17:21:13 [openvpn] MANAGEMENT: Client connected from 127.0.0.1:11195
Apr  5 17:21:13 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 8 times -
Apr  5 17:21:21 [openvpn] PO_WAIT[0,0] fd=5 rev=0x00000001
rwflags=0x0001 arg=0x00000000
Apr  5 17:21:21 [openvpn] MANAGEMENT: CMD 'password [...]'
Apr  5 17:21:21 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 39 times -
Apr  5 17:22:01 [cron] (root) CMD (/usr/local/sbin/copytorrent.sh)
Apr  5 17:22:01 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000
                - Last output repeated 59 times -
Apr  5 17:23:01 [cron] (root) CMD (/usr/local/sbin/copytorrent.sh)
Apr  5 17:23:02 [openvpn] PO_CTL rwflags=0x0001 ev=5 arg=0x00000000

I don't know if I do something wrong - may be. How can I work around this problem? Is it a bug? I use openvpn-2.0.5/2.0.6 compiled with gcc-4.1.0.

Bye,
Michael

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel