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

14 Commits

Author SHA1 Message Date
Aaron Peschel
6788bf8ee6 Update sops format version for example files
At the moment, the examples produce warnings, due to the very old format
they use.

This commit re-encrypts the example files to eliminate the warnings that
are occurring from the use of the very old sops format.
2019-12-10 14:47:45 -08:00
Aaron Peschel
e99a5ff1d5 Update the PGP Key for all Examples
Commit e9b9f7aeef generated new PGP keys
for this repository, but failed to update the keys used by the examples.
As a result, the documentation for testing with the dev pgp key does not
work.

This commit rekeys the examples using the newly generated examples,
which allows the testing to work again.
2019-12-10 14:34:45 -08:00
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