Skip to content

SOPS_AGE_KEY doesn't accept space separated keys #1361

@airone-x1

Description

@airone-x1

SOPS_AGE_KEY environment variable accept mutiples keys but thoses keys must be separated by new line. As an environment variable it would be more convenient to accept also any "whitespace" separator.

It's OK with :

$ export SOPS_AGE_KEY=$(cat age1.key age2.key)

But it's not OK with

$ export SOPS_AGE_KEY="AGE-SECRET-KEY-xxxxxxxxx  AGE-SECRET-KEY-yyyyyyyyy"

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