Release 4.2.4 for the ownCloud 10.16.5 line (needs legacy G1 signing)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start at the current 4.2 tip and read the Makefile release path, appinfo/info.xml, and CHANGELOG.md. Run make dist to produce build/dist/richdocuments.tar.gz, then use the documented occ integrity:sign-app command with the legacy G1 key and upload the signed artifact to the marketplace. Done means the artifact is published as Collabora Online and v4.2.4 is tagged.
由索引模型根据 Issue 内容生成。
描述
@timar — a 4.2.4 release is necessary for the ownCloud 10.16.5 line, and it needs the legacy
G1 signing key, which we do not hold. Could Collabora cut and sign it?
Why it is needed
PR #621 on the 4.2 branch makes the editor only navigate to a validated absolute http(s)
return URL, and narrows the origin WOPI post messages are exchanged with. It is in no released
version: v4.2.3 was tagged 2026-05-18 and #621 landed after it. ownCloud 10.16.5 is upcoming,
so the 4.2 line needs a release to carry it.
What is already prepared
- #640 is merged:
appinfo/info.xmlon4.2reads4.2.4andCHANGELOG.mdhas its
[4.2.4]section (the fix above plus the dependency, test-harness and build work since 4.2.3). - The branch is green, and no
v4.2.4tag exists yet. - #642 removes the release workflow from
4.2— see below for why — so a tag on this branch will
not produce a wrong artifact.
Why we cannot cut it ourselves
ownCloud 10 and 11 use different code-signing generations, and we only have a G2 key:
| envelope | trust store | |
|---|---|---|
| oc10 | {hashes, signature, certificate} — legacy G1 |
single resources/codesigning/root.crt |
| oc11 | {v, alg, hashes, signature, certificates} — G2 |
roots/root-g{1,2}.crt + intermediates/ |
10.16's lib/private/IntegrityCheck/Checker.php reads certificate in the singular and has no
code path for a v/certificates envelope, nor for the ECDSA P-384 signature G2 uses. Our CI
release workflow signs with ocsign, which emits G2 only (--path --key --cert --chain --core --allow-vcs --out --dry-run — no legacy mode).
Demonstrated with a controlled pair rather than a single data point — same command, two
envelope generations, two servers:
| artifact | oc10 server:10.16.4 |
oc11 server:11.0.0 |
|---|---|---|
4.2.3 marketplace build — G1 envelope, max-version="10" |
exit 0, no findings | exit 0, no findings |
4.3.1 release build — G2 envelope, min/max-version="11" |
exit 1 (below) | exit 0, no findings |
$ php occ integrity:check-app richdocuments # G2 artifact, oc10 10.16.4
Undefined index: certificate at /var/www/owncloud/lib/private/IntegrityCheck/Checker.php#353
- EXCEPTION:
- class: OC\IntegrityCheck\Exceptions\InvalidSignatureException
- message: App Certificate is not valid.
exit=1
The top row matters: an app declaring max-version="10" verifies fine on 11.0.0, so
integrity:check-app does not consult platform compatibility — the failure is the envelope
format, not a version rejection. The failing cell is the only one, and it fails at the line that
reads certificate.
For reference, the marketplace
tarball for 4.2.3 carries a legacy G1 envelope signed by a CN=richdocuments leaf issued by
ownCloud Code Signing Intermediate Authority, valid until 2027-04-24 — that is the key needed
here.
The ask
From the current 4.2 tip:
make dist— producesbuild/dist/richdocuments.tar.gz(167 entries; builds cleanly in
owncloudci/php:8.3,composer install --no-devhonours theconfig.platform.php: 7.3lock)- sign it with the legacy G1
richdocumentskey — the Makefile's own path,
occ integrity:sign-app --privateKey=… --certificate=… --path=… - upload to the marketplace, where the app is published as "Collabora Online" (currently 4.2.3)
The v4.2.4 tag is yours to push, or we can push it once the artifact exists — whichever you
prefer. Happy to help with anything on the ownCloud side.
/cc @DeepDiver1975
- 主要语言
- JavaScript
- 星标
- 120
- 派生
- 54
- 平均合并
- 2 小时 47 分钟
- 30 天内合并 PR
- 18
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
HarperFast/rocksdb-js#1131 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
anothaDev/luci-theme-vantage#137 ·
维护者通常 1 天内回复
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
难度 1/5 1 小时以内 新手友好度 88/100
wso2/api-platform#4369 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
melodic-software/claude-code-plugins#17374 · 2 条评论 ·
维护者通常 1 天内回复