nix copy should warn early if you forgot --no-check-sigs #1002

Open
opened 2025-10-03 19:12:38 +00:00 by vriska · 0 comments
Member

If nix copy is missing --no-check-sigs, this is only apparent at the end of copying. This is very frustrating when copying large closures.

Describe the solution you'd like

Ideally, it would fail early as soon as it tries to copy an untrusted derivation.

Describe alternatives you've considered

An alternative that would likely be easier to implement would be to warn if the path being copied doesn't have any signatures on the source.

## Is your feature request related to a problem? Please describe. If `nix copy` is missing `--no-check-sigs`, this is only apparent at the end of copying. This is very frustrating when copying large closures. ## Describe the solution you'd like Ideally, it would fail early as soon as it tries to copy an untrusted derivation. ## Describe alternatives you've considered An alternative that would likely be easier to implement would be to warn if the path being copied doesn't have any signatures on the source.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#1002
No description provided.