Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Unable to use Yubikey 5 NFC with Openkeychain, extended ADPU not supported (FIX proposed)

On preinstalled S9+ from /e/, when trying to decrypt with Openkeychain and Yubikey 5 NFC, I get the following error: "error transceive length exceeds supported maximum"

  • Openkeychain version is 5.4.
  • Yubikey OpenPGP version is 3.4.

Searching the net, I came upon these issues, that I think are related: https://gitlab.com/LineageOS/issues/android/issues/576

and https://forum.xda-developers.com/mi-6/development/rom-crdroid-v4-6-t3837921/page2 were one comment says: “ROM’s NFC Manager seems don’t support Extended APDU.”

I also found this (quite old) commit in LineageOS, https://github.com/LineageOS/android_system_nfc/commit/24f645d775f66c9de2f169813dc4fad3d463277a that "Increase APDU buffer size to support extended APDU ".

I'm not absolutely positive that the problem is with the ROM, but it seems likely... I available to test or give more information if necessary.

Thanks in advance Franck

Edited by Franck Routier