Skip to content

[stable33] test: sign with pkcs12 certificate#7045

Merged
vitormattos merged 3 commits intostable33from
backport/7044/stable33
Mar 2, 2026
Merged

[stable33] test: sign with pkcs12 certificate#7045
vitormattos merged 3 commits intostable33from
backport/7044/stable33

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #7044

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]>
Signed-off-by: Vitor Mattos <[email protected]>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Mar 1, 2026
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (33) milestone Mar 1, 2026
@vitormattos vitormattos merged commit 81636ed into stable33 Mar 2, 2026
63 checks passed
@vitormattos vitormattos deleted the backport/7044/stable33 branch March 2, 2026 02:39
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant