{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/594","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/594/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/594/events","html_url":"https://github.com/gradle/gradle/pull/594","id":141210588,"number":594,"title":"Support for signing with PGP/GPG subkey","user":{"login":"szpak","id":148013,"avatar_url":"https://avatars.githubusercontent.com/u/148013?v=3","gravatar_id":"","url":"https://api.github.com/users/szpak","html_url":"https://github.com/szpak","followers_url":"https://api.github.com/users/szpak/followers","following_url":"https://api.github.com/users/szpak/following{/other_user}","gists_url":"https://api.github.com/users/szpak/gists{/gist_id}","starred_url":"https://api.github.com/users/szpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szpak/subscriptions","organizations_url":"https://api.github.com/users/szpak/orgs","repos_url":"https://api.github.com/users/szpak/repos","events_url":"https://api.github.com/users/szpak/events{/privacy}","received_events_url":"https://api.github.com/users/szpak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gradle/gradle/labels/cla-received","name":"cla-received","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"eskatos","id":132773,"avatar_url":"https://avatars.githubusercontent.com/u/132773?v=3","gravatar_id":"","url":"https://api.github.com/users/eskatos","html_url":"https://github.com/eskatos","followers_url":"https://api.github.com/users/eskatos/followers","following_url":"https://api.github.com/users/eskatos/following{/other_user}","gists_url":"https://api.github.com/users/eskatos/gists{/gist_id}","starred_url":"https://api.github.com/users/eskatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskatos/subscriptions","organizations_url":"https://api.github.com/users/eskatos/orgs","repos_url":"https://api.github.com/users/eskatos/repos","events_url":"https://api.github.com/users/eskatos/events{/privacy}","received_events_url":"https://api.github.com/users/eskatos/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/1","html_url":"https://github.com/gradle/gradle/milestones/waiting-for-contributor","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/1/labels","id":702037,"number":1,"title":"waiting-for-contributor","description":null,"creator":{"login":"adammurdoch","id":99316,"avatar_url":"https://avatars.githubusercontent.com/u/99316?v=3","gravatar_id":"","url":"https://api.github.com/users/adammurdoch","html_url":"https://github.com/adammurdoch","followers_url":"https://api.github.com/users/adammurdoch/followers","following_url":"https://api.github.com/users/adammurdoch/following{/other_user}","gists_url":"https://api.github.com/users/adammurdoch/gists{/gist_id}","starred_url":"https://api.github.com/users/adammurdoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammurdoch/subscriptions","organizations_url":"https://api.github.com/users/adammurdoch/orgs","repos_url":"https://api.github.com/users/adammurdoch/repos","events_url":"https://api.github.com/users/adammurdoch/events{/privacy}","received_events_url":"https://api.github.com/users/adammurdoch/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":32,"state":"open","created_at":"2014-06-26T03:41:28Z","updated_at":"2016-03-17T10:40:25Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-03-16T08:58:06Z","updated_at":"2016-03-18T08:53:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gradle/gradle/pulls/594","html_url":"https://github.com/gradle/gradle/pull/594","diff_url":"https://github.com/gradle/gradle/pull/594.diff","patch_url":"https://github.com/gradle/gradle/pull/594.patch"},"body":"In some cases it is feasible to use the subkey to perform signing operation.\r\nThis change extends the range of key taken into account to all secret keys\r\navailable in a keyring (including subkeys), not only the primary ones.\r\n\r\nSorry for non related formatting changes, but Idea doesn't like whitespaces in empty lines and reformat code automatically on focus leave (I can restore it manually out-of-Idea if this is a preferred formatting).\r\n\r\n### Implementation details\r\n\r\nPreviously used `keyRings.keyRings*.secretKey` from Bouncy Castle returns only primary secret keys from the keyring. `keyRings.keyRings*.secretKeys` on the other hand returns a collection (an iterator in fact) of collections with all secret keys, including subkeys."},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/198261808","html_url":"https://github.com/gradle/gradle/pull/594#issuecomment-198261808","issue_url":"https://api.github.com/repos/gradle/gradle/issues/594","id":198261808,"user":{"login":"eskatos","id":132773,"avatar_url":"https://avatars.githubusercontent.com/u/132773?v=3","gravatar_id":"","url":"https://api.github.com/users/eskatos","html_url":"https://github.com/eskatos","followers_url":"https://api.github.com/users/eskatos/followers","following_url":"https://api.github.com/users/eskatos/following{/other_user}","gists_url":"https://api.github.com/users/eskatos/gists{/gist_id}","starred_url":"https://api.github.com/users/eskatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskatos/subscriptions","organizations_url":"https://api.github.com/users/eskatos/orgs","repos_url":"https://api.github.com/users/eskatos/repos","events_url":"https://api.github.com/users/eskatos/events{/privacy}","received_events_url":"https://api.github.com/users/eskatos/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T08:53:24Z","updated_at":"2016-03-18T08:53:24Z","body":"I just realized this may help you preview your changes:\r\n```\r\n./gradlew docs:userguideHtml\r\nopen subprojects/docs/build/docs/userguide/signing_plugin.html\r\n```"}}