<?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=2178" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-01-22T16:14:35+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2178</id>
<entry>
<author><name><![CDATA[bmalkow]]></name></author>
<updated>2016-01-22T16:14:35+01:00</updated>
<published>2016-01-22T16:14:35+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2178&amp;p=8212#p8212</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2178&amp;p=8212#p8212"/>
<title type="html"><![CDATA[Gnupg 'blocks' PKCS#11 on Yubikey 4]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2178&amp;p=8212#p8212"><![CDATA[
I'm using yubikey for signing. I use GnuPG and also java keytool.<br /><br />The problem is that when I do anything (for example: gpg --card-status) then I can't use java to sign:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ keytool -providerClass sun.security.pkcs11.SunPKCS11 -providerArg ./pkcs11_java.cfg -keystore NONE -storetype PKCS11 -list <br />keytool error: java.lang.reflect.InvocationTargetException<br /></div><br /><br />The solutions I found are two:<br />1. killall gpg-agent; killall scdaemon<br />2. plug out and plug in yubikey (without killing anything)<br /><br />I just realized that gpg also blocks Yubikey Authenticator (YubiKey already in use!)<br /><br />Is there a way to make it everything works without conflicts?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2338">bmalkow</a> — Fri Jan 22, 2016 4:14 pm</p><hr />
]]></content>
</entry>
</feed>