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

993 Commits

Author SHA1 Message Date
AJ Bahnken
14a22d7a70 Merge pull request #526 from mozilla/revert-exec-command
Revert exec command for 3.4.0 release
v3.4.0 3.4.0
2019-09-12 13:52:35 -07:00
AJ Bahnken
5e02dac757 Remove exec-env/exec-file from 3.4.0 changelog 2019-09-12 12:14:05 -07:00
AJ Bahnken
e527e06480 Revert "Add an --exec flag to pass decrypted secrets via environment variables to a child process (#504)"
This reverts commit f103af7237.
2019-09-12 12:13:00 -07:00
AJ Bahnken
14b38164cd Merge pull request #525 from mozilla/develop
Merge typo and release build fix for 3.4.0
2019-09-12 12:00:23 -07:00
AJ Bahnken
e8969afe16 Merge branch 'master' into develop 2019-09-12 11:49:55 -07:00
AJ Bahnken
9b76a76bab Add GO111MODULE=on to release builds 2019-09-12 11:48:35 -07:00
AJ Bahnken
2544b3cdb0 Merge pull request #522 from mozilla/develop-to-master-for-3.4.0
3.4.0 (develop -> master)
2019-09-12 11:29:07 -07:00
Antoine Rondelet
eed77eb4fb Fixed typo related to MACs (#524) 2019-09-11 15:15:55 -07:00
AJ Bahnken
f092864772 remove duplicate functional test 2019-09-11 14:19:15 -07:00
AJ Bahnken
4b36f15b46 Merge branch 'develop' into develop-to-master-for-3.4.0 2019-09-11 14:06:27 -07:00
AJ Bahnken
81a98abab0 Fixed exec env/file in changelog 2019-09-11 14:06:09 -07:00
AJ Bahnken
a04e15a60b Merged develop into off-master branch 2019-09-11 13:57:50 -07:00
AJ Bahnken
045a876841 Bump version and CHANGELOG for 3.4.0 2019-09-11 13:40:01 -07:00
AJ Bahnken
2fed7a5c70 3.3.1 (develop -> master) (#478) (#521)
* Changes to travis config and docs for using develop (#462)

* Fixes integration tests in travis to not run on PR's (they will now
run on merges into `develop` and `master`)
* Change README.rst and CONTRIBUTING.md to reflect the use of `develop`
as the primary development branch

* use golang 1.12 for building sops

* pgp/keysource: Check size of key fingerprint

Make sure the key fingerprint is longer than 16 characters before
slicing it.

Closes #463

* Allow set "json value" to be a string. (#468)

* Allow set "json value" to be a string.

Adds back support for string values in --set, while retaining support
for yaml multidoc that caused this bug.

Fixes #461

* Add functional test for --set'ing strings

* Vendoring update (#472)

It's been around 9 months since our last vendor update. This is also
needed for some new features being worked on for sops workspace.

Additionally, this PR regenerates the kms mocks.

* Remove duplicate sentence from readme (#475)

* 3.3.1 bump and release notes (#477)
2019-09-11 13:37:12 -07:00
Omar
f103af7237 Add an --exec flag to pass decrypted secrets via environment variables to a child process (#504)
* first pass: add --exec flag

* fix spacing

* subcommand for exec as well as other bits n bobs

--placeholder to pass files to child procs (similar to `find(1)`'s -exec flag)
--background to background processes if you don't need them to be interactive

* break the 2 execs into 2 subcommands

* add a non-fifo option for people who like files instead

* added a setuid flag just in case

* oups, used the wrong functions

* Update README.rst

* typo
2019-09-09 13:49:05 -07:00
AJ Bahnken
ebf0705182 vault kv version and mount names in publish config (#513)
Adds support for publishing to vault using KV v1 and a different mount
name (or multiple).
2019-08-30 13:44:04 -07:00
AJ Bahnken
e9b9f7aeef Replace old functional test gpg keys (#512)
Two of the three old keys have expired, so create a new set with no
expiration.
2019-08-30 09:07:00 -07:00
Adrian Utrilla
d505c3e03c Merge pull request #509 from jpriebe/develop
added encrypted-regex option
2019-08-28 11:24:39 +02:00
Jason Priebe
d8db56650a Update README.rst
Co-Authored-By: Adrian Utrilla <adrianutrilla@gmail.com>
2019-08-21 12:10:57 -04:00
Jason Priebe
34be9e9edf got config_test passing 2019-08-15 10:27:15 -04:00
Jason Priebe
d5199e371f added example of encrypted-regex 2019-08-15 08:46:02 -04:00
Jason Priebe
d5f7c886cf corrected a mistake in handling the interaction among unencrypted-suffix, ecnrypted-suffix, and encrypted-regex 2019-08-15 08:31:27 -04:00
Jason Priebe
45076418c7 added encrypted-regex option 2019-08-14 15:39:21 -04:00
Adrian Utrilla
c9e025fc77 Merge pull request #505 from dcreado/develop
fix path handling on edit.go for windows
2019-08-11 20:38:30 +02:00
Domingos Creado
4846c52094 fix path handling on edit.go for windows 2019-08-05 09:59:08 -03:00
Adrian Utrilla
757884b21a Merge pull request #502 from Devin-Holland/feat/azkv-key-group-support
Adding support for azure keyvault to key group config.
2019-08-04 10:18:06 +02:00
Devin Holland
e81497ca78 Adding tests for azure keyvault key group support 2019-08-02 21:58:51 -04:00
Devin Holland
52d4008829 Adding support for azure keyvault to key group config. 2019-08-02 15:22:17 -04:00
AJ Bahnken
f6ce72fbcf Remove vendor directory from repo (#499)
* Remove vendor directory from repo

With #498 being merged and making the switch to Go modules, there does
not seem to be a need to store this directory within the repo anymore.
As well, it will make reviewing dependency updates and viewing the
PR's within Github's UI much more manageable.

This PR also include adding `vendor/` to `.gitignore` and changing the
Makefile so that `make test` will run `make vendor` first.

* Switch to using make install in Dockerfile

* Remove -mod vendor flag from install and functional-tests

* Use proxy.golang.org for go modules within Makefile
2019-07-31 14:25:29 -07:00
Adrian Utrilla
5e718248bd Merge pull request #498 from gitirabassi/develop
feat(sops): moved dependency management from govend to go modules
2019-07-30 13:05:57 +02:00
Adrian Utrilla
c3abf0ca93 Vendoring update 2019-07-30 11:05:39 +02:00
Adrian Utrilla
d488deb5e7 Makefile: use Go modules for vendoring 2019-07-30 10:55:08 +02:00
Adrian Utrilla
629d0c990d Revert vendored code 2019-07-30 10:53:03 +02:00
gitirabassi
8df7f3e4f2 fix(go mod): added force usage of vendor during pipeline 2019-07-29 17:20:19 +02:00
gitirabassi
de7fd49aeb feat(sops): moved dependency management from govend to go modules 2019-07-29 16:35:31 +02:00
Adrian Utrilla
5aa8e0a968 Merge pull request #496 from mozilla/azure-auth
Add Azure CLI auth
2019-07-22 17:17:28 +02:00
Adrian Utrilla
ce7b36d46b Merge pull request #495 from mozilla/fix-bug-470
Return non-zero exit code for invalid CLI flags
2019-07-17 18:59:41 +02:00
Adrian Utrilla
2d7248ad03 Document AZURE_AUTH_METHOD env var usage 2019-07-17 13:25:11 +02:00
Adrian Utrilla
8f67bbd831 Vendoring update 2019-07-17 13:21:41 +02:00
Aaron Wislang
862a9dc372 Add MSI_ENDPOINT variable. Handle "devicecode" case. 2019-07-17 12:43:42 +02:00
Aaron Wislang
c181d95ed8 Adds new Azure authentication methods via newAuthorizer() 2019-07-17 12:43:42 +02:00
Adrian Utrilla
f6ebc25dc5 Return non-zero exit code for invalid CLI flags
Fixes #470
2019-07-17 11:58:03 +02: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
Adrian Utrilla
9998e16c3e Merge pull request #491 from adrianosela/golint
Address Go Lint messages
2019-07-16 11:36:51 +02:00
Adriano
41b9e9f4b6 update auditor interface comments 2019-07-12 12:06:56 -07:00
Adriano
4d4891588d address comments 2019-07-11 10:47:43 -07:00
Adriano
4b99fa18b3 go lint 2019-07-11 10:30:32 -07:00
Adrian Utrilla
48f92ee92e Merge pull request #490 from adrianosela/develop
Fix linting and formatting issues
2019-07-09 09:44:36 +02:00
Adriano
0384073eeb revert significant code changes on shamir file 2019-07-08 15:35:41 -07:00
Adriano
a77c9dad68 code cleanup [3/5] - ineffassign (ineffectual assignments) 2019-07-08 10:08:14 -07:00