{"action":"created","issue":{"url":"https://api.github.com/repos/docker/notary/issues/953","repository_url":"https://api.github.com/repos/docker/notary","labels_url":"https://api.github.com/repos/docker/notary/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/docker/notary/issues/953/comments","events_url":"https://api.github.com/repos/docker/notary/issues/953/events","html_url":"https://github.com/docker/notary/issues/953","id":176690092,"number":953,"title":"Notary purge does not properly remove delegation keys","user":{"login":"hinshun","id":6493975,"avatar_url":"https://avatars.githubusercontent.com/u/6493975?v=3","gravatar_id":"","url":"https://api.github.com/users/hinshun","html_url":"https://github.com/hinshun","followers_url":"https://api.github.com/users/hinshun/followers","following_url":"https://api.github.com/users/hinshun/following{/other_user}","gists_url":"https://api.github.com/users/hinshun/gists{/gist_id}","starred_url":"https://api.github.com/users/hinshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinshun/subscriptions","organizations_url":"https://api.github.com/users/hinshun/orgs","repos_url":"https://api.github.com/users/hinshun/repos","events_url":"https://api.github.com/users/hinshun/events{/privacy}","received_events_url":"https://api.github.com/users/hinshun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/notary/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"riyazdf","id":1865981,"avatar_url":"https://avatars.githubusercontent.com/u/1865981?v=3","gravatar_id":"","url":"https://api.github.com/users/riyazdf","html_url":"https://github.com/riyazdf","followers_url":"https://api.github.com/users/riyazdf/followers","following_url":"https://api.github.com/users/riyazdf/following{/other_user}","gists_url":"https://api.github.com/users/riyazdf/gists{/gist_id}","starred_url":"https://api.github.com/users/riyazdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyazdf/subscriptions","organizations_url":"https://api.github.com/users/riyazdf/orgs","repos_url":"https://api.github.com/users/riyazdf/repos","events_url":"https://api.github.com/users/riyazdf/events{/privacy}","received_events_url":"https://api.github.com/users/riyazdf/received_events","type":"User","site_admin":false},"assignees":[{"login":"riyazdf","id":1865981,"avatar_url":"https://avatars.githubusercontent.com/u/1865981?v=3","gravatar_id":"","url":"https://api.github.com/users/riyazdf","html_url":"https://github.com/riyazdf","followers_url":"https://api.github.com/users/riyazdf/followers","following_url":"https://api.github.com/users/riyazdf/following{/other_user}","gists_url":"https://api.github.com/users/riyazdf/gists{/gist_id}","starred_url":"https://api.github.com/users/riyazdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyazdf/subscriptions","organizations_url":"https://api.github.com/users/riyazdf/orgs","repos_url":"https://api.github.com/users/riyazdf/repos","events_url":"https://api.github.com/users/riyazdf/events{/privacy}","received_events_url":"https://api.github.com/users/riyazdf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-13T16:36:35Z","updated_at":"2016-09-15T18:13:18Z","closed_at":"2016-09-15T18:13:18Z","body":"Notary built from latest release/0.4 branch.\r\n\r\nDocker Engine version:\r\n```\r\n❯ notary version\r\nnotary\r\n Version:    0.3\r\n Git commit: 946674a\r\n❯ docker version\r\nClient:\r\n Version:      1.12.1-cs1-rc1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6dea08f\r\n Built:        Wed Sep  7 05:03:49 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.0-rc4\r\n API version:  1.24\r\n Go version:   go1.6.2\r\n Git commit:   e4a0dbc\r\n Built:        Wed Jul 13 03:41:15 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n```\r\n~/.docker\r\n❯ notary delegation purge 54.68.209.79:4431/someorg/somerepo --key 785b2152ba2057b883d77162c6bf5e7aaadd94f7b31ab957eb62523e4bd4c294\r\nRemoval of the following keys from all delegations in 54.68.209.79:4431/someorg/somerepo staged for next publish:\r\n\t- 785b2152ba2057b883d77162c6bf5e7aaadd94f7b31ab957eb62523e4bd4c294\r\n~/.docker\r\n❯ notary status 54.68.209.79:4431/someorg/somerepo\r\nUnpublished changes for 54.68.209.79:4431/someorg/somerepo:\r\n\r\n#    ACTION    SCOPE        TYPE          PATH\r\n-    ------    -----        ----          ----\r\n0    update    targets/*    delegation    \r\n\r\n~/.docker\r\n❯ notary publish 54.68.209.79:4431/someorg/somerepo\r\nPushing changes to 54.68.209.79:4431/someorg/somerepo\r\nEnter username: someuser\r\nEnter password: \r\n\r\n~/.docker 7s\r\n❯ notary delegation list 54.68.209.79:4431/someorg/somerepo\r\n\r\nROLE               PATHS             KEY IDS                                                             THRESHOLD\r\n----               -----             -------                                                             ---------\r\ntargets/someorg    \"\" <all paths>    785b2152ba2057b883d77162c6bf5e7aaadd94f7b31ab957eb62523e4bd4c294    1\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/notary/issues/comments/247406901","html_url":"https://github.com/docker/notary/issues/953#issuecomment-247406901","issue_url":"https://api.github.com/repos/docker/notary/issues/953","id":247406901,"user":{"login":"riyazdf","id":1865981,"avatar_url":"https://avatars.githubusercontent.com/u/1865981?v=3","gravatar_id":"","url":"https://api.github.com/users/riyazdf","html_url":"https://github.com/riyazdf","followers_url":"https://api.github.com/users/riyazdf/followers","following_url":"https://api.github.com/users/riyazdf/following{/other_user}","gists_url":"https://api.github.com/users/riyazdf/gists{/gist_id}","starred_url":"https://api.github.com/users/riyazdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyazdf/subscriptions","organizations_url":"https://api.github.com/users/riyazdf/orgs","repos_url":"https://api.github.com/users/riyazdf/repos","events_url":"https://api.github.com/users/riyazdf/events{/privacy}","received_events_url":"https://api.github.com/users/riyazdf/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T18:13:18Z","updated_at":"2016-09-15T18:13:18Z","body":"fixed on release branch by #954 "}}
{"actor":{"display_login":"riyazdf"}}