refactor: extract PKCS#12 credentials to separate interface - #8358
refactor: extract PKCS#12 credentials to separate interface#8358Rolf39 wants to merge 2 commits into
Conversation
|
Also check the DCO issue: |
|
Done! I updated the namespace to |
7732c9a to
8f76f9d
Compare
|
Done, aligned with project conventions and signed-off. |
vitormattos
left a comment
There was a problem hiding this comment.
Thanks for the updates. There are several failing checks now, but many of them seem to be cascading from the same issue rather than being separate problems.
The namespace in IPkcs12SignEngineHandler.php is still not correct. Since the file is located at:
lib/Handler/SignEngine/IPkcs12SignEngineHandler.php
the namespace should be:
OCA\Libresign\Handler\SignEngine
It is currently:
OCA\Libresign\SignEngine\Handler
Because of this, Composer reports that the class does not follow the PSR-4 autoloading rules and skips it. Then other checks fail when LibreSign tries to load the interface, for example with:
Interface "OCA\Libresign\SignEngine\Handler\ISignEngineHandler" not found
This is also why some larger workflows, such as the Playwright tests, fail during setup before the actual tests can run.
I suggest fixing this namespace first and then letting CI run again. After that, we can check whether there are any remaining code failures that need separate fixes.
There are also two separate Git history checks that still need attention: the DCO sign-off and the commit that does not follow the Conventional Commits format. Those are independent from this code issue.
|
Done, updated the namespace and merged main branch into this PR. |
|
The namespace is correct now, thanks. There are still two blocking issues:
Since you need to rewrite the commit history anyway, please also prefer rebasing on Please check the failing workflows and update the branch accordingly. |
33ada3d to
32dc58e
Compare
Signed-off-by: Rolf39 <ahmedrolf39@gmail.com>
84214e5 to
87ef6b1
Compare
|
Hi @vitormattos, I have updated SignFileService to use IPkcs12SignEngineHandler and fixed the commit formatting along with the DCO sign-off. Could you please take another look? Thank you! |
|
Hi @vitormattos, I have updated SignFileService to use
IPkcs12SignEngineHandler and fixed the commit formatting along with the DCO
sign-off. Could you please take another look? Thank you!
Le sam. 12 sept. 2026, 22:00, Vitor Mattos ***@***.***> a
écrit :
… *vitormattos* left a comment (LibreSign/libresign#8358)
<#8358 (comment)>
The namespace is correct now, thanks.
There are still two blocking issues:
1.
Static analysis is failing because SignFileService still uses
ISignEngineHandler while calling PKCS#12-specific methods such as
readCertificate() and setCertificate(). Please update those type
declarations to use the correct interface.
2.
The Conventional Commits check is still failing because of the commit:
complete libresign task Closes #8358
Since you need to rewrite the commit history anyway, please also prefer
rebasing on main instead of merging main into the PR branch. This avoids
unnecessary merge commits and keeps the history easier to review.
Please check the failing workflows and update the branch accordingly.
—
Reply to this email directly, view it on GitHub
<#8358?email_source=notifications&email_token=CODCZYIPUQVWLOQIZQEKQ335OW2PVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNRUHA3DKOBWGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5648658623>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CODCZYIEU5WJPBNHYIUA6VL5OW2PVAVCNFSNUABFKJSXA33TNF2G64TZHMZDSMBSGQYTQMJWHNEXG43VMU5TKNBRHE3TQMRRHAYKC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CODCZYIXUHZA4FPMNLRLBEL5OW2PVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNRUHA3DKOBWGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/CODCZYJATWLH4BUNUMDWRV35OW2PVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNRUHA3DKOBWGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Refactored PKCS#12 credential handling methods into a dedicated
IPkcs12SignEngineHandlerinterface to separate concerns fromISignEngineHandler.📋 Checklist
🤖 AI