Giter Club home page Giter Club logo

Comments (6)

LudovicRousseau avatar LudovicRousseau commented on August 25, 2024

I see no error in you logs.

If I understand correctly the problem is when you use scdaemon.
When you use pcscd it all works fine.
Exact?

from pcsc.

mirko avatar mirko commented on August 25, 2024

No, the other way round. "What result do you expect?" shows the (correct) scdaemon output. "What result do you get instead?" shows gpg-agent using the libpcsc while pcscd is running (linked log corresponds to that one).

from pcsc.

LudovicRousseau avatar LudovicRousseau commented on August 25, 2024

I think you inverted the 2 situations.
Case 1: it works fine

  • "Yubico YubiKey OTP FIDO CCID 00 00" is a typocal pcsc-lite reader name.
  • so this test is using pcsc-lite. You can remove the "pcscd" package just to be sure

Case 2: does not work

  • You get: "gpg: WARNING: server 'scdaemon' is older than us (0.10.0 < 2.2.40)"
  • it looks like scdaemon is used here.

from pcsc.

mirko avatar mirko commented on August 25, 2024

All I can do is paste what I'm doing and seeing:

user@COMPUTER:~$ ps faux | grep -iE "(pcsc|scdaemon)"
user    3244491  0.0  0.0   6708  2304 pts/20   S+   19:26   0:00      |   \_ grep -iE (pcsc|scdaemon)
user@COMPUTER:~$ /usr/bin/gpg --card-status
Reader ...........: 1050:0407:X:0
Application ID ...: X
Application type .: OpenPGP
Version ..........: 3.4
Manufacturer .....: Yubico
user@COMPUTER:~$ ps faux | grep -iE "(pcsc|scdaemon)"
user    3244534  0.0  0.0 164228  4352 ?        SLl  19:27   0:00      \_ scdaemon --multi-server
user    3244542  0.0  0.0   6708  2304 pts/20   S+   19:27   0:00      |   \_ grep -iE (pcsc|scdaemon)

from pcsc.

LudovicRousseau avatar LudovicRousseau commented on August 25, 2024

That is a completely different user name here: Reader ...........: 1050:0407:X:0

See https://blog.apdu.fr/posts/2024/04/gnupg-and-pcsc-conflicts-episode-2/

from pcsc.

mirko avatar mirko commented on August 25, 2024

Okay, this is confusing. I'll report back once I sorted things out. Thanks and sorry for the noise.

from pcsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.