Skip to content

Disallow CA paths from referring to non-CA paths #6301

Open
@edolstra

Description

Currently CA paths can refer to non-CA paths:

$ nix path-info --json /nix/store/ap2nhrpfjin5ng881mgl4pmrzmsp6cj0-patchelf-0.13 | jq .[].ca
"fixed:r:sha256:1i4ygjm0jax3q3gcayv9g1mff0711xyfg87in8l4m0rbqyss5rcn"

$ nix path-info --json -r /nix/store/ap2nhrpfjin5ng881mgl4pmrzmsp6cj0-patchelf-0.13 | jq .[].ca
null
"fixed:r:sha256:1i4ygjm0jax3q3gcayv9g1mff0711xyfg87in8l4m0rbqyss5rcn"
null
null
null

This seems like an undesirable property, since it means that a top-level CA path does not "lock" its dependencies.

@thufschmitt What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions