getsops / getsops/sops

Error: cannot parse "'2020-09-01T20:41:15Z'" as "2006"

Open
#814 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

When running the following:

 sops --decrypt --input-type dotenv --output-type dotenv cloudbuild.bdt-eng-stage.enc.envs

I get:

parsing time "'2020-09-01T20:41:15Z'" as "2006-01-02T15:04:05Z07:00": cannot parse "'2020-09-01T20:41:15Z'" as "2006"

Can't figure out what I'm doing wrong

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented sops --decrypt command with cloudbuild.bdt-eng-stage.enc.envs and inspect where the timestamp is parsed. No source file or test is named; done should mean the cause of the parsing error is established and the command's expected handling is covered by a fix or clear guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.