security/agent: Bugfix for passphrase encoded private keys.

Prior to this change, if you had a passphrase on the private key, then
the agent would fail to start the child process. Likely a fallout from
the veyron2.Init refactorings.

This commit makes the agent usable again with passphrase protected
keys and adds a shell test that would fail without the corresponding
change to agentd/main.go.

Change-Id: I1fd959cc4609b3f6b6a6ac7ab384f8e7be9e5660
2 files changed
tree: 4a8e3352910da4046265662943d85fc3c4319d90
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/