Skip to content

"sops metadata not found" when encrypting with age #859

@damienleger

Description

@damienleger

Hello,

I'm testing sops but can't reproduce the encrypting with age example of the README
Can you help please?
I tried to play with SOPS_AGE_RECIPIENTS and SOPS_AGE_KEY_FILE environment variables unsuccessfully as well.

$ sops --version
sops 3.7.1 (latest)
$ age --version
v1.0.0-rc.1
$ age-keygen --version
v1.0.0-rc.1
$ age-keygen -o key.txt
Public key: age1pstt8u76vtg38rl2768d7y4q6nm6esddtd2zzshy3yfg24a2p55syvcyjg
$ echo 'key: value' > test.yaml
$ cat test.yaml
key: value
$ sops --age age1pstt8u76vtg38rl2768d7y4q6nm6esddtd2zzshy3yfg24a2p55syvcyjg test.yaml > test.enc.yaml
sops metadata not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions