Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error: APDU error: SW = 0x6f00 #340

Open
vzool opened this issue Feb 13, 2023 · 1 comment
Open

Unknown error: APDU error: SW = 0x6f00 #340

vzool opened this issue Feb 13, 2023 · 1 comment

Comments

@vzool
Copy link

vzool commented Feb 13, 2023

I can't reset PIV it does show an error Unknown error: APDU error: SW = 0x6f00

Steps to reproduce

[Please explain what you did when the bug appeared, and if and how you have been
able to reproduce it.]

Expected result

[What did you expect to happen when you did the above?]

It should reset the device normally.

Actual results and logs

[What actually happened?]

218432990-50ec09b5-56d8-4054-95bb-02c1fbca8ced

Other info

[Anything else you would like to add?]

➜  yubikey git:(master) gpg --version
gpg (GnuPG/MacGPG2) 2.2.40
libgcrypt 1.8.9
Copyright (C) 2022 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /Users/vzool/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
➜  yubikey git:(master) gpg --card-status
gpg: selecting card failed: Operation not supported by device
gpg: OpenPGP card not available: Operation not supported by device
➜  yubikey git:(master) gpg-connect-agent --hex
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
ERR 100663406 Card removed <SCD>
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
ERR 100663406 Card removed <SCD>
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
ERR 100663406 Card removed <SCD>
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
ERR 100663406 Card removed <SCD>
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
ERR 100663406 Card removed <SCD>
> 
gpg-connect-agent: signal Interrupt caught ... exiting

Screenshot 1444-07-22 at 1 37 26 PM

@dainnilsson dainnilsson transferred this issue from Yubico/yubikey-manager Feb 13, 2023
@fdennis
Copy link
Contributor

fdennis commented Feb 14, 2023

Could you launch through the terminal with the --log-level DEBUG flag at the end? It should give more information.
For example /Applications/YubiKey\ Manager.app/Contents/MacOS/ykman-gui --log-level DEBUG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants