Yubico Forum
https://forum.yubico.com/

Gnupg 'blocks' PKCS#11 on Yubikey 4
https://forum.yubico.com/viewtopic.php?f=26&t=2178
Page 1 of 1

Author:  bmalkow [ Fri Jan 22, 2016 4:14 pm ]
Post subject:  Gnupg 'blocks' PKCS#11 on Yubikey 4

I'm using yubikey for signing. I use GnuPG and also java keytool.

The problem is that when I do anything (for example: gpg --card-status) then I can't use java to sign:
Code:
$ keytool -providerClass sun.security.pkcs11.SunPKCS11 -providerArg ./pkcs11_java.cfg -keystore NONE -storetype PKCS11 -list
keytool error: java.lang.reflect.InvocationTargetException


The solutions I found are two:
1. killall gpg-agent; killall scdaemon
2. plug out and plug in yubikey (without killing anything)

I just realized that gpg also blocks Yubikey Authenticator (YubiKey already in use!)

Is there a way to make it everything works without conflicts?

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/