Skip to content

ci: migrate GPG key import from committed files to GitHub secret - #353

Merged
ckm007 merged 3 commits into
mosip:developfrom
Mahesh-Binayak:gpgupdate
Jul 6, 2026
Merged

ci: migrate GPG key import from committed files to GitHub secret#353
ckm007 merged 3 commits into
mosip:developfrom
Mahesh-Binayak:gpgupdate

Conversation

@Mahesh-Binayak

@Mahesh-Binayak Mahesh-Binayak commented Jul 6, 2026

Copy link
Copy Markdown
  • Replace file-based gpg2 import with secret-based import via GPG_PRIVATE_KEY
  • Add GPG key age check: warn at 2 years, hard stop at 3 years (bypassable with FORCE_BUILD=true)
  • Add simplify4u pgpverify step (non-blocking) to audit external dependency signatures
  • Remove unnecessary GPG_TTY env setup
  • Applied to maven-build.yml, maven-publish-to-nexus.yml, maven-publish-android.yml

Summary by CodeRabbit

  • New Features

    • Added a new build option to let release workflows continue even when signing keys are older than expected.
    • Improved package signing checks during builds to better validate dependency signatures.
  • Bug Fixes

    • Updated release workflows to use supplied signing credentials more reliably.
    • Added clearer warnings and blocking behavior when signing keys are nearing expiration or too old.

- Replace file-based gpg2 import with secret-based import via GPG_PRIVATE_KEY
- Add GPG key age check: warn at 2 years, hard stop at 3 years (bypassable with FORCE_BUILD=true)
- Add simplify4u pgpverify step (non-blocking) to audit external dependency signatures
- Remove unnecessary GPG_TTY env setup
- Applied to maven-build.yml, maven-publish-to-nexus.yml, maven-publish-android.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Mahesh-Binayak, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 3 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 406d5596-2490-4053-ab90-d3a7af118934

📥 Commits

Reviewing files that changed from the base of the PR and between 370cf14 and 61c9b23.

📒 Files selected for processing (4)
  • .github/workflows/maven-publish-android.yml
  • .github/workflows/maven-publish-to-nexus.yml
  • .github/workflows/maven-sonar-analysis-new.yml
  • .github/workflows/maven-sonar-analysis.yml

Walkthrough

Three reusable GitHub Actions workflows (maven-build, maven-publish-android, maven-publish-to-nexus) add a FORCE_BUILD input and require a GPG_PRIVATE_KEY secret. GPG setup switches from importing key files to importing keys directly from secrets, with an age check that warns or fails builds based on key age and FORCE_BUILD. maven-build.yml also adds a dependency signature verification step.

Changes

GPG key handling and dependency verification

Layer / File(s) Summary
maven-build.yml: inputs, GPG setup, and signature verification
.github/workflows/maven-build.yml
Adds FORCE_BUILD input and required GPG_PRIVATE_KEY secret; replaces prior key-file import with inline secret import and a 3-year age gate; adds a pgpverify-maven-plugin check step with continue-on-error: true.
maven-publish-android.yml: inputs, GPG import, and age check
.github/workflows/maven-publish-android.yml
Adds FORCE_BUILD input and required GPG_PRIVATE_KEY secret; replaces prior setup with conditional key import using GPG_SECRET passphrase and age-based warning/failure logic.
maven-publish-to-nexus.yml: inputs, GPG import, and age check
.github/workflows/maven-publish-to-nexus.yml
Adds FORCE_BUILD input and required GPG_PRIVATE_KEY secret; replaces prior GPG setup with conditional key import and age-based warning/failure logic; removes the prior GPG_TTY assignment.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Workflow as Maven Workflow
  participant Secrets as GPG_PRIVATE_KEY Secret
  participant GPG as gpg CLI
  participant CI as CI Job Status

  Workflow->>Secrets: Read GPG_PRIVATE_KEY
  Workflow->>GPG: Import key if secret present
  Workflow->>GPG: Query key creation date
  GPG-->>Workflow: Key age
  alt key age > 3 years and FORCE_BUILD != true
    Workflow->>CI: Fail job
  else key age > 3 years and FORCE_BUILD == true
    Workflow->>CI: Emit warning, continue
  else key age > 2 years
    Workflow->>CI: Emit warning, continue
  else
    Workflow->>CI: Continue normally
  end
Loading

Poem

