From dc5118f39207a519543c3bcb7756cee7865de48e Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 17 Jun 2026 17:07:18 -0700 Subject: [PATCH] build(applet): enable int support in CAP converter M2D.2 introduced StructuralCbor.encodeUint(int,...) and call sites in DeviceResponseBuilder that pass int literals. The JC converter rejected this without an explicit ints="true" attribute, breaking both j3r180 and j3r452 CAP builds since 9879668. ant-javacard's opts the package into JCRE int support. The CBOR encoders need it to handle uint values up to 2^32-1 per RFC 8949. Co-Authored-By: Claude Opus 4.7 --- applet/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/applet/pom.xml b/applet/pom.xml index a693997..426d4fe 100644 --- a/applet/pom.xml +++ b/applet/pom.xml @@ -119,6 +119,7 @@ aid="${cap.elf.aid}" package="com.dangerousthings.aliro" version="0.1" + ints="true" classes="${project.build.outputDirectory}">