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

31 Commits

Author SHA1 Message Date
Felix Fontein
f6ece99630 Add check to avoid that UnencryptedCommentRegex matches encrypted comments.
Signed-off-by: Felix Fontein <felix@fontein.de>
2024-06-27 09:21:08 +02:00
Mitar
f63e844206 Support using comments to select parts to encrypt
Signed-off-by: Mitar <mitar.git@tnode.com>
2024-06-27 09:21:08 +02:00
Boris Kreitchman
c822b55290 Sort masterkeys according to decryption-order
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Bastien Wermeille <bastien.wermeille@gmail.com>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Signed-off-by: Boris Kreitchman <bkreitch@gmail.com>
2023-12-18 08:38:43 +01:00
Mitar
051ce028c9 Support computing MAC only over values which end up encrypted
Signed-off-by: Mitar <mitar.git@tnode.com>
2023-11-07 11:59:08 +01:00
Vincent Behar
425032737c fix: set feature when adding a new root hierarchy
fixes #407

with this fix, when adding a new root hierarchy, the existing root entries won't be dropped anymore

Signed-off-by: Vincent Behar <v.behar@free.fr>
2023-08-15 22:56:03 +02:00
Rene Hernandez
8aca3cb790 Add support for --unencrypted-regex (#715)
* Add support for --unencrypted-regex

* Fix grammar mistake

* Add gofmt'd files
2020-09-02 19:15:50 +02:00
Jason Priebe
45076418c7 added encrypted-regex option 2019-08-14 15:39:21 -04:00
AJ Bahnken
6910225545 Adds support for sops publish-ing to Vault (#494)
* Add vault/api to vendor/

* Adds support for sops publish-ing to Vault

* Adds support for publishing secrets (unencrypted) to Vault
* Adds a new EmitAsMap for TreeBanches
* Adds documentation about sops publish-ing to Vault
* Initial integration/functional test for publishing to vault
2019-07-16 14:33:59 -07:00
James Robson
dfa150bf75 Add multidoc encrypt/decrypt for YAML sources 2018-11-21 09:00:49 -07:00
Dov Reshef
efd8521436 added the --encrypted-suffix option 2018-04-08 12:43:43 +03:00
Adrian Utrilla
08eeea198a Add a few extra tests 2018-02-20 23:32:19 +01:00
Adrian Utrilla
f95a19cbec Rewrite set functionality to make it work with nested structures
Fixes #297
2018-02-20 17:15:02 +01:00
jcepedavillamayor
31ec744a9c Decrypting tests added 2017-09-20 08:28:52 +02:00
jcepedavillamayor
6e6d31c337 Fixed bug when encrypting nil values 2017-09-16 21:54:52 +02:00
Adrian Utrilla
7911bb1542 Merge branch 'master' into yaml-list-comments 2017-09-15 19:29:06 -07:00
Adrian Utrilla
e6f46513dd Merge branch 'master' into encrypt-comments 2017-09-15 10:28:26 -07:00
Adrian Utrilla
3811698f54 Encapsulate stash inside cipher 2017-09-12 22:10:53 -07:00
Adrian Utrilla
b5224ae2d6 Reimplement --add/rm-pgp/kms 2017-08-24 15:47:53 -07:00
Adrian Utrilla
9e0da47372 Clean up encrypt and decrypt commands 2017-08-24 12:04:28 -07:00
Adrian Utrilla
e3705100c2 Add support for GPG binary 2017-08-23 14:29:53 -07:00
Adrian Utrilla
745a0631ba Move MasterKey to separate package to avoid import cycles 2017-08-17 11:32:04 -07:00
Adrian Utrilla
56fa53ad5d Add Go tests for comment decryption 2017-08-17 08:39:05 -07:00
Adrian Utrilla
cdc86da1f3 Encrypt comments 2017-08-15 17:38:50 -07: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
ba03ae1853 Fix removing items from slice while iterating 2016-11-01 16:08:33 +01:00
Adrian Utrilla
3fe980b3fe Fix issue #113 2016-09-08 13:02:20 -07:00
Adrian Utrilla
0efff5627b Fixed failing tests 2016-08-29 14:17:06 -07:00
Adrian Utrilla
1a38fac4bf Added tree truncation 2016-08-26 12:01:06 -07:00
Adrian Utrilla
aff2013600 Added tests for encryption and decryption 2016-08-24 17:12:46 -07:00
Adrian Utrilla
b8cb6cf016 Fixed failing tests 2016-08-24 16:48:56 -07:00
Adrian Utrilla
49a3ef3e3c Added Makefile 2016-08-24 12:37:18 -07:00