OPEN VPN "Passphrase Paste"

avatar

I´m using RDM in actual version with OPEN VPN 2.0.9 on Win7.
I activated the Option "Enable automatic key password entry"
Unfortunately it will not work. Can anyone help?

All Comments (11)

avatar

Hi,
The add-on use the sendkey to simulate the keypress, can you try to run RDM in administrator mode?

David Hervieux

avatar

Hi,
Unfortunately no success with running RDM in admin mode. Same situation, the gui prompts for the passphrase and nothing will happen. Any other ideas?

avatar

Hi,
Can you send me a printscreen of the dialog, you can send it to support, I will check if I can see something that might help?

David Hervieux

avatar

Dont know if I have the same problem but it doesnt work here. The dialog doesnt save the key password and stays on screen if I hit the "save" button.
Pressing cancel and starting the connection gives me :

NullReferenceException - Object reference not set to an instance of an object.

at RemoteDesktopManager.AddOn.OpenVPNAddOn.OpenVPNHelper.ProcessManager.MakeCharsSafe(String strUnsafe, Boolean containsKeypresses)
at RemoteDesktopManager.AddOn.OpenVPNAddOn.OpenVPNHelper.SendCredentials(Object parameters)
at RemoteDesktopManager.AddOn.OpenVPNAddOn.OpenVPNAddOn.SendKeys(OpenVPNCredentialTypes type)
at RemoteDesktopManager.AddOn.OpenVPNAddOn.OpenVPNAddOn.Open(String parameters)
at Devolutions.RemoteDesktopManager.Business.VPNOpeners.VPNAddOnOpener.Open(Connection connection, VPNConnection vpn)
at Devolutions.RemoteDesktopManager.Managers.VPNManager.OpenVPN(Connection connection)
at Devolutions.RemoteDesktopManager.Business.Connectors.VPNConnector.Connect(Connection connection, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnection(Connection connection, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnections(Connection[] connectionList, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.OpenConnection(Connection[] currentConnections, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreBaseConnectionView.OpenConnection(Connection[] currentConnections, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreConnectionTreeView.tvList_NodeMouseDoubleClick(Object sender, TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.OnNodeMouseDoubleClick(TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at Devolutions.RemoteDesktopManager.Controls.TreeViewXP.WndProc(Message& message)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

avatar

Can you try this version?

David Hervieux

OpenVPNAddOn.zip

avatar

Hitting the save button in the set key password dialog still doesnt work.

avatar

Do you still have the crash when you press cancel?

David Hervieux

avatar

it doesnt crash any more.

avatar

I found the problem, can you try this one?

David Hervieux

OpenVPNAddOn[1].zip

avatar

Thank you. This one works.
There is only one little flaw: the sendkey-thingie seems to need administrator-rights, it would be nice if it would run as a normal user. But this is not critical for us.

Thank you for your help.

avatar

Hi,
This is a limitation of Windows, it's not possible for a process to send a message (SendKey) to another process with a higher security level (VPN). I have the same problem with some drag and drop and the LogMeIn shortcut.

David Hervieux