[Bug 1530674] [NEW] Trouble unlocking a password-locked private key

Simon Déziel 1530674 at bugs.launchpad.net
Sun Jan 3 17:03:36 UTC 2016


Public bug reported:

My VPN configuration references a RSA private key that is password
locked. When I manually start the VPN connection, the systemd wrapper
doesn't properly prompt for the password:

$ sudo systemctl start openvpn at cameleon

 Broadcast message from root at simon-laptop (Sun 2016-01-03 11:58:00 EST):

 Password entry required for 'Enter Private Key Password:' (PID 26390).
 Please enter password with the systemd-tty-ask-password-agent tool!

Then the command returns preventing from entering any password. However,
on the second attempt *in the same terminal*, the prompt is working
properly:

$ sudo systemctl start openvpn at cameleon
Enter Private Key Password:

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: openvpn 2.3.7-2ubuntu1
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jan  3 11:58:59 2016
SourcePackage: openvpn
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.openvpn: 2016-01-02T15:59:59.437928

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Description changed:

  My VPN configuration references a RSA private key that is password
  locked. When I manually start the VPN connection, the systemd wrapper
  doesn't properly prompt for the password:
  
- $ sudo systemctl start openvpn at cameleon.service
+ $ sudo systemctl start openvpn at cameleon
  
- Broadcast message from root at simon-laptop (Sun 2016-01-03 11:58:00 EST):
+  Broadcast message from root at simon-laptop (Sun 2016-01-03 11:58:00 EST):
  
- Password entry required for 'Enter Private Key Password:' (PID 26390).
- Please enter password with the systemd-tty-ask-password-agent tool!
+  Password entry required for 'Enter Private Key Password:' (PID 26390).
+  Please enter password with the systemd-tty-ask-password-agent tool!
  
+ Then the command returns preventing from entering any password. However,
+ on the second attempt *in the same terminal*, the prompt is working
+ properly:
  
- Entering anything here will appear in clear on the console and will NOT unlock the key. However, on the second attempt, the prompt is working properly:
- 
- $ sudo systemctl start openvpn at cameleon.service
+ $ sudo systemctl start openvpn at cameleon
  Enter Private Key Password:
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: openvpn 2.3.7-2ubuntu1
  ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
  Uname: Linux 4.3.0-5-generic x86_64
  ApportVersion: 2.19.3-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Jan  3 11:58:59 2016
  SourcePackage: openvpn
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.default.openvpn: 2016-01-02T15:59:59.437928

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1530674

Title:
  Trouble unlocking a password-locked private key

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1530674/+subscriptions



More information about the Ubuntu-server-bugs mailing list