{"action":"closed","number":315,"pull_request":{"url":"https://api.github.com/repos/chef/chef-vault/pulls/315","id":184481354,"html_url":"https://github.com/chef/chef-vault/pull/315","diff_url":"https://github.com/chef/chef-vault/pull/315.diff","patch_url":"https://github.com/chef/chef-vault/pull/315.patch","issue_url":"https://api.github.com/repos/chef/chef-vault/issues/315","number":315,"state":"closed","locked":false,"title":"Fix undefined method unpack for nil class error","user":{"login":"shadinua","id":18161943,"avatar_url":"https://avatars1.githubusercontent.com/u/18161943?v=4","gravatar_id":"","url":"https://api.github.com/users/shadinua","html_url":"https://github.com/shadinua","followers_url":"https://api.github.com/users/shadinua/followers","following_url":"https://api.github.com/users/shadinua/following{/other_user}","gists_url":"https://api.github.com/users/shadinua/gists{/gist_id}","starred_url":"https://api.github.com/users/shadinua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadinua/subscriptions","organizations_url":"https://api.github.com/users/shadinua/orgs","repos_url":"https://api.github.com/users/shadinua/repos","events_url":"https://api.github.com/users/shadinua/events{/privacy}","received_events_url":"https://api.github.com/users/shadinua/received_events","type":"User","site_admin":false},"body":"Sometimes, when the host has been re-registered, but `knife vault refresh` has not yet been launched, the `@raw_data` may contain a hash item with a value of `nil`:\r\n{ ..., \"name.of.the.host\" => nil, ... }\r\nIn this case `@keys.include?(@node_name)` in `secret` method returns `true`, but `Base64.decode64(@keys[@node_name])` call leads to crash with \"undefined method `unpack' for nil:NilClass\" error.\r\n\r\nSigned-off-by: Dmytro Shapovalov <shad@shad.in.ua>","created_at":"2018-04-26T22:32:30Z","updated_at":"2018-04-27T10:27:14Z","closed_at":"2018-04-27T10:27:14Z","merged_at":"2018-04-27T10:27:14Z","merge_commit_sha":"3ff588134574b43fcae566c8cdacc6846b4d5037","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/chef-vault/pulls/315/commits","review_comments_url":"https://api.github.com/repos/chef/chef-vault/pulls/315/comments","review_comment_url":"https://api.github.com/repos/chef/chef-vault/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/chef-vault/issues/315/comments","statuses_url":"https://api.github.com/repos/chef/chef-vault/statuses/19e10a89c4f98bd587d4e70fd48d09a66955567c","head":{"label":"shadinua:patch-1","ref":"patch-1","sha":"19e10a89c4f98bd587d4e70fd48d09a66955567c","user":{"login":"shadinua","id":18161943,"avatar_url":"https://avatars1.githubusercontent.com/u/18161943?v=4","gravatar_id":"","url":"https://api.github.com/users/shadinua","html_url":"https://github.com/shadinua","followers_url":"https://api.github.com/users/shadinua/followers","following_url":"https://api.github.com/users/shadinua/following{/other_user}","gists_url":"https://api.github.com/users/shadinua/gists{/gist_id}","starred_url":"https://api.github.com/users/shadinua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadinua/subscriptions","organizations_url":"https://api.github.com/users/shadinua/orgs","repos_url":"https://api.github.com/users/shadinua/repos","events_url":"https://api.github.com/users/shadinua/events{/privacy}","received_events_url":"https://api.github.com/users/shadinua/received_events","type":"User","site_admin":false},"repo":{"id":131216298,"name":"chef-vault","full_name":"shadinua/chef-vault","owner":{"login":"shadinua","id":18161943,"avatar_url":"https://avatars1.githubusercontent.com/u/18161943?v=4","gravatar_id":"","url":"https://api.github.com/users/shadinua","html_url":"https://github.com/shadinua","followers_url":"https://api.github.com/users/shadinua/followers","following_url":"https://api.github.com/users/shadinua/following{/other_user}","gists_url":"https://api.github.com/users/shadinua/gists{/gist_id}","starred_url":"https://api.github.com/users/shadinua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadinua/subscriptions","organizations_url":"https://api.github.com/users/shadinua/orgs","repos_url":"https://api.github.com/users/shadinua/repos","events_url":"https://api.github.com/users/shadinua/events{/privacy}","received_events_url":"https://api.github.com/users/shadinua/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shadinua/chef-vault","description":"Securely manage passwords, certs, and other secrets in Chef","fork":true,"url":"https://api.github.com/repos/shadinua/chef-vault","forks_url":"https://api.github.com/repos/shadinua/chef-vault/forks","keys_url":"https://api.github.com/repos/shadinua/chef-vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadinua/chef-vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadinua/chef-vault/teams","hooks_url":"https://api.github.com/repos/shadinua/chef-vault/hooks","issue_events_url":"https://api.github.com/repos/shadinua/chef-vault/issues/events{/number}","events_url":"https://api.github.com/repos/shadinua/chef-vault/events","assignees_url":"https://api.github.com/repos/shadinua/chef-vault/assignees{/user}","branches_url":"https://api.github.com/repos/shadinua/chef-vault/branches{/branch}","tags_url":"https://api.github.com/repos/shadinua/chef-vault/tags","blobs_url":"https://api.github.com/repos/shadinua/chef-vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadinua/chef-vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadinua/chef-vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadinua/chef-vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadinua/chef-vault/statuses/{sha}","languages_url":"https://api.github.com/repos/shadinua/chef-vault/languages","stargazers_url":"https://api.github.com/repos/shadinua/chef-vault/stargazers","contributors_url":"https://api.github.com/repos/shadinua/chef-vault/contributors","subscribers_url":"https://api.github.com/repos/shadinua/chef-vault/subscribers","subscription_url":"https://api.github.com/repos/shadinua/chef-vault/subscription","commits_url":"https://api.github.com/repos/shadinua/chef-vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadinua/chef-vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadinua/chef-vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadinua/chef-vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/shadinua/chef-vault/contents/{+path}","compare_url":"https://api.github.com/repos/shadinua/chef-vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadinua/chef-vault/merges","archive_url":"https://api.github.com/repos/shadinua/chef-vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadinua/chef-vault/downloads","issues_url":"https://api.github.com/repos/shadinua/chef-vault/issues{/number}","pulls_url":"https://api.github.com/repos/shadinua/chef-vault/pulls{/number}","milestones_url":"https://api.github.com/repos/shadinua/chef-vault/milestones{/number}","notifications_url":"https://api.github.com/repos/shadinua/chef-vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadinua/chef-vault/labels{/name}","releases_url":"https://api.github.com/repos/shadinua/chef-vault/releases{/id}","deployments_url":"https://api.github.com/repos/shadinua/chef-vault/deployments","created_at":"2018-04-26T22:16:45Z","updated_at":"2018-04-26T22:16:47Z","pushed_at":"2018-04-26T22:32:15Z","git_url":"git://github.com/shadinua/chef-vault.git","ssh_url":"git@github.com:shadinua/chef-vault.git","clone_url":"https://github.com/shadinua/chef-vault.git","svn_url":"https://github.com/shadinua/chef-vault","homepage":"","size":549,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"06d717625ef298f0dd550aee146d68fff11a9158","user":{"login":"chef","id":29740,"avatar_url":"https://avatars3.githubusercontent.com/u/29740?v=4","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":9303203,"name":"chef-vault","full_name":"chef/chef-vault","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars3.githubusercontent.com/u/29740?v=4","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/chef-vault","description":"Securely manage passwords, certs, and other secrets in Chef","fork":false,"url":"https://api.github.com/repos/chef/chef-vault","forks_url":"https://api.github.com/repos/chef/chef-vault/forks","keys_url":"https://api.github.com/repos/chef/chef-vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef-vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef-vault/teams","hooks_url":"https://api.github.com/repos/chef/chef-vault/hooks","issue_events_url":"https://api.github.com/repos/chef/chef-vault/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef-vault/events","assignees_url":"https://api.github.com/repos/chef/chef-vault/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef-vault/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef-vault/tags","blobs_url":"https://api.github.com/repos/chef/chef-vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef-vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef-vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef-vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef-vault/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef-vault/languages","stargazers_url":"https://api.github.com/repos/chef/chef-vault/stargazers","contributors_url":"https://api.github.com/repos/chef/chef-vault/contributors","subscribers_url":"https://api.github.com/repos/chef/chef-vault/subscribers","subscription_url":"https://api.github.com/repos/chef/chef-vault/subscription","commits_url":"https://api.github.com/repos/chef/chef-vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef-vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef-vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef-vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef-vault/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef-vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef-vault/merges","archive_url":"https://api.github.com/repos/chef/chef-vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef-vault/downloads","issues_url":"https://api.github.com/repos/chef/chef-vault/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef-vault/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef-vault/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef-vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef-vault/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef-vault/releases{/id}","deployments_url":"https://api.github.com/repos/chef/chef-vault/deployments","created_at":"2013-04-08T18:05:36Z","updated_at":"2018-04-15T15:32:49Z","pushed_at":"2018-04-27T10:27:14Z","git_url":"git://github.com/chef/chef-vault.git","ssh_url":"git@github.com:chef/chef-vault.git","clone_url":"https://github.com/chef/chef-vault.git","svn_url":"https://github.com/chef/chef-vault","homepage":"","size":545,"stargazers_count":386,"watchers_count":386,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":140,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":140,"open_issues":27,"watchers":386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/chef-vault/pulls/315"},"html":{"href":"https://github.com/chef/chef-vault/pull/315"},"issue":{"href":"https://api.github.com/repos/chef/chef-vault/issues/315"},"comments":{"href":"https://api.github.com/repos/chef/chef-vault/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/chef-vault/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/chef-vault/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/chef-vault/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/chef/chef-vault/statuses/19e10a89c4f98bd587d4e70fd48d09a66955567c"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thommay","id":8500,"avatar_url":"https://avatars3.githubusercontent.com/u/8500?v=4","gravatar_id":"","url":"https://api.github.com/users/thommay","html_url":"https://github.com/thommay","followers_url":"https://api.github.com/users/thommay/followers","following_url":"https://api.github.com/users/thommay/following{/other_user}","gists_url":"https://api.github.com/users/thommay/gists{/gist_id}","starred_url":"https://api.github.com/users/thommay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommay/subscriptions","organizations_url":"https://api.github.com/users/thommay/orgs","repos_url":"https://api.github.com/users/thommay/repos","events_url":"https://api.github.com/users/thommay/events{/privacy}","received_events_url":"https://api.github.com/users/thommay/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"thommay"}}