Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

0.0.6 merge: Compare hashes before installing DNA #1093

Merged
merged 6 commits into from
Mar 8, 2019

Conversation

maackle
Copy link
Collaborator

@maackle maackle commented Mar 7, 2019

Adds optional expected_hash parameter to admin/dna/install_from_file, which will fail installation if the hash of the DNA produced from the file does not match expected hash. If expected_hash is not passed, the DNA will be installed with no hash check.

TODO: do the same for UI, although we need to decide how UIs should be reliably hashed first

  • I propose this isn't necessary to put in the changelog

@maackle maackle changed the title Compare hashes before installing DNA [WIP] Compare hashes before installing DNA Mar 7, 2019
@maackle maackle changed the title [WIP] Compare hashes before installing DNA Compare hashes before installing DNA Mar 7, 2019
lucksus
lucksus previously requested changes Mar 7, 2019
Copy link
Collaborator

@lucksus lucksus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also get an update of the rustdoc above fn with_admin_dna_functions mentioning this new parameter? Also, the changelog should be updated.

@Connoropolous Connoropolous changed the title Compare hashes before installing DNA 0.0.6 merge: Compare hashes before installing DNA Mar 7, 2019
@Connoropolous Connoropolous dismissed lucksus’s stale review March 7, 2019 21:16

changes were addressed, and Nico is unavailable at the moment

@maackle maackle merged commit 5000b42 into develop Mar 8, 2019
@Bortseb Bortseb removed the review label Mar 8, 2019
@maackle maackle deleted the verify-before-installation branch March 8, 2019 00:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants