tag:gpgtools.tenderapp.com,2011-11-04:/discussions/feedback/16473-gpg-selecting-card-failed-operation-not-supported-by-device-againGPGTools: Discussion 2021-04-27T09:39:45Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:28:52Z2021-04-20T13:29:04Zgpg: selecting card failed: Operation not supported by device... again?<div><p>Hello,</p>
<p>This is related to this discussion:<br>
<a href="https://gpgtools.tenderapp.com/discussions/feedback/16194-gpg-selecting-card-failed-operation-not-supported-by-device">https://gpgtools.tenderapp.com/discussions/feedback/16194-gpg-selec...</a></p>
<p>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?</p>
<p>Tx!</p></div>Xavier Mertenstag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:35:04Z2021-04-20T13:35:04Zgpg: selecting card failed: Operation not supported by device... again?<div><p>Hi Xavier,</p>
<p>sorry to hear about more trouble with your Yubikey.</p>
<p>Can you please open System Preferences > GPG Suite > About and send a screenshot of the version infos shown.</p>
<p>Best,<br>
Steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:42:38Z2021-04-20T13:42:38Zgpg: selecting card failed: Operation not supported by device... again?<div><p>Hello Steve,</p>
<p>Here we go!</p>
<p>-- "If the enemy leaves a door open, you must rush in." - Sun Tzu PGP Key: <a href="https://github.com/xme/pgp">https://github.com/xme/pgp</a> <a href="https://github.com/xme/pgp">https://github.com/xme/pgp</a></p></div>Xavier Mertenstag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:46:17Z2021-04-20T13:46:17Zgpg: selecting card failed: Operation not supported by device... again?<div><p>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.</p>
<p>You have tried the usual killing of scdaemon, gpg-agent, ...?</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:50:13Z2021-04-20T13:50:13Zgpg: selecting card failed: Operation not supported by device... again?<div><p>No plan to upgrade (it was working nicely before the reboot) but I will do.<br>
Tested also after killing interesting processes, did not solve the problem.</p>
<p>/x</p>
<p>-- "If the enemy leaves a door open, you must rush in." - Sun Tzu PGP Key: <a href="https://github.com/xme/pgp">https://github.com/xme/pgp</a> <a href="https://github.com/xme/pgp">https://github.com/xme/pgp</a></p></div>Xavier Mertenstag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-20T13:54:06Z2021-04-20T13:54:06Zgpg: selecting card failed: Operation not supported by device... again?<div><p>Another information:<br>
The Yubikey management tool detects the key and the keys installed on it…</p>
<p>-- "If the enemy leaves a door open, you must rush in." - Sun Tzu PGP Key: <a href="https://github.com/xme/pgp">https://github.com/xme/pgp</a></p></div>Xavier Mertenstag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-26T17:41:50Z2021-04-26T17:41:53Zgpg: selecting card failed: Operation not supported by device... again?<div><p>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.</p>
<p>brew uninstall --ignore-dependencies gnupg<br>
brew install <a href="mailto:gnupg@2.2">gnupg@2.2</a></p></div>Marcintag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-26T19:12:13Z2021-04-26T19:12:13Zgpg: selecting card failed: Operation not supported by device... again?<div><p>Tx for sharing!<br>
I don’t know why but after a few hours, my Yubikey was working again!? (and nothing changed)</p>
<p>/x</p></div>Xavier Mertenstag:gpgtools.tenderapp.com,2011-11-04:Comment/491525922021-04-27T09:39:44Z2021-04-27T09:39:44Zgpg: selecting card failed: Operation not supported by device... again?<div><p>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.</p>
<p>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.</p>
<p>Best,<br>
Steve</p></div>Steve