Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242139 > unrolled thread

How to debug Yubikey communication

Started byKamil Jońca <kjonca@o2.pl>
First post2021-11-13 18:50 +0100
Last post2021-11-13 20:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  How to debug Yubikey communication Kamil Jońca <kjonca@o2.pl> - 2021-11-13 18:50 +0100
    Re: How to debug Yubikey communication Teemu Likonen <tlikonen@iki.fi> - 2021-11-13 20:10 +0100

#242139 — How to debug Yubikey communication

FromKamil Jońca <kjonca@o2.pl>
Date2021-11-13 18:50 +0100
SubjectHow to debug Yubikey communication
Message-ID<Dj5k5-4YN-3@gated-at.bofh.it>
I have strange problem.

I use Yubikey 5 with OATH and gpg key applications configured on it.

In general it works (i.e. I got oath codes and can use gpg to
encrypt/decrypt messages.)
But when this key is in usb port it "gold circle" lights withut any
visible reason.

How can I debug communication with this key?
I tried something like:

find /dev/ -mmin -10 |grep -v '^/dev/pts'|grep -v -x '/dev/'|xargs -d '\n' inotifywait -m -r --format '%T %w <%f> %e' --timefmt '%Y%m%d %H%M%S' /dev/hidraw2
(after putting yubikey into usb port) but without success

Any ideas?
KJ


-- 
http://wolnelektury.pl/wesprzyj/teraz/

[toc] | [next] | [standalone]


#242145

FromTeemu Likonen <tlikonen@iki.fi>
Date2021-11-13 20:10 +0100
Message-ID<Dj6zv-5T0-3@gated-at.bofh.it>
In reply to#242139

[Multipart message — attachments visible in raw view] — view raw

* 2021-11-13 18:23:13+0100, Kamil Jońca wrote:

> I use Yubikey 5 with OATH and gpg key applications configured on it.

> How can I debug communication with this key?

Edit ~/.gnupg/scdaemon.conf file and add lines there:

    debug-level 8
    log-file /tmp/scdaemon.log

You should probably read some of the "man scdaemon" manual too.

I don't know about your actual problem and probably can't help with PGP
smart cards. In addition to this mailing list gnupg-users list is a good
option too.

    https://lists.gnupg.org/mailman/listinfo/gnupg-users

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web