Skip to content

no error when adding sops key to YAML file with sops edit #2093

@landure

Description

@landure

I've used sops edit file.yaml to create a YAML file like:

# file.yaml
sops: "something"

After saving the change, sops is unable to decrypt the file: it complains of two sops keys in the YAML.

Please add a check for reserved key names to SOPS, and prevent saving a file with an illegal key name (sops).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions