<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=26&amp;t=2667" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-07-14T10:40:43+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2667</id>
<entry>
<author><name><![CDATA[malpi]]></name></author>
<updated>2017-07-14T10:40:43+01:00</updated>
<published>2017-07-14T10:40:43+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2667&amp;p=9654#p9654</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2667&amp;p=9654#p9654"/>
<title type="html"><![CDATA[Sign Jar with yubikey and gradle]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2667&amp;p=9654#p9654"><![CDATA[
Hey there,<br /><br />I try to sign a jar with my yubikey and gradle. For that I am using the signing plugin. [1] <br /><br />Unfortunately thats failing with a stacktrace:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Caused by: org.bouncycastle.openpgp.PGPException: Exception constructing key<br />        at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(Unknown Source)<br />        at org.gradle.plugins.signing.signatory.pgp.PgpSignatory.createPrivateKey(PgpSignatory.java:116)<br />        ... 84 more<br />Caused by: java.io.EOFException<br />        at org.bouncycastle.bcpg.BCPGInputStream.readFully(Unknown Source)<br />        at org.bouncycastle.bcpg.BCPGInputStream.readFully(Unknown Source)<br />        at org.bouncycastle.bcpg.MPInteger.&lt;init&gt;(Unknown Source)<br />        at org.bouncycastle.bcpg.RSASecretBCPGKey.&lt;init&gt;(Unknown Source)<br /></div><br /><br />Anyone here got that working and give me some hint?<br /><br />Best<br /><br />[1] <!-- m --><a class="postlink" href="https://docs.gradle.org/current/userguide/signing_plugin.html">https://docs.gradle.org/current/usergui ... lugin.html</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4844">malpi</a> — Fri Jul 14, 2017 10:40 am</p><hr />
]]></content>
</entry>
</feed>