Skip to content

Re-verify artifact hashes when reading from caches / sending over the network #767

Closed

Description

@iliana

By the point the artifacts end up in these places, we've verified that they were not tampered with. But adding more checksum verification to what will be an already-slow process doesn't hurt and can help us prevent writing bad data to devices in case of bit flips.

  • Nexus should re-verify artifact hashes when reading from its cache.
  • Nexus should tell Sled Agent the sha256 checksum of an artifact when it tells it to download and apply it, and Sled Agent should verify that on download.

(From #717)

Activity

  1. added
    Sled Agent
    nexus
    Update System
    on Mar 15, 2022
  2. iliana commented on Mar 4, 2025

    @iliana
    CollaboratorAuthor

    This issue was opened against the old repo upload endpoint, but its concern has been resolved; Sled Agent verifies artifacts before writing them to its artifact store. The presumption is that the artifacts do not need to be re-verified on read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sled AgentUpdate Systemnexus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions