Repository navigation
Use the default eID Easy signing baseline - #255
Open
AndreyGrin wants to merge 1 commit into
Open
AndreyGrin wants to merge 1 commit into
AndreyGrin wants to merge 1 commit into
Conversation
|
@AndreyGrin is attempting to deploy a commit to the Basic Intelligence Team on Vercel. A member of the Team first needs to authorize it. |
[Medium impact] The change appears safe to merge. SummaryRemoves
Reviews (1) · Last reviewed commit: "Use the default eID Easy signing baselin..." · Reviewed by Greptile |
This branch has not been deployed
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.
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
LTdefault 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 guideStaging results
I ran the upstream adapter against
test.eideasy.comwith a synthetic PDF and the published Mobile-ID demo identity. eID Easy test environment · Mobile-ID test instructionsbaseline: "T"baseline: "LT"baselineomittedFor 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
ByteRangematched 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
npm run typecheck,npm run lint, andnpm run format:checkcompleted successfully. Lint reported 8 warnings in files outside this diff.Note
Remove hardcoded
baseline: "T"from eID Easy signing requestsThe
createEidEasyProviderfactory in signing-providers.ts no longer sends thebaselinefield 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.