A rabbit checked its keyring's age,
"Three years old? Turn the page!"
With FORCE_BUILD true, we hop along,
Signatures verified, nothing wrong. 🐇🔑
Old keys warned, new keys blessed —
This burrow's builds now pass the test!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main CI change: moving GPG key import from committed files to a GitHub secret.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
.github/workflows/maven-build.yml (1)

66-87: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚖️ Poor tradeoff

Age-check block is duplicated verbatim across all three workflows.

The identical import + age-check shell logic appears in maven-build.yml, maven-publish-android.yml, and maven-publish-to-nexus.yml. Consider extracting it into a shared composite action to keep thresholds and messaging in sync. Deferrable.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/maven-build.yml around lines 66 - 87, The GPG key
age-check shell block in this workflow is duplicated in the other Maven
workflows, so centralize the logic into a shared composite action and invoke it
from this job instead. Refactor the repeated `Check GPG key age` step (including
the `FORCE_BUILD` handling and warning/error thresholds) into one reusable
action so `maven-build.yml`, `maven-publish-android.yml`, and
`maven-publish-to-nexus.yml` stay consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/maven-build.yml:
- Around line 12-15: The `FORCE_BUILD` workflow input in the maven build/publish
workflows is defaulting to true, which disables the 3-year hard-stop unless
callers override it. Update the workflow input definition for `FORCE_BUILD` in
the affected workflow files so the default is false, and keep the existing
age-check logic in the build step that gates on `FORCE_BUILD != "true"` aligned
with this default. Use the `FORCE_BUILD` input blocks and the age-enforcement
step in `maven-build.yml`, `maven-publish-android.yml`, and
`maven-publish-to-nexus.yml` as the places to adjust.

In @.github/workflows/maven-publish-android.yml:
- Around line 15-19: The workflow has a duplicate inputs mapping under
workflow_call, which causes one of the defined inputs to be dropped and breaks
downstream references like FORCE_BUILD. Merge FORCE_BUILD into the existing
inputs block in the maven-publish-android workflow, keeping the original inputs
such as SERVICE_LOCATION intact, and remove the second inputs key so the YAML
has only one inputs mapping.

In @.github/workflows/maven-publish-to-nexus.yml:
- Around line 9-13: The workflow has a duplicate inputs mapping under
workflow_call, which causes one set of inputs to be dropped and breaks
FORCE_BUILD resolution. Update the existing inputs block in
maven-publish-to-nexus.yml to include FORCE_BUILD alongside the other declared
inputs, and remove the second inputs key entirely so the workflow schema remains
valid and the referenced force_build input is defined for the job that uses it.

---

Nitpick comments:
In @.github/workflows/maven-build.yml:
- Around line 66-87: The GPG key age-check shell block in this workflow is
duplicated in the other Maven workflows, so centralize the logic into a shared
composite action and invoke it from this job instead. Refactor the repeated
`Check GPG key age` step (including the `FORCE_BUILD` handling and warning/error
thresholds) into one reusable action so `maven-build.yml`,
`maven-publish-android.yml`, and `maven-publish-to-nexus.yml` stay consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d1349d57-9e88-4a41-a0e5-8b346b7a963c

📥 Commits

Reviewing files that changed from the base of the PR and between 8d1f8bd and 370cf14.

📒 Files selected for processing (3)
  • .github/workflows/maven-build.yml
  • .github/workflows/maven-publish-android.yml
  • .github/workflows/maven-publish-to-nexus.yml

Comment thread .github/workflows/maven-build.yml
Comment thread .github/workflows/maven-publish-android.yml Outdated
Comment thread .github/workflows/maven-publish-to-nexus.yml Outdated
Mahesh-Binayak and others added 2 commits July 6, 2026 17:40
Merge FORCE_BUILD into the existing workflow_call inputs block instead
of declaring a second inputs key (which is a YAML duplicate mapping key
and caused FORCE_BUILD to be discarded).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Sonar analysis only compiles and analyzes code (mvn verify sonar:sonar);
it does not publish artifacts, so signing is unnecessary. Drop the GPG
key import steps and pass -Dgpg.skip=true so the verify phase no longer
invokes the maven-gpg-plugin. No signing key is needed for analysis.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

