{"action":"created","issue":{"url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/1","labels_url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/1/comments","events_url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/1/events","html_url":"https://github.com/coderanger/kitchen-sync/issues/1","id":43630754,"number":1,"title":"Fails if no password given for ssh-key","user":{"login":"vills","id":688497,"avatar_url":"https://avatars.githubusercontent.com/u/688497?v=3","gravatar_id":"","url":"https://api.github.com/users/vills","html_url":"https://github.com/vills","followers_url":"https://api.github.com/users/vills/followers","following_url":"https://api.github.com/users/vills/following{/other_user}","gists_url":"https://api.github.com/users/vills/gists{/gist_id}","starred_url":"https://api.github.com/users/vills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vills/subscriptions","organizations_url":"https://api.github.com/users/vills/orgs","repos_url":"https://api.github.com/users/vills/repos","events_url":"https://api.github.com/users/vills/events{/privacy}","received_events_url":"https://api.github.com/users/vills/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-23T13:44:59Z","updated_at":"2015-06-03T21:28:51Z","closed_at":"2015-06-03T21:28:51Z","body":"On OS X.\r\nIf my ~/.ssh/id_rsa protected by password and i didn't provide it to system keychain, than action 'converge' fails (sure, all another actions will fails to) with exception:\r\n```\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: Failed to complete #converge action: [undefined method `to_blob' for nil:NilClass]\r\n````\r\n\r\nProblem is here: `kitchen-sync-1.0.1/lib/kitchen-sync/rsync.rb:47:in 'copy_identity'`, because of `Net::SSH::Authentication::Agent.connect.identities.first` returns `nil`.\r\n\r\nI'm sure, gem should check this situation."},"comment":{"url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/comments/108620766","html_url":"https://github.com/coderanger/kitchen-sync/issues/1#issuecomment-108620766","issue_url":"https://api.github.com/repos/coderanger/kitchen-sync/issues/1","id":108620766,"user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T21:28:51Z","updated_at":"2015-06-03T21:28:51Z","body":"This is documented in the README. The key must be loaded in to your SSH agent meaning it is already decrypted."}}