{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/15792","labels_url":"https://api.github.com/repos/docker/docker/issues/15792/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/15792/comments","events_url":"https://api.github.com/repos/docker/docker/issues/15792/events","html_url":"https://github.com/docker/docker/issues/15792","id":102766160,"number":15792,"title":"Docker Content Trust documentation - creating keys","user":{"login":"cpswan","id":478926,"avatar_url":"https://avatars.githubusercontent.com/u/478926?v=3","gravatar_id":"","url":"https://api.github.com/users/cpswan","html_url":"https://github.com/cpswan","followers_url":"https://api.github.com/users/cpswan/followers","following_url":"https://api.github.com/users/cpswan/following{/other_user}","gists_url":"https://api.github.com/users/cpswan/gists{/gist_id}","starred_url":"https://api.github.com/users/cpswan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpswan/subscriptions","organizations_url":"https://api.github.com/users/cpswan/orgs","repos_url":"https://api.github.com/users/cpswan/repos","events_url":"https://api.github.com/users/cpswan/events{/privacy}","received_events_url":"https://api.github.com/users/cpswan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/kind/docs","name":"kind/docs","color":"A8E6CE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T10:54:56Z","updated_at":"2015-09-16T08:50:34Z","closed_at":null,"body":"The [Content trust in Docker](https://docs.docker.com/security/trust/content_trust/) docs state (my emphasis on creating):\r\n\r\n> Make sure you read [Manage keys for content trust](https://docs.docker.com/security/trust/trust_key_mng) information for details on **creating**, securing, and backing up your keys.\r\n\r\nBut there's nothing about creating keys on the [Manage keys for content trust](https://docs.docker.com/security/trust/trust_key_mng) page because they're actually created on the first push as per:\r\n\r\n> When you push your first tagged image with content trust enabled, the docker client recognizes this is your first push and:\r\n>* alerts you that it will create a new offline key\r\n>* requests a passphrase for the key\r\n>* generates an offline key in the ~/.docker/trust directory\r\n>* generates a tagging key for in the ~/.docker/trust directory\r\n\r\nIt would be beneficial if the key creation process was explained outside of the **Push trusted content** section.\r\n\r\nDocumentation issue - so not copying in version/info etc."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/140675320","html_url":"https://github.com/docker/docker/issues/15792#issuecomment-140675320","issue_url":"https://api.github.com/repos/docker/docker/issues/15792","id":140675320,"user":{"login":"cpswan","id":478926,"avatar_url":"https://avatars.githubusercontent.com/u/478926?v=3","gravatar_id":"","url":"https://api.github.com/users/cpswan","html_url":"https://github.com/cpswan","followers_url":"https://api.github.com/users/cpswan/followers","following_url":"https://api.github.com/users/cpswan/following{/other_user}","gists_url":"https://api.github.com/users/cpswan/gists{/gist_id}","starred_url":"https://api.github.com/users/cpswan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpswan/subscriptions","organizations_url":"https://api.github.com/users/cpswan/orgs","repos_url":"https://api.github.com/users/cpswan/repos","events_url":"https://api.github.com/users/cpswan/events{/privacy}","received_events_url":"https://api.github.com/users/cpswan/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T08:50:33Z","updated_at":"2015-09-16T08:50:33Z","body":"dibs"}}