{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/sops/issues/367","repository_url":"https://api.github.com/repos/mozilla/sops","labels_url":"https://api.github.com/repos/mozilla/sops/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/sops/issues/367/comments","events_url":"https://api.github.com/repos/mozilla/sops/issues/367/events","html_url":"https://github.com/mozilla/sops/issues/367","id":337569899,"node_id":"MDU6SXNzdWUzMzc1Njk4OTk=","number":367,"title":"Decryption fails for some data","user":{"login":"philicious","id":404412,"node_id":"MDQ6VXNlcjQwNDQxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/404412?v=4","gravatar_id":"","url":"https://api.github.com/users/philicious","html_url":"https://github.com/philicious","followers_url":"https://api.github.com/users/philicious/followers","following_url":"https://api.github.com/users/philicious/following{/other_user}","gists_url":"https://api.github.com/users/philicious/gists{/gist_id}","starred_url":"https://api.github.com/users/philicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philicious/subscriptions","organizations_url":"https://api.github.com/users/philicious/orgs","repos_url":"https://api.github.com/users/philicious/repos","events_url":"https://api.github.com/users/philicious/events{/privacy}","received_events_url":"https://api.github.com/users/philicious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-07-02T15:42:05Z","updated_at":"2018-11-29T14:31:12Z","closed_at":null,"author_association":"NONE","body":"I have encrypted a json file but cannot decrypt it again and get the error\r\n```Could not marshal tree: No binary data found in tree```\r\n\r\nUnfortunately I cannot share the json contents. Its a Google Service Account private key. However its likely it will also fail for other json files of this type as they have the same format and similar data.\r\n\r\nsops 3.0.5 (latest)"},"comment":{"url":"https://api.github.com/repos/mozilla/sops/issues/comments/442853905","html_url":"https://github.com/mozilla/sops/issues/367#issuecomment-442853905","issue_url":"https://api.github.com/repos/mozilla/sops/issues/367","id":442853905,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjg1MzkwNQ==","user":{"login":"jvehent","id":415617,"node_id":"MDQ6VXNlcjQxNTYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/415617?v=4","gravatar_id":"","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T14:31:12Z","updated_at":"2018-11-29T14:31:12Z","author_association":"CONTRIBUTOR","body":"We could try to read the first byte of a file and if it matches { or [ then attempt to decrypt as json, then fall back to binary."}}
{"actor":{"display_login":"jvehent"}}