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

Signed JARs may be modified during a native build #40000

Closed
gastaldi opened this issue Apr 10, 2024 · 1 comment · Fixed by #40001
Closed

Signed JARs may be modified during a native build #40000

gastaldi opened this issue Apr 10, 2024 · 1 comment · Fixed by #40001

Comments

@gastaldi
Copy link
Contributor

gastaldi commented Apr 10, 2024

Describe the bug

While working in quarkiverse/quarkus-jgit#121, I noticed that Quarkus performs a filtering in the project dependencies, which in some cases may be a signed JAR, failing the build with a SecurityException (see quarkiverse/quarkus-jgit#121 (comment))

Expected behavior

Do not modify signed JARs files or if modified, unsign them

Actual behavior

The JAR is modified and the build fails with a SecurityException

How to Reproduce?

See quarkiverse/quarkus-jgit#121 (comment)

Output of uname -a or ver

macOS m1

Output of java -version

JDK 17

Mandrel or GraalVM version (if different from Java)

No response

Quarkus version or git rev

3.9.2

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.6

Additional information

No response

@gastaldi gastaldi added kind/bug Something isn't working area/native-image labels Apr 10, 2024
Copy link

quarkus-bot bot commented Apr 10, 2024

/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel,native-image)

@quarkus-bot quarkus-bot bot added the env/m1 Impacts Apple M1 machines label Apr 10, 2024
@gastaldi gastaldi added area/build area/core and removed env/m1 Impacts Apple M1 machines labels Apr 10, 2024
gastaldi added a commit to gastaldi/quarkus that referenced this issue Apr 11, 2024
@quarkus-bot quarkus-bot bot added this to the 3.11 - main milestone Apr 17, 2024
@gsmet gsmet modified the milestones: 3.11 - main, 3.9.4 Apr 17, 2024
@gsmet gsmet modified the milestones: 3.9.4, 3.8.5 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants