{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/sops/issues/32","labels_url":"https://api.github.com/repos/mozilla/sops/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/sops/issues/32/comments","events_url":"https://api.github.com/repos/mozilla/sops/issues/32/events","html_url":"https://github.com/mozilla/sops/issues/32","id":119486169,"number":32,"title":"Errors in output when running `sops example.yaml`","user":{"login":"petemoore","id":190790,"avatar_url":"https://avatars.githubusercontent.com/u/190790?v=3","gravatar_id":"","url":"https://api.github.com/users/petemoore","html_url":"https://github.com/petemoore","followers_url":"https://api.github.com/users/petemoore/followers","following_url":"https://api.github.com/users/petemoore/following{/other_user}","gists_url":"https://api.github.com/users/petemoore/gists{/gist_id}","starred_url":"https://api.github.com/users/petemoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemoore/subscriptions","organizations_url":"https://api.github.com/users/petemoore/orgs","repos_url":"https://api.github.com/users/petemoore/repos","events_url":"https://api.github.com/users/petemoore/events{/privacy}","received_events_url":"https://api.github.com/users/petemoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T12:52:31Z","updated_at":"2015-11-30T13:06:11Z","closed_at":null,"body":"When following the project `README.rst` step by step, I got the following output when running `sops example.yaml`. Maybe this is expected, but wasn't explicitly stated in the README. I can confirm it successfully opened the file in an editor with the secrets decrypted.\r\n\r\nThanks!\r\n\r\n```\r\n(sops)pmoore@Petes-iMac:~/git/sops master $ sops example.yaml\r\n[warning] skipping kms arn:aws:kms:us-east-1:656532927350:key/920aff2e-c5f1-4040-943a-047fa387b27e: An error occurred (AccessDeniedException) when calling the Decrypt operation: The ciphertext references a key that either does not exist or you do not have access to. \r\n[warning] skipping kms arn:aws:kms:ap-southeast-1:656532927350:key/9006a8aa-0fa6-4c14-930e-a2dfb916de1d: An error occurred (AccessDeniedException) when calling the Decrypt operation: The ciphertext references a key that either does not exist or you do not have access to. \r\ngpg: encrypted with 1024-bit RSA key, ID 7CD79CC0, created 2015-10-08\r\n      \"SOPS Functional Tests (https://github.com/mozilla/sops/) <ulfr+sopstests@mozilla.com>\"\r\ntemp file created at /var/folders/v9/mll6p_rj5h94dt_m5m8j0f9c0000gn/T/tmpF6qNM1.yaml\r\nfile written to example.yaml\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/sops/issues/comments/160622526","html_url":"https://github.com/mozilla/sops/issues/32#issuecomment-160622526","issue_url":"https://api.github.com/repos/mozilla/sops/issues/32","id":160622526,"user":{"login":"petemoore","id":190790,"avatar_url":"https://avatars.githubusercontent.com/u/190790?v=3","gravatar_id":"","url":"https://api.github.com/users/petemoore","html_url":"https://github.com/petemoore","followers_url":"https://api.github.com/users/petemoore/followers","following_url":"https://api.github.com/users/petemoore/following{/other_user}","gists_url":"https://api.github.com/users/petemoore/gists{/gist_id}","starred_url":"https://api.github.com/users/petemoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemoore/subscriptions","organizations_url":"https://api.github.com/users/petemoore/orgs","repos_url":"https://api.github.com/users/petemoore/repos","events_url":"https://api.github.com/users/petemoore/events{/privacy}","received_events_url":"https://api.github.com/users/petemoore/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T13:06:11Z","updated_at":"2015-11-30T13:06:11Z","body":"Continuing further I get more problems:\r\n\r\n```\r\npmoore@Petes-iMac:~/git/sops master $ export SOPS_PGP_FP=85EE8DBDAFB5CBAD273A33518295FE77B475FEBC\r\npmoore@Petes-iMac:~/git/sops master $ sops test-file.yaml\r\nTraceback (most recent call last):\r\n  File \"/Users/pmoore/venvs/sops/bin/sops\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/pmoore/venvs/sops/lib/python2.7/site-packages/sops/__init__.py\", line 193, in main\r\n    if len(args.add_kms) > 0 or len(args.add_pgp) > 0 \\\r\nTypeError: object of type 'NoneType' has no len()\r\npmoore@Petes-iMac:~/git/sops master $ \r\n```\r\n\r\nMany thanks!"}}