Adrian Utrilla
8541e26f7a
Fix data key retrieval bug with 1 key group
...
This happened when there's multiple master keys inside a single key
group. SOPS would decrypt the data key with every single key in the
group, when only one is needed. This meant that multiple "parts" are
found, so because SOPS encountered != 1 part without using Shamir, it
errored out.
2017-09-11 10:14:41 -07:00
Adrian Utrilla
be4a35e7f5
Fix shamir tests
2017-08-25 13:12:34 -07:00
Adrian Utrilla
2c30afdc5a
Added functional tests for shamir secret sharing
2017-05-26 22:29:57 +02:00
Adrian Utrilla
706888c2ac
Added functional test checking decryption of files with no MAC
2017-03-13 15:27:32 +01:00
Adrian Utrilla
6e6068de16
Allow decrypting files with no MAC
...
Fixes #195
2017-02-04 17:01:40 +01:00
Adrian Utrilla
075aa2f7ac
Added tests
...
- Unit test for inserting or updating a tree branch
- Functional tests for using --set to insert or update yaml and json files
2016-11-20 01:17:20 +01:00
Adrian Utrilla
0b3d74ca58
Just deserialize everything to YAML values
2016-11-14 01:51:10 +01:00
Adrian Utrilla
822d974ebd
Run functional tests on TravisCI
2016-11-13 22:31:28 +01:00
Adrian Utrilla
16f48eb2d2
Added YAML encryption test
2016-11-13 19:19:29 +01:00
Adrian Utrilla
3415b92bff
Test file encryption
2016-11-13 16:36:43 +01:00