Skip to content

sops.Encrypt takes its config as an input, not by locating it #1204

Open

Description

@David-Noble-at-work

Area

Product

What

encryption.EncryptFile reads the SOPS config while planning, through sops.locate → xdg.ConfigPath, which cost it the sandboxed claim. Under the rule of #1202, the config is supplied to sops.Encrypt instead of located by it, and encryption.EncryptFile claims sandboxed again. Waits on #1202.

Evidence of completion

Before this issue closes, a comment on it shows encryption.EncryptFile claiming sandboxed with the config supplied, and links the pull request.

Plan and design documents

Kind Document
Plan Not yet opened
Related #694, the feature; #677, the claims that surfaced it; #530, hermeticity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions