-
-
Notifications
You must be signed in to change notification settings - Fork 813
Checksum pinning #2222
Copy link
Copy link
Labels
area: includesChanges related to included taskfiles.Changes related to included taskfiles.area: remoteChanges related to remote taskfiles.Changes related to remote taskfiles.
Metadata
Metadata
Assignees
Labels
area: includesChanges related to included taskfiles.Changes related to included taskfiles.area: remoteChanges related to remote taskfiles.Changes related to remote taskfiles.
Type
Fields
Give feedbackNo fields configured for feature.
Description
As discussed in #1317 (comment), there is currently no way to pin checksums of included taskfiles. This issues tracks this feature request.
Pinning would allow users to ensure the contents of their Taskfiles are constant and trusted by performing a checksum hash on the file before reading it and comparing it to a given checksum in the
includeblock of the parent Taskfile. For example:This example requires the Remote Taskfiles experiments to be enabled. However, this will work for local files too. In this example, we would no longer get prompted to check if we trust the contents of the file as we have already verified its contents by providing a checksum.