Skip to content

.NET RPM packages are failing FIPS verification #95759

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

FIPS verification is failing for .NET packages. Creating the issue in runtime repo, for tracking - however aspnetcore and installer repos are also affected.

This seems to be related to MD5 digest which is used by default by fpm tooling. See the following similar issue in another RPM package: influxdata/telegraf#10270 (comment) and the fix: influxdata/telegraf#10272

$ sudo dnf install powershell -y
Dependencies resolved.
========================================================================================================================================================================================================================================================================================
 Package                                                                    Architecture                                              Version                                                       Repository                                                                     Size
========================================================================================================================================================================================================================================================================================
Installing:
 powershell                                                                 x86_64                                                    7.4.0-1.cm                                                    mariner-official-microsoft                                                     36 M
Installing dependencies:
 dotnet-host                                                                x86_64                                                    8.0.0-1                                                       mariner-official-microsoft                                                     50 k
 dotnet-hostfxr-8.0                                                         x86_64                                                    8.0.0-1                                                       mariner-official-microsoft                                                    134 k
 dotnet-runtime-8.0                                                         x86_64                                                    8.0.0-1                                                       mariner-official-microsoft                                                     30 M
 dotnet-runtime-deps-8.0                                                    x86_64                                                    8.0.0-1                                                       mariner-official-microsoft                                                    8.5 k
 
Transaction Summary
========================================================================================================================================================================================================================================================================================
Install  5 Packages
 
Total download size: 65 M
Installed size: 163 M
Downloading Packages:
(1/5): dotnet-hostfxr-8.0-8.0.0-1.x86_64.rpm                                                                                                                                                                                                            1.0 MB/s | 134 kB     00:00
(2/5): dotnet-host-8.0.0-1.x86_64.rpm                                                                                                                                                                                                                   375 kB/s |  50 kB     00:00
(3/5): dotnet-runtime-deps-8.0-8.0.0-1.x86_64.rpm                                                                                                                                                                                                        24 kB/s | 8.5 kB     00:00
(4/5): dotnet-runtime-8.0-8.0.0-1.x86_64.rpm                                                                                                                                                                                                             11 MB/s |  30 MB     00:02
(5/5): powershell-7.4.0-1.cm.x86_64.rpm                                                                                                                                                                                                                  13 MB/s |  36 MB     00:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                    22 MB/s |  65 MB     00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                                                1/1
  Installing       : dotnet-runtime-deps-8.0-8.0.0-1.x86_64                                                                                                                                                                                                                         1/5
Error unpacking rpm package dotnet-runtime-deps-8.0-8.0.0-1.x86_64
  Installing       : dotnet-host-8.0.0-1.x86_64                                                                                                                                                                                                                                     2/5
error: unpacking of archive failed on file /usr/share/doc/dotnet-runtime-deps-8.0/copyright;6570aceb: cpio: Digest mismatch
error: dotnet-runtime-deps-8.0-8.0.0-1.x86_64: install failed
 
Error unpacking rpm package dotnet-host-8.0.0-1.x86_64
  Installing       : dotnet-hostfxr-8.0-8.0.0-1.x86_64                                                                                                                                                                                                                              3/5
error: unpacking of archive failed on file /usr/share/doc/dotnet-host/copyright;6570aceb: cpio: Digest mismatch
error: dotnet-host-8.0.0-1.x86_64: install failed
 
Error unpacking rpm package dotnet-hostfxr-8.0-8.0.0-1.x86_64
  Installing       : dotnet-runtime-8.0-8.0.0-1.x86_64                                                                                                                                                                                                                              4/5
error: unpacking of archive failed on file /usr/share/doc/dotnet-hostfxr-8.0/copyright;6570aceb: cpio: Digest mismatch
error: dotnet-hostfxr-8.0-8.0.0-1.x86_64: install failed
 
Error unpacking rpm package dotnet-runtime-8.0-8.0.0-1.x86_64
  Installing       : powershell-7.4.0-1.cm.x86_64                                                                                                                                                                                                                                   5/5
error: unpacking of archive failed on file /usr/share/doc/dotnet-runtime-8.0/copyright;6570aceb: cpio: Digest mismatch
error: dotnet-runtime-8.0-8.0.0-1.x86_64: install failed

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions