1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

12 Commits

Author SHA1 Message Date
Adrian Utrilla
13b70024d0 Refactor metadata marshalling
**IMPORTANT** This breaks compatibility of the file format in 1.x for
json files, due to the version being encoded as a number in json files.
The fix for this is easy, however. One can either use a previous version
of sops in the range [2.0.0, 2.0.9] to edit the file, or one can manually edit
the encrypted file and change the version from a number to a string

Previously we basically hand-converted the metadata struct into a map
which we then passed to the stores. Now, we convert the metadata struct
to a "serialization" struct, which the stores serialize
2017-08-23 17:10:39 -07:00
Julien Vehent
51e13b1589 Fix handling of binary data to preserve integrity, fixes #59 2016-04-19 12:23:46 -04:00
Julien Vehent
6a132e9a0d add an empty value to example.json 2016-02-03 13:47:19 -05:00
Julien Vehent
8249924294 Update examples 2015-11-25 09:40:37 -05:00
Julien Vehent
ec34a75816 Add support for encrypting binary files, treat all text as bytes, fixes #22 2015-10-26 14:17:38 -04:00
Julien Vehent
7d705cba2d fix aad generation 2015-10-25 09:55:43 -04:00
Julien Vehent
8fe28a67a2 0.8.1: store lastmodified timestamp, use it as aad in MAC 2015-10-09 09:44:39 -04:00
Julien Vehent
51ec069d48 Add some functional tests 2015-10-08 15:43:15 -04:00
Julien Vehent
0b034c93fa Added version number to sops branch, to support multiple parsers later 2015-10-08 08:35:42 -04:00
Julien Vehent
6218a50964 Add integrity checking using keys as AAD and a SHA512 of all values, fixes #15 2015-10-07 18:07:30 -04:00
Julien Vehent
863352cae4 Add type perservation support 2015-10-01 17:59:42 -04:00
Julien Vehent
2d2eb6d0f8 Readme & examples update 2015-09-25 14:14:23 -04:00