jcoglan/vault — pull request #27 by trdarr (2014-11-25 16:10:44+00:00)
Title: Fix TypeError caused by inactive ssh-agent

`SSH#requestIdentities` returns `undefined` if `ssh-agent` isn’t active, so the unguarded call to `keys.filter` throws a `TypeError`. Adding a guard, `vault` with `--key` without an inactive `ssh-agent` now responds with the expected (albeit not particularly helpful) “no passphrase given” instead of a stack trace.