Skip to content

proxmox_virtual_environment_file checksum - add support for SHA512 and/or others #1623

Closed as not planned
@piratecarrot

Description

@piratecarrot

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
When getting specific resources from online sources, such as the Debian cloud images, they provide only SHA512 checksums.

Arch Linux with its PKGBUILD system has something similar where one or more different checksums of varying algorithms can be stated. https://wiki.archlinux.org/title/PKGBUILD Section 8 "Integrity".

I would like to see, checksum remain which defaults to SHA256 and porovides backward compatibility. In addition, add new optional fields:

  • sha512sum
  • b2sum
    and add more as they become requested or supported.

Describe alternatives you've considered
As a workaround I currently download the file locally, check the integrity using SHA512. If it passes, computer the SHA256 and use that within Terraform.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions