<?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=35&amp;t=2643" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-09-13T18:23:05+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2643</id>
<entry>
<author><name><![CDATA[fphammerle]]></name></author>
<updated>2017-09-13T18:23:05+01:00</updated>
<published>2017-09-13T18:23:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9746#p9746</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9746#p9746"/>
<title type="html"><![CDATA[Re: [QUESTION] pcsc: CreateChannelByNameOrChannel() failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9746#p9746"><![CDATA[
<div class="quotetitle">smckown wrote:</div><div class="quotecontent"><br />The quick and dirty solution appears to be 'apt-get remove pcscd'.  GnuPG operation behavior was restored.<br /></div><br /><br />Thanks!<br /><br />For some reason the error described above does not occur any longer.<br />Unfortunately, I don't know what solved my problem.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4802">fphammerle</a> — Wed Sep 13, 2017 6:23 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[smckown]]></name></author>
<updated>2017-09-13T15:39:54+01:00</updated>
<published>2017-09-13T15:39:54+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9745#p9745</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9745#p9745"/>
<title type="html"><![CDATA[Re: [QUESTION] pcsc: CreateChannelByNameOrChannel() failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9745#p9745"><![CDATA[
I had the same problem a day after installing opensc (and so pcscd) for doing some PIV applet testing with my Yubikey NEO.<br /><br />The quick and dirty solution appears to be 'apt-get remove pcscd'.  GnuPG operation behavior was restored.<br /><br />Ubuntu 16.04<br /><br />kernel: 4.10.0-33-generic<br />gnupg: 1.4.20-1ubuntu3.1<br />gnupg2: 2.1.11-6ubuntu2<br />scdaemon: 2.1.11-6ubuntu2<br />pcscd: 1.8.14-1ubuntu1.16.04.1 (uninstalled)<br />libccid: 1.4.22-1ubuntu0.1<br />opensc: 0.15.0-1ubuntu1 (uninstalled)<br />opensc-pkcs11: 0.15.0-1ubuntu1<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4893">smckown</a> — Wed Sep 13, 2017 3:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fphammerle]]></name></author>
<updated>2017-06-02T13:45:33+01:00</updated>
<published>2017-06-02T13:45:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9600#p9600</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9600#p9600"/>
<title type="html"><![CDATA[Re: [QUESTION] pcsc: CreateChannelByNameOrChannel() failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9600#p9600"><![CDATA[
<div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />$  pcsc_scan        <br />PC/SC device scanner<br />V 1.4.25 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.14<br />Using reader plug'n play mechanism<br />Scanning present readers...<br />0: Yubico Yubikey 4 OTP+U2F+CCID 00 00<br /><br />Fri Jun  2 14:43:46 2017<br />Reader 0: Yubico Yubikey 4 OTP+U2F+CCID 00 00<br />  Card state: Card inserted, Shared Mode, <br />  ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4<br /><br />ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4<br />+ TS = 3B --&gt; Direct Convention<br />+ T0 = F8, Y(1): 1111, K: 8 (historical bytes)<br />  TA(1) = 13 --&gt; Fi=372, Di=4, 93 cycles/ETU<br />    43010 bits/s at 4 MHz, fMax for Fi = 5 MHz =&gt; 53763 bits/s<br />  TB(1) = 00 --&gt; VPP is not electrically connected<br />  TC(1) = 00 --&gt; Extra guard time: 0<br />  TD(1) = 81 --&gt; Y(i+1) = 1000, Protocol T = 1 <br />-----<br />  TD(2) = 31 --&gt; Y(i+1) = 0011, Protocol T = 1 <br />-----<br />  TA(3) = FE --&gt; IFSC: 254<br />  TB(3) = 15 --&gt; Block Waiting Integer: 1 - Character Waiting Integer: 5<br />+ Historical bytes: 59 75 62 69 6B 65 79 34<br />  Category indicator byte: 59 (proprietary format)<br />+ TCK = D4 (correct checksum)<br /><br />Possibly identified card (using $HOME/.cache/smartcard_list.txt):<br />3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4<br />        Yubico Yubikey 4 OTP+CCID<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4802">fphammerle</a> — Fri Jun 02, 2017 1:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fphammerle]]></name></author>
<updated>2017-06-02T12:15:19+01:00</updated>
<published>2017-06-02T12:15:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9599#p9599</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9599#p9599"/>
<title type="html"><![CDATA[[QUESTION] pcsc: CreateChannelByNameOrChannel() failed]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2643&amp;p=9599#p9599"><![CDATA[
Hi,<br /><br />I have been using my Yubikey 4 with gnupg for months without any issues.<br /><br />My problem today:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />$ gpg --card-status<br />gpg: selecting openpgp failed: No such device<br />gpg: OpenPGP card not available: No such device<br />[1]    19672 exit 2     gpg --card-status<br /></div><br /><br />What I tried so far:<br /><ul><li>re-plug Yubikey (multiple usb ports)</li><li>restart scdaemon</li><li>restart pcscd</li></ul><br />pcscd reports:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />sudo systemctl status pcscd<br />● pcscd.service - PC/SC Smart Card Daemon<br />   Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)<br />   Active: inactive (dead) since Fri 2017-06-02 13:07:17 CEST; 2min 50s ago<br />  Process: 18739 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=0/SUCCESS)<br /> Main PID: 18739 (code=exited, status=0/SUCCESS)<br /><br />Jun 02 13:01:05 host systemd[1]: Started PC/SC Smart Card Daemon.<br />Jun 02 13:01:12 host pcscd[18739]: 00000000 ifdhandler.c:144:CreateChannelByNameOrChannel() failed<br />Jun 02 13:01:12 host pcscd[18739]: 00000020 readerfactory.c:1043:RFInitializeReader() Open Port 0x2<br />Jun 02 13:01:12 host pcscd[18739]: 00000002 readerfactory.c:335:RFAddReader() Yubico Yubikey 4 OTP+<br />Jun 02 13:01:12 host pcscd[18739]: 00008803 ifdhandler.c:144:CreateChannelByNameOrChannel() failed<br />Jun 02 13:01:12 host pcscd[18739]: 00000010 readerfactory.c:1043:RFInitializeReader() Open Port 0x2<br />Jun 02 13:01:12 host pcscd[18739]: 00000002 readerfactory.c:335:RFAddReader() Yubico Yubikey 4 OTP+<br /></div><br /><br />Any ideas what might cause the <em>CreateChannelByNameOrChannel() failed</em> error?<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />$ uname --kernel-name --kernel-release<br />Linux 4.4.0-53-generic<br />$ lsb_release -a<br />No LSB modules are available.<br />Distributor ID: LinuxMint<br />Description:    Linux Mint 18.1 Serena<br />Release:        18.1<br />Codename:       serena<br />$ gpg --version<br />gpg (GnuPG) 2.1.18<br />libgcrypt 1.7.6<br />Copyright (C) 2017 Free Software Foundation, Inc.<br />License GPLv3+: GNU GPL version 3 or later &lt;https://gnu.org/licenses/gpl.html&gt;<br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.<br /><br />Home: [...]<br />Supported algorithms:<br />Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA<br />Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,<br />        CAMELLIA128, CAMELLIA192, CAMELLIA256<br />Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224<br />Compression: Uncompressed, ZIP, ZLIB, BZIP2<br />$ pcscd --version<br />pcsc-lite version 1.8.14.<br />Copyright (C) 1999-2002 by David Corcoran &lt;corcoran@musclecard.com&gt;.<br />Copyright (C) 2001-2011 by Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;.<br />Copyright (C) 2003-2004 by Damien Sauveron &lt;sauveron@labri.fr&gt;.<br />Report bugs to &lt;muscle@lists.musclecard.com&gt;.<br />Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4802">fphammerle</a> — Fri Jun 02, 2017 12:15 pm</p><hr />
]]></content>
</entry>
</feed>