Skip to content

Conversation

@chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Sep 12, 2025

Closes #5156

Importantly this solves the issue to use SHA-256 for checksum in addition to md5 to solve the Eclipse warning like "The digest algorithms (md5) used to verify ...jar have severely compromised security. Please report this concern to the artifact provider." (#5156 )

Note: This PR is identical to (successor of) #6777 but this time created inside bndtools organization. This is needed so that we can use gpg variables for the P2 Signing

@chrisrueger chrisrueger force-pushed the 6777-p2export-for-org.bndtools.p2 branch from ac557cf to 01c0ef2 Compare September 16, 2025 16:32
@chrisrueger chrisrueger force-pushed the 6777-p2export-for-org.bndtools.p2 branch from 05ed7e5 to c403602 Compare September 16, 2025 19:28
@chrisrueger chrisrueger force-pushed the 6777-p2export-for-org.bndtools.p2 branch from c403602 to 1335630 Compare September 17, 2025 22:01
- use bnd's own P2Export https://bnd.bndtools.org/plugins/p2export.html for bnd itself
the goal is to replace the veery old way of building the p2 artifact and use bnd itself.

Importantly this solves the issue to use SHA-256 for checksum in addition to md5 to solve the Eclipse warning like "The digest algorithms (md5) used to verify ...jar have severely compromised security. Please report this concern to the artifact provider."

- remove old p2 feature.xml files

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>

Update bndtools.ecf.feature.bndrun

Added reasonable version ranges for ecf features

Signed-off-by: Scott Lewis <scottslewis@gmail.com>

prepare p2 signing

Step1: no signing (sign=false) but prepare the usage of environment variables , which might come from the GH Action workflow later.
e.g. setting `P2_SIGN=true` env var enables the signing

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger force-pushed the 6777-p2export-for-org.bndtools.p2 branch from 1335630 to 0a2942d Compare September 18, 2025 12:54
@chrisrueger chrisrueger merged commit d40a5a8 into master Sep 18, 2025
19 checks passed
@chrisrueger chrisrueger deleted the 6777-p2export-for-org.bndtools.p2 branch September 18, 2025 14:08
@chrisrueger
Copy link
Contributor Author

chrisrueger commented Sep 18, 2025

I will keep an eye on it and revert if there is something wrong. I will focus on the setup of P2 PGP Signing in a separte PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

org.bndtools.p2: Update the build for the p2 repository to replace md5 checksum

2 participants