Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cool#9992 doc sign: set the view's sign cert from the WOPI UserPrivateInfo #10184

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

vmiklos
Copy link
Contributor

@vmiklos vmiklos commented Oct 7, 2024

To be able to sign documents, at least the 'local file' WOPI provider
sets 3 keys under UserPrivateInfo to give the wsd, and then the kit
process the signing certificate.

The other end is the core side, which takes 3 keys as a view options in
initializeForRendering().

What was missing is to connect these two: this way a 'make run' session
can sign documents without hardcoding cert/key/ca PEM files anywhere.

The integration side and cypress tests are not yet done here.

Signed-off-by: Miklos Vajna vmiklos@collabora.com
Change-Id: I1f847349e10336c69019c7f1747208e6be954362

…eInfo

To be able to sign documents, at least the 'local file' WOPI provider
sets 3 keys under UserPrivateInfo to give the wsd, and then the kit
process the signing certificate.

The other end is the core side, which takes 3 keys as a view options in
initializeForRendering().

What was missing is to connect these two: this way a 'make run' session
can sign documents without hardcoding cert/key/ca PEM files anywhere.

The integration side and cypress tests are not yet done here.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I1f847349e10336c69019c7f1747208e6be954362
@vmiklos vmiklos mentioned this pull request Oct 7, 2024
@vmiklos
Copy link
Contributor Author

vmiklos commented Oct 7, 2024

https://cpci.cbg.collabora.co.uk:8080/job/github_online_master_debug_vs_co-24.04_cypress_desktop/1424/console fails in:

│ ✖ writer/file_properties_spec.js 00:25 4 - 1 3 - │

But

make -C cypress_test check-desktop spec=writer/file_properties_spec.js

passes for me locally, retry.

@vmiklos vmiklos requested a review from caolanm October 7, 2024 09:18
@vmiklos
Copy link
Contributor Author

vmiklos commented Oct 7, 2024

@caolanm could you please review this? Thanks.

With this, the 'make run' case works for me, following the instructions at #9992 (comment). An actual integration still needs a bit of work, I see that we have an enable/disable flag for Zotero in the "capabilities", I need to look if that's relevant for signing.

Copy link
Contributor

@caolanm caolanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable to me

@caolanm caolanm merged commit 0c1cd8c into master Oct 7, 2024
14 checks passed
@caolanm caolanm deleted the private/vmiklos/master branch October 7, 2024 09:38
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.

2 participants