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

RPM file uses MD5 file digest which is blocked on FIPS enabled systems #1705

Closed
2 tasks done
lm-sig opened this issue Apr 23, 2024 · 4 comments
Closed
2 tasks done

RPM file uses MD5 file digest which is blocked on FIPS enabled systems #1705

lm-sig opened this issue Apr 23, 2024 · 4 comments
Labels
blocked/upstream Blocked on upstream dependency completed completed

Comments

@lm-sig
Copy link

lm-sig commented Apr 23, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
The RPM file provided on the github releases page provides files with a MD5 file digest. RPM files built on RHEL or Fedora will create RPM files with a SHA256 file digest. When you attempt to install the drawio RPM file on a FIPS enabled RHEL system the RPM installation will fail.

To Reproduce
Steps to reproduce the behavior:

  1. dnf install -y ./drawio-x86_64-24.2.5.rpm
  2. "Error unpacking rpm package draw.io-24.2.5-1.x86_64"
  3. rpm -qp --qf "%{filedigestalgo}\n" ./drawio-x86_64-24.2.5.rpm
  4. Output is "(none)" which indicates MD5. RHEL or Fedora RPMs will output "8" for SHA256.

Expected behavior
Package installs when FIPS mode is enabled.

Please update your RPM builds to generate SHA256 file digests. You can verify it with the rpm -qp --qf "%{filedigestalgo}\n" command.

Screenshots

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.2.5

Desktop (please complete the following information):

  • OS: RedHat Enterprise Linux (RHEL) 8

Additional context
FIPS is a security mode on RHEL that disables algorithms such as MD5 that are now considered insecure.

@m-mohamedin m-mohamedin added the blocked/upstream Blocked on upstream dependency label May 3, 2024
@m-mohamedin
Copy link
Contributor

@m-mohamedin
Copy link
Contributor

The issue will be fixed in the next release
Thanks for the report

@davidjgraph
Copy link
Contributor

12.4.0.

@davidjgraph davidjgraph added the completed completed label May 13, 2024
@lm-sig
Copy link
Author

lm-sig commented May 13, 2024

Confirmed to be generated with a SHA256 digest. Thank you, all!

$ rpm -qp --qf "%{filedigestalgo}\n" ./drawio-x86_64-24.4.0.rpm
8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/upstream Blocked on upstream dependency completed completed
Projects
None yet
Development

No branches or pull requests

3 participants