getsops / sops

Simple and flexible tool for managing secrets
https://getsops.io/
Mozilla Public License 2.0
15.77k stars 842 forks source link

encrypt & decrypt command format conflict #1541

Closed Minahhh666 closed 1 week ago

Minahhh666 commented 1 week ago

Hi I was trying to encrypt and decrypt files by following the instructions on readme using command like $ sops encrypt myfile.json $ sops decrypt myfile.json but it didn't work and turned out I have to use $ sops --encrypt myfile.json $ sops --decrypt myfile.json in order for it to work. FYI it was run on both Ubuntu and MacOS

felixfontein commented 1 week ago

See https://github.com/getsops/sops/discussions/1538, the README is for the current main branch version, subcommands are not available yet in a release.

felixfontein commented 1 week ago

SOPS 3.9.0 is now out, with that this now works: https://github.com/getsops/sops/releases/tag/v3.9.0