Skip to content

test: sign with pkcs12 certificate#7044

Merged
vitormattos merged 3 commits intomainfrom
test/sign-with-pkcs12-certificate
Mar 1, 2026
Merged

test: sign with pkcs12 certificate#7044
vitormattos merged 3 commits intomainfrom
test/sign-with-pkcs12-certificate

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

Add deleteUserPfx() to playwright/support/nc-provisioning.ts to send
DELETE /ocs/v2.php/apps/libresign/api/v1/account/pfx authenticated
as the target user. This ensures tests that require the certificate
creation flow always start from a clean state.

Signed-off-by: Vitor Mattos <[email protected]>
Add e2e test covering the full flow where a user signs a document
using a PKCS#12 certificate generated by herself:
- configure OpenSSL root certificate
- enable password signature method
- delete any existing PFX to guarantee the create-password step appears
- upload PDF, add signer, request signatures
- create password on first sign attempt
- sign the document with the created password
- assert document validity on the validation page

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added this to the Next Major (34) milestone Mar 1, 2026
@vitormattos vitormattos self-assigned this Mar 1, 2026
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Mar 1, 2026
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable33

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos merged commit 188d007 into main Mar 1, 2026
69 checks passed
@vitormattos vitormattos deleted the test/sign-with-pkcs12-certificate branch March 1, 2026 20:32
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Mar 1, 2026
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant