{"id":625,"date":"2014-06-04T15:02:38","date_gmt":"2014-06-04T20:02:38","guid":{"rendered":"http:\/\/tiemensfamily.com\/TimOnCS\/?p=625"},"modified":"2014-06-04T15:02:38","modified_gmt":"2014-06-04T20:02:38","slug":"gradle-signing-plugin","status":"publish","type":"post","link":"https:\/\/tiemensfamily.com\/timoncs\/2014\/06\/04\/gradle-signing-plugin\/","title":{"rendered":"Gradle Signing Plugin"},"content":{"rendered":"<p>If you&#8217;ve hit this page, it is probably because you&#8217;ve seen this error:<\/p>\n<pre>\n$ gpg --verify secretshare-1.3.1-SNAPSHOT.jar.asc secretshare-1.3.1-SNAPSHOT.jar\ngpg: Signature made Wed 04 Jun 2014 03:01:00 PM CDT using DSA key ID FC76F04F\ngpg: DSA key FC76F04F requires a 256 bit or larger hash\ngpg: Can't check signature: general error\n<\/pre>\n<p>The problem is internal &#8220;rules&#8221; with DSA signatures prevent gpg from performing the verify operation on a signature that was &#8220;too small&#8221; at creation.<\/p>\n<p>I have no idea how to convince gradle to change its &#8220;signature generation parameter&#8221;.<\/p>\n<p>Instead, my fix was to generate another key with $ gpg &#8211;gen-key, and this time, when asked about the DSA size, instead of picking the default 2048, I picked 1024.  <\/p>\n<p>Everything verifies now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve hit this page, it is probably because you&#8217;ve seen this error: $ gpg &#8211;verify secretshare-1.3.1-SNAPSHOT.jar.asc secretshare-1.3.1-SNAPSHOT.jar gpg: Signature made Wed 04 Jun 2014 03:01:00 PM CDT using DSA key ID FC76F04F gpg: DSA key FC76F04F requires a 256 &hellip; <a href=\"https:\/\/tiemensfamily.com\/timoncs\/2014\/06\/04\/gradle-signing-plugin\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/625"}],"collection":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/comments?post=625"}],"version-history":[{"count":0,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/625\/revisions"}],"wp:attachment":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/media?parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/categories?post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/tags?post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}