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

48 Commits

Author SHA1 Message Date
Hidde Beydals
f2a1d4c782 Rename Go module to github.com/getsops/sops/v3
This commit renames the Go module from `go.mozilla.org/sops/v3` to
`github.com/getsops/sops/v3` without a major version bump, to align
with new stewardship.

For more information around this change, refer to
https://github.com/getsops/sops/issues/1246.

For a one-liner to change the `go.mod` and any import paths in your
Go project making use of this module, run:

```
find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \;
find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i '' 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \;
```

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-07-31 22:51:36 +02:00
Hidde Beydals
0eef7ce86c Delete obsolete mockery make target and doc ref
This was only required for the test mocks for the V1 AWS SDK tests,
which have been removed with the rewrite to V2.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-06 23:18:19 +02:00
AJ Bahnken
234bf9fb5f Upgrade all dependencies 2022-03-09 13:31:34 -08:00
Janis Peisenieks
822ce48b82 Add arm64 .deb and .rpm builds 2022-03-04 10:04:51 +02:00
AJ Bahnken
d6bc216a86 README and author tweaks
* Remove ulfr and autrilla as core maintainers
* Update badges, we no longer us travis-ci
* Remove python docs, especially as it has not been maintained for years
* Fix dev install instructions
2022-03-03 09:38:54 -08:00
AJ Bahnken
dc2267e372 Upgrade to go 1.17 2022-02-24 14:12:58 -08:00
AJ Bahnken
9cc95d411b Add release workflow
Fixes #841
2021-03-30 11:32:32 -07:00
AJ Bahnken
6ec0e6a2e2 Fix fpm commands and PROJECT var in Makefile 2019-12-02 09:14:23 -08:00
AJ Bahnken
8e21de8dbc Upgrade sops to go 1.13 (#566) 2019-11-18 10:06:58 -08: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
d488deb5e7 Makefile: use Go modules for vendoring 2019-07-30 10:55:08 +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
AJ Bahnken
f000986f20 Only run kms functional tests within mozilla/sops
Instead of exiting early, only run the kms tests within the context of
mozilla/sops (and not from forks).
2019-03-29 10:42:01 -07:00
Calle Pettersson
9fa4f0e90e Add support for Azure Key Vault 2018-06-17 22:50:30 +02:00
Adrian Utrilla
b661f3ee31 Simplify testing in makefile 2017-10-03 15:14:00 -07:00
Adrian Utrilla
f638d40692 Merge remote-tracking branch 'origin/master' into logging 2017-09-25 09:51:54 -07:00
Adrian Utrilla
20046c1b48 Merge branch 'master' into logging 2017-09-16 17:59:00 -07:00
Adrian Utrilla
bcf8adebea Merge branch 'master' into gcloud-kms 2017-09-15 14:34:02 -07:00
Adrian Utrilla
93570b20d7 Fix golint errors 2017-09-12 09:59:23 -07:00
Calin Don
f7d72449b2 Rename Cloud KMS to GCP KMS 2017-09-12 15:37:30 +03:00
Calin Don
f57598d02c Add basic testing for google cloud KMS 2017-09-11 22:21:46 +03:00
Adrian Utrilla
17d5d6b65c Move all loggers to logrus 2017-09-06 17:36:39 -07: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
Adrian Utrilla
454d21d87f Update mocks 2017-02-22 12:26:02 +01:00
Julien Vehent
10376687c4 Automate download page generation 2016-11-30 11:40:38 -05:00
Julien Vehent
2abbd857fe Add Makefile target to build packages with FPM 2016-11-30 09:17:22 -05:00
Adrian Utrilla
822d974ebd Run functional tests on TravisCI 2016-11-13 22:31:28 +01:00
Julien Vehent
ca5bcbc90a fixup travis.yml 2016-11-04 13:59:29 -04:00
Julien Vehent
1e25c7503a vendoring update, move from godep to govend 2016-11-04 12:37:53 -04:00
Julien Vehent
b73a389256 Use full project path in Makefile 2016-10-27 13:47:36 -04:00
Adrian Utrilla
c021af4e5a Added make vendor to update dependencies 2016-10-26 21:44:11 +02:00
Adrian Utrilla
949dadd92d Fixed invalid go get in makefile 2016-09-19 11:34:06 -07:00
Adrian Utrilla
786a863a3d PGP tests can now run anywhere 2016-08-25 12:21:10 -07:00
Adrian Utrilla
49a3ef3e3c Added Makefile 2016-08-24 12:37:18 -07:00
Adrian Utrilla
49e7bbe86a Removed Python and Go version 2016-08-05 15:20:31 -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
980096212b don't require tests when pushing to pypi 2016-03-24 09:57:39 -04:00
Julien Vehent
9a388912f9 Make data key rotation with -r a separate mode
This patch changes the behavior of `-r` to make it behave like the
encrypt, decrypt or editing mode: it is now a full roundtrip over an
existing encrypted file that decrypts, creates a new data key, encrypts
and encrypts the data key with all master keys. This new mode makes it a
lot easier to rotate data keys without having to edit files.
2015-11-25 08:28:44 -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
4d20413818 help/usage updates 2015-10-11 09:09:28 -04:00
Julien Vehent
51ec069d48 Add some functional tests 2015-10-08 15:43:15 -04:00
Rémy HUBSCHER
f8cb48c98a Add coverage 2015-09-25 12:29:46 +02:00
Rémy HUBSCHER
079fb2ead0 Port to Python 2.6 2015-09-25 12:01:46 +02:00
Rémy HUBSCHER
2c1906c594 Add tox and travis-ci matrix 2015-09-25 11:48:32 +02:00
Julien Vehent
f1b4bd91ce Makefile update 2015-09-24 13:46:10 -04:00
Julien Vehent
35a827511c Fix layout for pip distribution 2015-09-06 21:55:32 -04:00
Julien Vehent
045f31a348 0.2: support for multiple KMS ARN, support for PGP 2015-09-06 17:20:34 -04:00