Repository navigation
[mosip/id-authentication#1764] Support Auth-purpose biometric capture for IDA local runs - #2001
Merged
mohanachandran-s merged 1 commit intoOct 29, 2026
Conversation
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
nandhu-kumar
force-pushed
the
feature/ida-apitest-local-run
branch
from
October 28, 2026 12:21
b10d4c4 to
16b3a5e
Compare
… for IDA local runs Lets the IDA api-test rig authenticate with Mock SBI captures against a locally running IDA. Everything new is opt-in through properties that only the rig's local profile sets; with them unset, environment runs behave as before. - Upgrade mock-mds to 1.4.0-SNAPSHOT (adds startSBIV1 with image type and Auth-purpose CAPTURE). kernel-core is pinned to 1.3.1-rc.1, which that mock-mds needs (DateUtils2). Count/requestedScore are now sent as strings with an empty previousHash, as mock-mds 1.4.0 requires. - MDSClient: configurable capture purpose and env; Auth captures use CAPTURE with a bioSubType and the run's transactionId. Registration captures are unchanged. Clearer errors for failed or empty captures. - BiometricDataProvider: keep the session key, thumbprint, timestamp, transactionId and hash returned with an Auth capture; optional per-subtype finger/iris captures, capture profile/env/image type, and re-capture before IDA's 120s timestamp limit (local.bio.*, mdsCapture*, mdsImageType). - BioDataUtility: reuse the capture's encrypted bioValue, session key, thumbprint, timestamp and hash instead of re-encrypting through /internal/encrypt; optional local encryption for non-captured bioValues (local.bio.encryptCertUrl). - AdminTestUtil: TRANSACTION_ID can be pinned with -DtransactionId (default stays random). Verified: local smoke 52/52 and regression P-464 against local IDA; dev1 smoke T-244 P-203 F-0 with the repo's default config, test by test the same as before the change. Signed-off-by: Nandhukumar <nandhukumare@gmail.com>
nandhu-kumar
force-pushed
the
feature/ida-apitest-local-run
branch
from
October 29, 2026 11:42
16b3a5e to
e1003eb
Compare
mohanachandran-s
approved these changes
Oct 29, 2026
Member
|
🔗 Linked PR
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of mosip/id-authentication#1764 (running the IDA api-test rig against a locally running IDA).
What
Lets the IDA rig send Mock SBI biometric captures to a local IDA, where there is no
/internal/encryptand no device partner registration. Everything new is opt-in through properties that only the IDA rig's local profile (Ida-local.properties) sets. With them unset, environment runs behave as before.1.3.0-beta.1→1.4.0-SNAPSHOT(addsstartSBIV1with image type, and Auth-purposeCAPTURE). kernel-core pinned to1.3.1-rc.1, which that mock-mds needs (DateUtils2).CAPTUREwith a bioSubType and the run's transactionId; Registration captures are unchanged.count/requestedScoreare sent as strings with an emptypreviousHash, which mock-mds 1.4.0 requires. Clearer errors when a capture fails or comes back empty.local.bio.*,mdsCapture*,mdsImageType)./internal/encrypt. Optional local encryption for non-captured bioValues (local.bio.encryptCertUrl).TRANSACTION_IDcan be pinned with-DtransactionId; it stays random by default.Impact on other modules
The mock-mds upgrade is the one change that isn't opt-in: every module using commons gets mock-mds 1.4.0. Registration captures keep the same purpose, env, method and transactionId; only the count/score/previousHash request format changes.
Testing
Not yet run by other modules (resident, regproc, etc.); a run from one Registration-capture module would confirm the mock-mds upgrade for them.
The rig-side changes (local suite,
Ida-local.properties, bootstrap) go in a separate id-authentication PR.