Skip to content

v4.7-121

Choose a tag to compare

@github-actions github-actions released this 17 Mar 06:17
· 127 commits to main since this release

Tested against KeyDetector and Key Attestation on OnePlus (Android 16) and Xiaomi Redmi 14C (Android 14).

  • PADDING encoding — Fixed ASN.1 encoding of PADDING tag in attestation extension from individual [6] INTEGER entries to [6] SET OF INTEGER, matching AOSP attestation_record.h schema. Broke all RSA key attestation since v4.6.
  • Operation error-path conformance — Software operations now track finalized state and return INVALID_OPERATION_HANDLE (-28) on post-abort calls. Input length guard (32KB) returns TOO_MUCH_DATA matching AOSP operation.rs. Passes KeyDetector's OperationErrorPathChecker.
  • updateAad support — Added updateAad to SoftwareOperationBinder, fixing AbstractMethodError on Android 16 where the runtime Stub declares it abstract.
  • Algorithm inferencecreateOperation now infers algorithm from the stored key pair when operation params omit the ALGORITHM tag, matching AOSP behavior.