Skip to content

fix: read CI secrets from repository secrets and align Gson converter - #124

Merged
cernadasjuan merged 3 commits into
masterfrom
fix/ci-github-secrets
Nov 5, 2026
Merged

cernadasjuan merged 3 commits into
masterfrom
fix/ci-github-secrets

Conversation

@cernadasjuan

@cernadasjuan cernadasjuan commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Integration tests read PLUGGY_CLIENT_ID, PLUGGY_CLIENT_SECRET, PLUGGY_BASE_URL and PLUGGY_RSA_PUBLIC_KEY from repository secrets. The third-party CLI action is removed, so every workflow uses only GitHub-owned actions pinned by SHA.
  • Pass PLUGGY_RSA_PUBLIC_KEY so createItem_withEncryptedParameters_responseOk actually encrypts the parameters. Without it the test sent them in plaintext and still passed.
  • Align converter-gson (2.9.0 → 2.12.0) with retrofit 2.12.0 and move gson to 2.13.1, the version that converter is built against.
  • Bump the version to 1.17.2.
  • CLAUDE.md: secrets flow, Actions allowlist, removed force release input, User-Agent derived from pom.xml.

Test plan

  • actionlint and zizmor: no findings
  • mvn dependency:tree: converter-gson 2.12.0, gson 2.13.1, no gson below 2.8.9
  • mvn -B verify locally: 97 unit and 41 integration tests pass (the 4 skipped are existing @Disabled tests)
  • First master run and maven-publish.yml for v1.17.2 are green

@cernadasjuan cernadasjuan changed the title fix(ci): read integration secrets from repository secrets fix: read CI secrets from repository secrets and align Gson converter Nov 5, 2026
The integration-test steps now read their credentials directly from
repository secrets, so CI no longer needs a long-lived service token or
the third-party CLI action. Each step receives only the four values it
uses, and GitHub masks them automatically.

PLUGGY_RSA_PUBLIC_KEY is now passed as well. Without it, the
encrypted-parameters integration test silently sent plaintext
parameters and never exercised EncryptedParametersInterceptor.
converter-gson was left at 2.9.0 when retrofit moved to 2.12.0, and it
still declared gson 2.8.5, which is affected by GHSA-4jrv-ppp4-jm57
(CVE-2022-25647). Maven already resolved the direct gson 2.11.0, so the
vulnerable version was not on the classpath, but the declared graph kept
the alert open and the Retrofit modules were out of sync.

Move converter-gson to 2.12.0 and gson to 2.13.1, the version that
converter-gson 2.12.0 is built against.
Ships the Retrofit, OkHttp, log4j and Gson dependency updates merged
since v1.17.1.
@cernadasjuan
cernadasjuan force-pushed the fix/ci-github-secrets branch from 60a5bb4 to 2af1ca3 Compare November 5, 2026 23:08
@cernadasjuan
cernadasjuan merged commit 8696d5f into master Nov 5, 2026
3 of 4 checks passed
@cernadasjuan
cernadasjuan deleted the fix/ci-github-secrets branch November 5, 2026 23:11
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.

1 participant