Skip to content

Commit

Permalink
fix: warn about untrusted execution in a remote
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-monch committed Dec 18, 2024
1 parent bc2caf8 commit 8ea0dd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datalad_remake/annexremotes/remake_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ def transfer_retrieve(self, key: str, file_name: str) -> None:
)
if get_allow_untrusted_execution(dataset_id):
trusted_key_ids = None
lgr.warning(
'datalad remake remote performs UNTRUSTED execution'
)
else:
trusted_key_ids = get_trusted_keys()

Expand Down

0 comments on commit 8ea0dd8

Please sign in to comment.