@Varaniya201 Varaniya201 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Mahesh-Binayak added a commit to Mahesh-Binayak/esignet that referenced this pull request Jul 6, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-signup that referenced this pull request Jul 6, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-plugins that referenced this pull request Jul 6, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-mock-services that referenced this pull request Jul 6, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ckm007
ckm007 merged commit 600bbb2 into mosip:develop Jul 6, 2026
2 checks passed
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet that referenced this pull request Jul 7, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-signup that referenced this pull request Jul 7, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-plugins that referenced this pull request Jul 7, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Mahesh-Binayak added a commit to Mahesh-Binayak/esignet-mock-services that referenced this pull request Jul 7, 2026
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
anushasunkada pushed a commit to mosip/esignet-plugins that referenced this pull request Jul 7, 2026
* ci: point kattu maven workflows at @develop to test kattu#353

Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: pass GPG_PRIVATE_KEY secret from caller workflows (kattu#353)

kattu#353 imports the signing key from the GPG_PRIVATE_KEY secret (now
required: true in maven-build / maven-publish-to-nexus workflow_call), so
the caller must forward it. Added GPG_PRIVATE_KEY to the maven-build and
maven-publish-to-nexus caller jobs only (sonar workflows don't declare it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at Mahesh-Binayak/kattu@gpgupdate-masterj21

gpgupdate-masterj21 = master-java21 + the GPG-secret-import / key-age /
simplify4u-pgpverify changes, keeping master-java21's interface intact.
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis to it,
restores MAVEN_NON_EXEC_ARTIFACTS, and forwards GPG_PRIVATE_KEY to the
build/publish jobs. Other workflows (docker-build, npm-*, sonar-new@develop)
and commented refs are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at mosip/kattu@gpgupdate-masterj21

The gpgupdate-masterj21 branch now lives on mosip/kattu; reference it
there instead of the fork. Interface unchanged; GPG_PRIVATE_KEY forwarded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

---------

Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
anushasunkada pushed a commit to mosip/esignet-mock-services that referenced this pull request Jul 7, 2026
* ci: point kattu maven workflows at @develop to test kattu#353

Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: pass GPG_PRIVATE_KEY secret from caller workflows (kattu#353)

kattu#353 imports the signing key from the GPG_PRIVATE_KEY secret (now
required: true in maven-build / maven-publish-to-nexus workflow_call), so
the caller must forward it. Added GPG_PRIVATE_KEY to the maven-build and
maven-publish-to-nexus caller jobs only (sonar workflows don't declare it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at Mahesh-Binayak/kattu@gpgupdate-masterj21

gpgupdate-masterj21 = master-java21 + the GPG-secret-import / key-age /
simplify4u-pgpverify changes, keeping master-java21's interface intact.
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis to it,
restores MAVEN_NON_EXEC_ARTIFACTS, and forwards GPG_PRIVATE_KEY to the
build/publish jobs. Other workflows (docker-build, npm-*, sonar-new@develop)
and commented refs are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at mosip/kattu@gpgupdate-masterj21

The gpgupdate-masterj21 branch now lives on mosip/kattu; reference it
there instead of the fork. Interface unchanged; GPG_PRIVATE_KEY forwarded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

---------

Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
anushasunkada pushed a commit to mosip/esignet-signup that referenced this pull request Jul 7, 2026
* ci: point kattu maven workflows at @develop to test kattu#353

Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: pass GPG_PRIVATE_KEY secret from caller workflows (kattu#353)

kattu#353 imports the signing key from the GPG_PRIVATE_KEY secret (now
required: true in maven-build / maven-publish-to-nexus workflow_call), so
the caller must forward it. Added GPG_PRIVATE_KEY to the maven-build and
maven-publish-to-nexus caller jobs only (sonar workflows don't declare it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: drop MAVEN_NON_EXEC_ARTIFACTS input for kattu@develop

kattu@develop maven-build.yml does not declare MAVEN_NON_EXEC_ARTIFACTS
(it was a master-java21-only input), which fails workflow validation.
Remove it from the caller so the reusable workflow reference is valid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at Mahesh-Binayak/kattu@gpgupdate-masterj21

gpgupdate-masterj21 = master-java21 + the GPG-secret-import / key-age /
simplify4u-pgpverify changes, keeping master-java21's interface intact.
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis to it,
restores MAVEN_NON_EXEC_ARTIFACTS, and forwards GPG_PRIVATE_KEY to the
build/publish jobs. Other workflows (docker-build, npm-*, sonar-new@develop)
and commented refs are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at mosip/kattu@gpgupdate-masterj21

The gpgupdate-masterj21 branch now lives on mosip/kattu; reference it
there instead of the fork. Interface unchanged; GPG_PRIVATE_KEY forwarded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

---------

Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
anushasunkada pushed a commit to mosip/esignet that referenced this pull request Jul 7, 2026
* ci: point kattu maven workflows at @develop to test kattu#353

Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: pass GPG_PRIVATE_KEY secret from caller workflows (kattu#353)

kattu#353 imports the signing key from the GPG_PRIVATE_KEY secret (now
required: true in maven-build / maven-publish-to-nexus workflow_call), so
the caller must forward it. Added GPG_PRIVATE_KEY to the maven-build and
maven-publish-to-nexus caller jobs only (sonar workflows don't declare it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: drop MAVEN_NON_EXEC_ARTIFACTS input for kattu@develop

kattu@develop maven-build.yml does not declare MAVEN_NON_EXEC_ARTIFACTS
(it was a master-java21-only input), which fails workflow validation.
Remove it from the caller so the reusable workflow reference is valid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at Mahesh-Binayak/kattu@gpgupdate-masterj21

gpgupdate-masterj21 = master-java21 + the GPG-secret-import / key-age /
simplify4u-pgpverify changes, keeping master-java21's interface intact.
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis to it,
restores MAVEN_NON_EXEC_ARTIFACTS, and forwards GPG_PRIVATE_KEY to the
build/publish jobs. Other workflows (docker-build, npm-*, sonar-new@develop)
and commented refs are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at mosip/kattu@gpgupdate-masterj21

The gpgupdate-masterj21 branch (master-java21 + GPG-secret/pgpverify
changes) now lives on mosip/kattu, so reference it there instead of the
fork. Interface unchanged; GPG_PRIVATE_KEY still forwarded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

---------

Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
sacrana0 added a commit to mosip/esignet-mock-services that referenced this pull request Aug 27, 2026
* Added PKCE implementation

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* fixed coderabbit comment

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* Corrected the logic to full dynamic identity schema

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Fixed review comments

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* added proxy pass for par and dpop (#554)

Signed-off-by: Harsh Kashiwal <harsh.kashiwal@infosys.com>

* resolved comments

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* resolved review comment

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* resolve review comments

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* set active_profile_env to "default" in deployment (#558) (#560)

Signed-off-by: Sachin Rana <sacrana324@gmail.com>

* docs: fix typos, remove duplicate overview, and improve README formatting (#561) (#563)

Signed-off-by: Nandhukumar <nandhukumare@gmail.com>

* Added endpoint to fetch identity schema (#564)

* Added endpoint to fetch identity schema

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Added endpoint to fetch identity schema

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Fixed testcase

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

---------

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Fixed the required field validation error (#565)

* Added endpoint to fetch identity schema

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Added endpoint to fetch identity schema

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Fixed required fields validation error

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

---------

Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>

* Snapshot updates 0.13.0 -> 0.13.1

Signed-off-by: Harsh Kashiwal <kashiwalharsh1234@gmail.com>

* [ES-2962] Added error messages for login_required and request_not_supported error.

Signed-off-by: GurukiranP <talk2gurukiran@gmail.com>

* [ES-1616] Added new error message.

Signed-off-by: GurukiranP <talk2gurukiran@gmail.com>

* [MOSIP-37808] Updated DB attributes of MOSIP esignet-mock

Signed-off-by: Abhi <abhishek.shankarcs@gmail.com>

* [MOSIP-37808] Updated DB attributes of MOSIP esignet-mock (#579)

Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>

* Updating sign-in-with-esignet, removing optional parameter from config (#590)

* [MODIFIED] used npm library for sign-in-with-esignet

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [MODIFIED] ignore optional parameter in sign-in-with-esignet

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [MODIFIED] readme file

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [MODIFIED] coderabbit comment resolved

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [MODIFIED] review comment addressed

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [MODIFIED] readme updated

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

---------

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [1996] added configurable token and userinfo endpoint (#591)

* [1996] added configurable token and userinfo endpoint

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [1996] add kid only, if private key has it

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [1996] default value of token & userinfo endpoint

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

---------

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [1966] bypass for json userInfoResponse (#592)

* [1966] bypass for json userInfoResponse

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [1966] bypass for json userInfoResponse

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

---------

Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>

* [mosip/mosip-infra#1890] Added domainConfig support in helm charts (#589)

* [mosip/mosip-infra#1890] Removed esignet-global, added domainConfig support in helm charts

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

* [mosip/mosip-infra#1890] Set chart versions to 0.0.1-develop

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

* migrate to domainConfig helm values
 #1890

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

---------

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Co-authored-by: bhumi46 <bhumi11111a@gmail.com>

* Gpg update Test  (#596)

* ci: point kattu maven workflows at @develop to test kattu#353

Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis(-new)
reusable-workflow references to mosip/kattu@develop so the GPG-key-import
migration (mosip/kattu#353) is exercised by this repo's CI once it merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: pass GPG_PRIVATE_KEY secret from caller workflows (kattu#353)

kattu#353 imports the signing key from the GPG_PRIVATE_KEY secret (now
required: true in maven-build / maven-publish-to-nexus workflow_call), so
the caller must forward it. Added GPG_PRIVATE_KEY to the maven-build and
maven-publish-to-nexus caller jobs only (sonar workflows don't declare it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at Mahesh-Binayak/kattu@gpgupdate-masterj21

gpgupdate-masterj21 = master-java21 + the GPG-secret-import / key-age /
simplify4u-pgpverify changes, keeping master-java21's interface intact.
Repoints maven-build / maven-publish-to-nexus / maven-sonar-analysis to it,
restores MAVEN_NON_EXEC_ARTIFACTS, and forwards GPG_PRIVATE_KEY to the
build/publish jobs. Other workflows (docker-build, npm-*, sonar-new@develop)
and commented refs are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

* ci: point maven workflows at mosip/kattu@gpgupdate-masterj21

The gpgupdate-masterj21 branch now lives on mosip/kattu; reference it
there instead of the fork. Interface unchanged; GPG_PRIVATE_KEY forwarded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>

---------

Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* [issue:1963] Updated helm for thunder deployment (#593)

Signed-off-by: Prafulrakhade <prafulrakhade02@gmail.com>

* [issue:597] Add PKCS12 keystore support to mock-identity-system as an alternative to SoftHSM (#599)

install.sh now prompts to opt into a PKCS12 mounted-volume keystore instead
of SoftHSM; SoftHSM provisioning only runs when PKCS12 isn't selected. The
chart gained a PersistentVolumeClaim template, a fixed volume-permissions
init container (was a literal unfilled placeholder), persistence volume
wiring in the deployment, and additive extraEnvVarsAdditional support.

Signed-off-by: Swapnil <swapnil.mohanty@technoforte.co.in>

* Fix default prompt value (#600)

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>
Co-authored-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>

* #10670: Add AGENTS.md tree for AI coding assistant guidance

Adds a root AGENTS.md hub covering the repository as a whole, plus
per-module AGENTS.md guides for mock-identity-system,
mock-relying-party-service, mock-relying-party-ui,
mock-relying-party-ui-esim, and partner-onboarder — the independently
buildable modules in this repo. Each guide documents purpose, layout,
how to run/build/test, configuration, and explicit agent do/do-not
rules, verified against the actual READMEs, pom.xml/package.json
files, and GitHub Actions workflows in this repo.

Addresses mosip/mosip-config#10670

Signed-off-by: Chetan Kumar Hirematha <chetankumar.h.239@gmail.com>

* #10670: Address CodeRabbit review feedback on AGENTS.md

- Stop prescribing npm test for every Node/React module; point to
  each module's own AGENTS.md/README.md since scripts differ
  (mock-relying-party-service has no test script at all).
- Fix docker-compose path in mock-identity-system/AGENTS.md: from the
  repo root it's docker-compose/, not ../docker-compose/.
- Use MOCK_RELYING_PARTY_SERVER_URL in the mock-relying-party-ui-esim
  Docker example, matching the variable the Dockerfile/UI actually
  read (MOCK_RELYING_PARTY_BASE_URL has no effect).
- Note that partner-onboarder targets a non-production eSignet
  deployment only, per the root README's repo-wide scope.

Addresses review comments on #601

Signed-off-by: Chetan Kumar Hirematha <chetankumar.h.239@gmail.com>

* fix: 602 convert extraEnvVars/extraEnvVarsAdditional to maps (#603)

* fix: 602 convert extraEnvVars/extraEnvVarsAdditional to maps

Helm merges map keys across values layers but replaces lists wholesale,
so any downstream override of extraEnvVars/extraEnvVarsAdditional had
to re-declare the whole list just to change one entry. Convert both to
maps keyed by env var name in mock-identity-system,
mock-relying-party-service, and mock-relying-party-ui, and render them
with a range loop that auto-detects plain scalars vs. valueFrom,
matching the existing domainConfig pattern already used in these
charts. Same fix already applied to mosip/esignet (issue #2380).

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

* fix: 602 update mock-identity-system installer for extraEnvVarsAdditional map contract

deploy/mock-identity-system/install.sh generated extraEnvVarsAdditional
as a list in two places (PKCS12 and softhsm branches), which produced
broken index-keyed env entries against the chart's map-shaped default
introduced in this PR. Convert both to the map contract (KEY: value /
KEY: {valueFrom: ...}), matching the fix already applied to esignet's
legacy installer scripts.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

---------

Signed-off-by: bhumi46 <thisisbn46@gmail.com>

* Change image tag from release-0.10.x to develop

Signed-off-by: Praful Rakhade <prafulrakhade02@gmail.com>

* Change image tag from release-0.10.x to develop

Signed-off-by: Praful Rakhade <prafulrakhade02@gmail.com>

* Change image tag from release-0.10.x to develop

Signed-off-by: Praful Rakhade <prafulrakhade02@gmail.com>

* #2347 Update database host and clean up configuration (#610)

Updated the host to include the namespace and removed unused service configurations.

Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>

* #2347 Update database username in postgres config (#611)

* #2347 Update database username in postgres config

Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>

* #2347 Update database username in deploy.properties

Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>

---------

Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>

* updated version 0.13.0 to 0.14.0

Signed-off-by: Sachin Rana <sacrana324@gmail.com>

* updated helm chart version

Signed-off-by: Sachin Rana <sacrana324@gmail.com>

---------

Signed-off-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>
Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>
Signed-off-by: Harsh Kashiwal <harsh.kashiwal@infosys.com>
Signed-off-by: Sachin Rana <sacrana324@gmail.com>
Signed-off-by: Nandhukumar <nandhukumare@gmail.com>
Signed-off-by: Harsh Kashiwal <kashiwalharsh1234@gmail.com>
Signed-off-by: GurukiranP <talk2gurukiran@gmail.com>
Signed-off-by: Abhi <abhishek.shankarcs@gmail.com>
Signed-off-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>
Signed-off-by: Zeeshan Mehboob <zeeshan.mehboob@infosys.com>
Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Signed-off-by: Mahesh.Binayak <mahesh.binayak@technoforte.co.in>
Signed-off-by: Prafulrakhade <prafulrakhade02@gmail.com>
Signed-off-by: Swapnil <swapnil.mohanty@technoforte.co.in>
Signed-off-by: Chetan Kumar Hirematha <chetankumar.h.239@gmail.com>
Signed-off-by: Praful Rakhade <prafulrakhade02@gmail.com>
Co-authored-by: Sajid Mannikeri <sajid.mannikeri@ad.infosys.com>
Co-authored-by: ase-101 <sunkadaeanusha@gmail.com>
Co-authored-by: Zeeshan Mehboob <82993262+zesu22@users.noreply.github.com>
Co-authored-by: Harsh Kashiwal <77677724+KashiwalHarsh@users.noreply.github.com>
Co-authored-by: Nandhukumar <nandhukumare@gmail.com>
Co-authored-by: Harsh Kashiwal <kashiwalharsh1234@gmail.com>
Co-authored-by: GurukiranP <talk2gurukiran@gmail.com>
Co-authored-by: Abhi <abhishek.shankarcs@gmail.com>
Co-authored-by: Chandra Keshav Mishra <chandrakeshavmishra@gmail.com>
Co-authored-by: Abhishek S <127825992+abhishek8shankar@users.noreply.github.com>
Co-authored-by: bhumi46 <111699703+bhumi46@users.noreply.github.com>
Co-authored-by: bhumi46 <bhumi11111a@gmail.com>
Co-authored-by: Mahesh-Binayak <76687012+Mahesh-Binayak@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Praful Rakhade <prafulrakhade02@gmail.com>
Co-authored-by: Swapnil <swapnil.mohanty@technoforte.co.in>
Co-authored-by: Sajid Mannikeri <sajid.mannikeri@infosys.com>
Co-authored-by: Chetan Kumar Hirematha <chetankumar.h.239@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants