devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 101 forks source link

checksum verification prevents intellij plugin installation #1283

Closed hohwille closed 1 year ago

hohwille commented 1 year ago

Expected behavior

As a devonfw-ide user, I want to setup my IDE automatically including intellij plugins so that I can directly jump-start into the project.

Actual behavior

The setup fails with the following error:

Success: verify installation of intellij (head)
Trying to download intellij-plugin-IU-231.9011.34-EclipseCodeFormatter from https://plugins.jetbrains.com/pluginManager?action=download&id=EclipseCodeFormatter&build=IU-231.9011.34
Artifact already exists at /c/Users/hohwille/Downloads/devonfw-ide/intellij-plugin-IU-231.9011.34-EclipseCodeFormatter
To force update please delete the file and run again.
cat: /d/projects/test/urls/intellij-plugin-IU-231.9011.34-EclipseCodeFormatter///_.urls.sha256: No such file or directory

******** ATTENTION ********
Downloaded file has the wrong checksum!
Expected
Download dc9736cefe20e88ee840b3be3b3165219ecf7abab056b64f28771b2718aa9af6
This could be a man-in-the-middle-attack, a download failure, or a release that has been updated afterwards.
Please review carefully.
Expected checksum can be found at .sha256.
Actual checksum was computed via sha256sum /c/Users/hohwille/Downloads/devonfw-ide/intellij-plugin-IU-231.9011.34-EclipseCodeFormatter
Installation was aborted for security reasons!
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. configure an active intellij plugin in your settings
  2. setup a new IDE with this setup
  3. if not already done automatically, trigger the intellij installation (devon intellij setup)

Related/Dependent Issues

Comments/Hints:

This is currently blocking the automated setup in some projects so it should be fixed asap.

Affected version: