From 6516da118a59f15dea642b197e6abb3c50228f8e Mon Sep 17 00:00:00 2001 From: Thomas Manson Date: Thu, 15 Feb 2024 14:39:27 +1100 Subject: [PATCH 1/3] Add userData to attestation api --- pom.xml | 2 +- src/main/java/com/uid2/enclave/IAttestationProvider.java | 2 +- update_maven_local.bat | 2 +- update_maven_local.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 43ec330..6068463 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.uid2 uid2-attestation-api - 1.6.0-9665e9805f + 2.0.0-SNAPSHOT ${project.groupId}:${project.artifactId} Interfaces for enclave attestation process diff --git a/src/main/java/com/uid2/enclave/IAttestationProvider.java b/src/main/java/com/uid2/enclave/IAttestationProvider.java index 9e1c876..263a8d3 100644 --- a/src/main/java/com/uid2/enclave/IAttestationProvider.java +++ b/src/main/java/com/uid2/enclave/IAttestationProvider.java @@ -7,5 +7,5 @@ public interface IAttestationProvider { */ default boolean isReady() { return true; } - byte[] getAttestationRequest(byte[] publicKey) throws AttestationException; + byte[] getAttestationRequest(byte[] publicKey, byte[] userData) throws AttestationException; } diff --git a/update_maven_local.bat b/update_maven_local.bat index 3ed2880..09ad579 100644 --- a/update_maven_local.bat +++ b/update_maven_local.bat @@ -1,6 +1,6 @@ @echo off -set VERSION="1.0.0" +set VERSION="2.0.0-SNAPSHOT" set GROUP_ID="com.uid2" set ARTIFACT_ID="uid2-attestation-api" diff --git a/update_maven_local.sh b/update_maven_local.sh index b58c3ee..4ca8dd6 100755 --- a/update_maven_local.sh +++ b/update_maven_local.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=${1:-"1.0.0"} +VERSION=${1:-"2.0.0-SNAPSHOT"} GROUP_ID="com.uid2" ARTIFACT_ID="uid2-attestation-api" From 620cb66c1d69ee51b9653909906282dab64340aa Mon Sep 17 00:00:00 2001 From: Release Workflow Date: Thu, 15 Feb 2024 03:41:18 +0000 Subject: [PATCH 2/3] [CI Pipeline] Released Snapshot version: 1.6.10-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6068463..38b1d88 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.uid2 uid2-attestation-api - 2.0.0-SNAPSHOT + 1.6.10-SNAPSHOT ${project.groupId}:${project.artifactId} Interfaces for enclave attestation process From 504e4aa941a999ee7842cfd11b2521b701ac45e4 Mon Sep 17 00:00:00 2001 From: Thomas Manson Date: Fri, 16 Feb 2024 10:30:24 +1100 Subject: [PATCH 3/3] Updated script versions --- update_maven_local.bat | 2 +- update_maven_local.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/update_maven_local.bat b/update_maven_local.bat index 09ad579..513d74e 100644 --- a/update_maven_local.bat +++ b/update_maven_local.bat @@ -1,6 +1,6 @@ @echo off -set VERSION="2.0.0-SNAPSHOT" +set VERSION="2.0.0" set GROUP_ID="com.uid2" set ARTIFACT_ID="uid2-attestation-api" diff --git a/update_maven_local.sh b/update_maven_local.sh index 4ca8dd6..1c56e0c 100755 --- a/update_maven_local.sh +++ b/update_maven_local.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=${1:-"2.0.0-SNAPSHOT"} +VERSION=${1:-"2.0.0"} GROUP_ID="com.uid2" ARTIFACT_ID="uid2-attestation-api"