Data Inc.

Developers / Trust & billing / ACA & native consent guide

ACA & native consent guide

Reproduce Life consent hashes and understand precisely what the mobile prompt does—and does not—prove.

Paths, headers and fields mirror The IDIA Hub's Protocol API implementation, checked November 7, 2026. Keys and credit rates are issued per organization inside the Hub; source review is not an independent production assessment.

Source evidence and native boundary

Life by IDIA fc87a5c1: src/utils/acaGenerator.ts and the Android IDIABiometricPlugin.kt. iOS code calls a WKWebView triggerBiologicalCapture bridge and accepts a success callback; native Swift implementation was not present in the inspected snapshot. Android invokes BiometricPrompt with BIOMETRIC_STRONG or DEVICE_CREDENTIAL and resolves verified: true.

The web code then constructs a UUID:timestamp:NATIVE_ENCLAVE_VERIFIED or UUID:timestamp:ANDROID_KEYSTORE_VERIFIED string. These labels are not a signed hardware attestation, a challenge-bound key signature or an enclave certificate. No remote verification chain is established here. The generator refuses the explicit web-only fallback, but that alone does not prove the authenticity of a bridge response.

Exact ACA hashing input

SHA-256 is computed over UTF-8 bytes of JSON.stringify of the object below, in this insertion order. This is ordinary JavaScript JSON serialization, not a standardized canonical-JSON protocol. Preserve timestamp formatting, property order, scope array order and the actual attestation ID; aca_hash_key is added afterward and is not hashed.

FieldType / presenceMeaning
platform_guidstringIDIA Key generated from the Life app
source_idstringConnected sourceId
timestampISO stringNew Date().toISOString() at generation
consent_scopestring[]Supplied scopes; default [CONSENT_GENERAL]
hardware_attestation_idstringLocally generated after native prompt success
// Reproduce an existing artifact: do not generate new timestamps or attestation IDs.
const input = {
  platform_guid: artifact.platform_guid,
  source_id: artifact.source_id,
  timestamp: artifact.timestamp,
  consent_scope: artifact.consent_scope,
  hardware_attestation_id: artifact.hardware_attestation_id,
};
const bytes = new TextEncoder().encode(JSON.stringify(input));
const digest = await crypto.subtle.digest("SHA-256", bytes);
const hash = Array.from(new Uint8Array(digest), b => b.toString(16).padStart(2, "0")).join("");
const matches = hash === artifact.aca_hash_key;

Guarantees and limits

Hash agreement proves consistency with the supplied serialized fields, not identity validity, biological uniqueness, hardware authenticity or data truth. Age verification, Terms acceptance and AoR metadata flows in the inspected source are not shown invoking this ACA generator; do not describe every consent metadata write as biometrically signed.

The proprietary Verified Truth record tracks aggregation, tagging, staging, buyer reference and on-chain Liability Receipt NFT transaction. It does not certify the underlying data as accurate or safe. Liability Shield is the framework; Liability Receipt NFT is its token.

NextClient privacy & local storage