Skip to content

Commit 7b103f4

Browse files
committed
Replaced the digest auth library with one that supports SHA-256
1 parent 8bbf4e8 commit 7b103f4

File tree

15 files changed

+351
-95
lines changed

15 files changed

+351
-95
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/terraform-providers/terraform-provider-mongodbatlas
33
go 1.14
44

55
require (
6-
github.com/Sectorbob/mlab-ns2 v0.0.0-20171030222938-d3aa0c295a8a
76
github.com/client9/misspell v0.3.4
87
github.com/go-test/deep v1.0.3
98
github.com/hashicorp/terraform-plugin-sdk v1.14.0
9+
github.com/mongodb-forks/digest v1.0.1
1010
github.com/mwielbut/pointy v1.1.0
1111
github.com/spf13/cast v1.3.1
1212
github.com/terraform-providers/terraform-provider-aws v1.60.1-0.20200518153306-40099de47e37

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE
3737
github.com/OpenPeeDeeP/depguard v1.0.0/go.mod h1:7/4sitnI9YlQgTLLk734QlzXT8DuHVnAyztLplQjk+o=
3838
github.com/OpenPeeDeeP/depguard v1.0.1 h1:VlW4R6jmBIv3/u1JNlawEvJMM4J+dPORPaZasQee8Us=
3939
github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM=
40-
github.com/Sectorbob/mlab-ns2 v0.0.0-20171030222938-d3aa0c295a8a h1:KFHLI4QGttB0i7M3qOkAo8Zn/GSsxwwCnInFqBaYtkM=
41-
github.com/Sectorbob/mlab-ns2 v0.0.0-20171030222938-d3aa0c295a8a/go.mod h1:D73UAuEPckrDorYZdtlCu2ySOLuPB5W4rhIkmmc/XbI=
4240
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
4341
github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
4442
github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE=
@@ -427,6 +425,8 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh
427425
github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
428426
github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE=
429427
github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
428+
github.com/mongodb-forks/digest v1.0.1 h1:+3fpRyZcC5G44YrfrhHAffSSORh3assbetlzq8lp1hU=
429+
github.com/mongodb-forks/digest v1.0.1/go.mod h1:PA4OEwIwOqB/7OJE/xyY7x2D+5ufAlNv8Cy01DNCWgg=
430430
github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk=
431431
github.com/mozilla/tls-observatory v0.0.0-20200220173314-aae45faa4006/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk=
432432
github.com/mwielbut/pointy v1.1.0 h1:U5/YEfoIkaGCHv0St3CgjduqXID4FNRoyZgLM1kY9vg=

mongodbatlas/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package mongodbatlas
22

33
import (
4-
digest "github.com/Sectorbob/mlab-ns2/gae/ns/digest"
54
"github.com/hashicorp/terraform-plugin-sdk/helper/logging"
5+
digest "github.com/mongodb-forks/digest"
66
matlasClient "go.mongodb.org/atlas/mongodbatlas"
77
)
88

vendor/github.com/Sectorbob/mlab-ns2/gae/ns/digest/digest_gae.go

-35
This file was deleted.

vendor/github.com/mongodb-forks/digest/.gitignore

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/mongodb-forks/digest/.golangci.yml

+84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/mongodb-forks/digest/.tool-versions

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sectorbob/mlab-ns2/CONTRIBUTORS renamed to vendor/github.com/mongodb-forks/digest/CONTRIBUTORS

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/mongodb-forks/digest/Makefile

+58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/mongodb-forks/digest/README.md

+42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)