Skip to content

YubiKit 3.3.0

Latest

Choose a tag to compare

@AdamVe AdamVe released this 29 Oct 16:10
3.3.0
855b188

A feature release with support for TPDU-level USB readers, larger APDUs and additional PIV key types, plus a broad set of robustness and security fixes.

New in this release:

  • android module:
    • Support for TPDU-level USB readers, with host-side T=1 framing (#381)
    • CCID command chaining and response reassembly for large APDUs (#380)
  • core module:
    • Larger extended length APDUs on devices which support them; larger data is sent with command chaining instead of failing (#405)
    • PublicKeyValues and PrivateKeyValues variants for the additional key types (#405)
  • fido module:
    • Ctap2Session.setPollingEnabled(false) turns off NFC polling, fixing OPERATION_DENIED when APDUs are relayed over a slow network (#386)
  • piv module:
    • Support for additional key types, a signature algorithm and a key-encapsulation mechanism on devices which support them, see PivSession.FEATURE_* (#405)
    • RSA1024 keys and TDES management keys are rejected on devices that do not support them (#405)
  • management module:
    • Added Capability.FIDO_CCID (0x1000), reported by firmware 5.8+ (#379)
    • DeviceInfo.getName() returns the device name reported by the firmware (#405)

Fixes:

  • core module:
    • Under SCP03/SCP11 a response without a valid R-MAC is refused; before, a bare 9000 was accepted (#404)
    • Reassemble FIDO HID messages longer than 7609 bytes (#395)
  • fido module:
    • makeCredential returns fmt none with an empty attStmt unless attestation was requested, as WebAuthn requires (#403)
    • Ctap1Client.getAssertion rejects userVerification "required" (#403)
    • Unsigned 64-bit integers in Cbor, vendorPrototype and InfoData; vendorPrototype(Integer) and getVendorPrototypeConfigCommands() are deprecated (#401)
    • Accept COSE algorithm identifiers sent as floating point numbers (#398)
    • NFCCTAP_GETRESPONSE polls no longer re-send the request (#386)
    • getAssertions passes the caller's CommandState to follow-up assertions (#403)
    • Send config subcommand 0xFF as 255
  • openpgp module:
    • An invalid KDF iteration count is rejected with IllegalArgumentException, and the whole salt and PIN is always hashed (#403)
    • Initialize a session with a card that advertises no extended capabilities or general features (#403)
  • piv module:
    • Certificate decompression is bounded; gzip certificates over 64 KiB are rejected (#403)
    • KeyType.fromValue() finds key types above 0x7F, such as ED25519
  • core, fido, oath modules:
    • Malformed or endless card and key responses now fail with an exception instead of an unchecked error or an endless read (#403)
  • fido, openpgp modules:
    • No longer use API 24 methods, which caused NoSuchMethodError on API 21-23 (#403)
  • test infrastructure:
    • fido-ui instrumented tests run on Android 16
  • build system:
    • Updated dependencies, GitHub Actions and the Gradle wrapper (9.7.1) (#382)

Full Changelog: 3.2.1...3.3.0