fix: use phpseclib3 namespace for X509 after server phpseclib upgrade - #979
Conversation
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 2 reviews per rolling hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe archive fetcher updates its X509 class import from Merge Risk: ⚪ Minimal · up to This localized namespace update restores ExApp install and update compatibility with the upgraded server dependency; no actionable merge-blocking risk remains beyond completing the normal PHP checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Nextcloud server master upgraded phpseclib from v2 to v3 (nextcloud/server#48183), so the class is now
phpseclib3\File\X509. This breaks every appstore-sourced ExApp install/update on NC35 withClass "phpseclib\File\X509" not found.The X509 methods used here are unchanged between v2 and v3, so this is only the namespace rename, same as server did in
lib/private/Installer.php. Main only, stable branches still ship phpseclib v2.Fixes #978