{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/384","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/384/comments","events_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/384/events","html_url":"https://github.com/test-kitchen/test-kitchen/issues/384","id":29431188,"number":384,"title":"Documentation for support for Encrypted Data Bags","user":{"login":"mansona","id":594890,"avatar_url":"https://avatars.githubusercontent.com/u/594890?v=3","gravatar_id":"","url":"https://api.github.com/users/mansona","html_url":"https://github.com/mansona","followers_url":"https://api.github.com/users/mansona/followers","following_url":"https://api.github.com/users/mansona/following{/other_user}","gists_url":"https://api.github.com/users/mansona/gists{/gist_id}","starred_url":"https://api.github.com/users/mansona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansona/subscriptions","organizations_url":"https://api.github.com/users/mansona/orgs","repos_url":"https://api.github.com/users/mansona/repos","events_url":"https://api.github.com/users/mansona/events{/privacy}","received_events_url":"https://api.github.com/users/mansona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-03-14T12:53:59Z","updated_at":"2015-06-19T23:31:21Z","closed_at":null,"body":"I've been following this guide on how to use encrypted data bags with test-kitchen http://atomic-penguin.github.io/blog/2013/06/07/HOWTO-test-kitchen-and-encrypted-data-bags/ , and essentially it doesn't work. The line that breaks is this one\r\n```\r\nknife data bag show certificates test -Fj\r\n```\r\nand it just gives me this:\r\n```\r\nERROR: Chef::EncryptedDataBagItem::DecryptionFailure: Error decrypting data bag value: 'bad decrypt'. Most likely the provided key is incorrect\r\n```\r\nI know that this isn't a test-kitchen issue but there is currently no documentation on how I should do this on the test-kitchen site. If we could figure out the correct way to get this to work I would love for this to be documented somewhere for other people to see. \r\n\r\nAny suggestion on what to try to resolve this would be much appreciated"},"comment":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/comments/113671038","html_url":"https://github.com/test-kitchen/test-kitchen/issues/384#issuecomment-113671038","issue_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/384","id":113671038,"user":{"login":"rhass-r7","id":3372886,"avatar_url":"https://avatars.githubusercontent.com/u/3372886?v=3","gravatar_id":"","url":"https://api.github.com/users/rhass-r7","html_url":"https://github.com/rhass-r7","followers_url":"https://api.github.com/users/rhass-r7/followers","following_url":"https://api.github.com/users/rhass-r7/following{/other_user}","gists_url":"https://api.github.com/users/rhass-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass-r7/subscriptions","organizations_url":"https://api.github.com/users/rhass-r7/orgs","repos_url":"https://api.github.com/users/rhass-r7/repos","events_url":"https://api.github.com/users/rhass-r7/events{/privacy}","received_events_url":"https://api.github.com/users/rhass-r7/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T23:31:20Z","updated_at":"2015-06-19T23:31:20Z","body":"This feature appears to no longer work with Chef 12.x due to the option being deprecated from client configs in PR https://github.com/chef/chef/pull/1885\r\n\r\nIt now leverages the knife config, however I am not sure how this translates in the context of test-kitchen."}}