gpg: selecting card failed: Operation not supported by device... again?

Xavier Mertens's Avatar

Xavier Mertens

20 Apr, 2021 01:28 PM

Hello,

This is related to this discussion:
https://gpgtools.tenderapp.com/discussions/feedback/16194-gpg-selec...

Today I rebooted my Macbook and, same behaviour as last time, I can't use my Yubikey USB-C... Not recognized... Any "new" idea how to solve this?

Tx!

  1. Support Staff 1 Posted by Steve on 20 Apr, 2021 01:35 PM

    Steve's Avatar

    Hi Xavier,

    sorry to hear about more trouble with your Yubikey.

    Can you please open System Preferences > GPG Suite > About and send a screenshot of the version infos shown.

    Best,
    Steve

  2. 2 Posted by Xavier Mertens on 20 Apr, 2021 01:42 PM

    Xavier Mertens's Avatar

    Hello Steve,

    Here we go!

    --
    "If the enemy leaves a door open, you must rush in." - Sun Tzu
    PGP Key: https://github.com/xme/pgp <https://github.com/xme/pgp>

  3. Support Staff 3 Posted by Steve on 20 Apr, 2021 01:46 PM

    Steve's Avatar

    Do you have plans to update macOS to 11.2.3 (think 11.3 is incoming very soon) as it would be very helpful to verify this problem persists on the latest stable release of macOS.

    You have tried the usual killing of scdaemon, gpg-agent, ...?

  4. 4 Posted by Xavier Mertens on 20 Apr, 2021 01:50 PM

    Xavier Mertens's Avatar

    No plan to upgrade (it was working nicely before the reboot) but I will do.
    Tested also after killing interesting processes, did not solve the problem.

    /x

    --
    "If the enemy leaves a door open, you must rush in." - Sun Tzu
    PGP Key: https://github.com/xme/pgp <https://github.com/xme/pgp>

  5. 5 Posted by Xavier Mertens on 20 Apr, 2021 01:54 PM

    Xavier Mertens's Avatar

    Another information:
    The Yubikey management tool detects the key and the keys installed on it…

    --
    "If the enemy leaves a door open, you must rush in." - Sun Tzu
    PGP Key: https://github.com/xme/pgp

  6. 6 Posted by Marcin on 26 Apr, 2021 05:41 PM

    Marcin's Avatar

    I use gpg via command line, but exeperienced the same error recently. in my case downgrading from gnupg 2.3.1 to gnupg 2.2.7 helped.

    brew uninstall --ignore-dependencies gnupg
    brew install gnupg@2.2

  7. 7 Posted by Xavier Mertens on 26 Apr, 2021 07:12 PM

    Xavier Mertens's Avatar

    Tx for sharing!
    I don’t know why but after a few hours, my Yubikey was working again!? (and nothing changed)

    /x

  8. Support Staff 8 Posted by Steve on 27 Apr, 2021 09:39 AM

    Steve's Avatar

    Hm, maybe it was the nightly build after all that resolved the issue as there were a few fixes around smartcards since the 2020.2 release.

    Glad this is solved for you. Please keep a close eye on this. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.

    Best,
    Steve

  9. Steve closed this discussion on 27 Apr, 2021 09:39 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac