Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
damienleger opened this issue Apr 20, 2021 · 1 comment · Fixed by #860
Closed

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

damienleger opened this issue Apr 20, 2021 · 1 comment · Fixed by #860

Comments

@damienleger
Copy link
Contributor

damienleger commented Apr 20, 2021

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
@damienleger
Copy link
Contributor Author

I found the problem, the --encrypt arg is missing from the README. Here is the fix #860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant