sops icon indicating copy to clipboard operation
sops copied to clipboard

Fix #881 (#464): Added JSON encoder to disable escaping html symbols

Open Moskovych opened this issue 4 years ago • 15 comments

Fixes #881 Fixes #464

Moskovych avatar Jun 08 '21 11:06 Moskovych

@felixfontein , @autrilla , could you please review PR and approve builds? Any additional changes are required? More tests? Functionality is not changed - as you said, output file is semantically the same.

Moskovych avatar Jun 11 '21 09:06 Moskovych

A test for this would be nice to have

autrilla avatar Jun 11 '21 10:06 autrilla

@autrilla A test for this would be nice to have

Ok, will work on it.

Moskovych avatar Jun 11 '21 10:06 Moskovych

Hmmm, looks like the tests are broken

autrilla avatar Jun 11 '21 10:06 autrilla

@autrilla , and looks like it's pgp one, which I didn't changed.

Moskovych avatar Jun 11 '21 10:06 Moskovych

I can't proceed with adding new tests as existing are not working properly (see #882)

Moskovych avatar Jul 22 '21 08:07 Moskovych

hi guys we have the same issue, any updates here ?

tanandy avatar Dec 01 '21 16:12 tanandy

@tanandy , sorry for delaying, but this PR still require unit test to be covered. I'll try to add them asap.

Moskovych avatar Dec 06 '21 09:12 Moskovych

@ajvb @autrilla Can you please release this? We are also facing similar issue

akshaypatidar1999 avatar Sep 26 '22 08:09 akshaypatidar1999

Still blocked by #977.

Moskovych avatar Apr 26 '23 13:04 Moskovych

Have you tried one of the keys from this history tree? https://github.com/getsops/sops/commits/main/pgp/sops_functional_tests_key.asc

hiddeco avatar Jul 28 '23 15:07 hiddeco

@hiddeco , thanks for pointing me out, but correct me if I'm wrong: to fix the tests: stores/json/store_test.go I need to decrypt the file: stores/json/test_resources/example.json where it contains aws kms key (for which I don't have access) or gpg E5297818703249D0C60E19E6824612478D1A4CCD

From what I see, there are no such key (the last one, gpg), even in history of repository.

Did I missed something?

Moskovych avatar Jul 29 '23 15:07 Moskovych

stores/json/test_resources/example.json isn't used in the tests.

felixfontein avatar Sep 16 '23 12:09 felixfontein

@felixfontein , github workflows are not running without any approvals. Can you help with it?

Moskovych avatar Sep 18 '23 15:09 Moskovych