Skip to content

Use the default eID Easy signing baseline - #255

Open
AndreyGrin wants to merge 1 commit into
NYLLON-SOFTWARE:mainfrom
AndreyGrin:codex/eideasy-use-default-signing-baseline
Open

AndreyGrin wants to merge 1 commit into
NYLLON-SOFTWARE:mainfrom
AndreyGrin:codex/eideasy-use-default-signing-baseline

Conversation

@AndreyGrin

@AndreyGrin AndreyGrin commented Nov 23, 2026 •

Copy link
Copy Markdown

Why this is needed

The eID Easy adapter currently sends baseline: "T" when preparing the detached CAdES signature. Staging accepts the preparation request, but rejects the Mobile-ID signing step with HTTP 400 and the message “Only e-Seal is currently allowed for BASELINE-T”.

Removing the override lets eID Easy use its LT default for this request. The signing API treats the requested baseline as best effort, so the resulting baseline depends on the signing method and available validation data. The direct e-sealing guide documents the separate CAdES Baseline T e-seal profile. eID Easy signing API guide · eID Easy direct e-sealing guide

Staging results

I ran the upstream adapter against test.eideasy.com with a synthetic PDF and the published Mobile-ID demo identity. eID Easy test environment · Mobile-ID test instructions

Prepare request Signing result Baseline reported by staging
baseline: "T" HTTP 400 when signing starts No signature
baseline: "LT" Completed Requested LT, verified T
baseline omitted Completed Requested LT, verified T

For both successful cases, SignuDoc retrieved the timestamped CAdES signature, passed its CMS checks with the demo certificate, and embedded the signature in the PDF. I verified that the final PDF's ByteRange matched the signed digest. Signing was driven through the staging API. The hosted page loaded, and the browser callback into a running SignuDoc app remains unverified.

Local checks

  • All 7 signing-provider tests passed.
  • npm run typecheck, npm run lint, and npm run format:check completed successfully. Lint reported 8 warnings in files outside this diff.

Note

Remove hardcoded baseline: "T" from eID Easy signing requests

The createEidEasyProvider factory in signing-providers.ts no longer sends the baseline field to the eID Easy prepare-files-for-signing endpoint. eID Easy now uses its default signing baseline. Risk: signature output levels (B-T, B-LT) may differ for eID Easy signatures; check eID Easy account defaults if a specific baseline is required.

Macroscope summarized 12f8874.

@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@AndreyGrin is attempting to deploy a commit to the Basic Intelligence Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The change appears safe to merge.

Summary

Removes baseline: "T" from the eID Easy preparation request so the provider chooses its default.

  • eID Easy now uses its default baseline for CAdES signing requests.

Reviews (1) · Last reviewed commit: "Use the default eID Easy signing baselin..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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