Skip to content

Verify DID of incoming package during an update#441

Draft
johnbillion wants to merge 3 commits intofairpm:release_1.4.0from
johnbillion:verify-did-during-update
Draft

Verify DID of incoming package during an update#441
johnbillion wants to merge 3 commits intofairpm:release_1.4.0from
johnbillion:verify-did-during-update

Conversation

@johnbillion
Copy link
Contributor

Fixes #440 by finding and validating the DID in the incoming package during an update.

The upgrader_source_selection hook at priority 9 means it fires just before FAIR\Packages\move_package_during_install() so all the logic there gets bypassed if the DID is not valid.

Similarly to the signature verification, this halts the update process if the DID verification fails.

Steps to test

...

Signed-off-by: John Blackbourn <john@johnblackbourn.com>
Signed-off-by: John Blackbourn <john@johnblackbourn.com>
@github-actions
Copy link
Contributor

Signed-off-by: John Blackbourn <john@johnblackbourn.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant