VMware Cloud Community
darkdragon001
Enthusiast
Enthusiast

[BUG] ovftool produces invalid manifest file (.mf)

According to the ovf specification [1] section 5.1:

"The manifest file shall contain SHA digests for all distinct files referenced in the References element of the OVF descriptor and for no other files."

The problem is that ovftool includes SHA digest for the ovf file itself which is of course not referenced in the References element within itself. I think ovftool should behave according to the specification and remove calculation of this digest.

[1] https://www.dmtf.org/sites/default/files/standards/documents/DSP0243_2.1.1.pdf

Reply
0 Kudos
1 Reply
darkdragon001
Enthusiast
Enthusiast

Another problem are filenames produced by ovftool. When the VM name includes a closing bracket ")", it is misunderstood when parsing the manifest file since it is used as a delimiter for the filename. Invalid characters could be replaced by underscores "_" like you do with spaces.
Reply
0 Kudos