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

parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006" #585

Open
BloodStainedCrow opened this issue Jun 24, 2024 · 1 comment

Comments

@BloodStainedCrow
Copy link

I am following your Usage Example Section and when running nix-shell -p sops --run "sops secrets/firefly/.db.env",
I get the cryptic error: parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006".

This error might originate from sops itself.
Any help is hugely appreciated!

@Mic92
Copy link
Owner

Mic92 commented Jun 25, 2024

Looks like it doesn't like the lastmodified field of your encrypted file. This is what it looks like: https://github.com/Mic92/dotfiles/blob/9cbaa68b64bb584b30791d9297d5eef89fa2a99f/sops/secrets/alertmanager/secret#L22

Is .db.env actually an encrypted file?

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

No branches or pull requests

2 participants