rebase: vendor golang.org/x/crypto and update to latest

The new SecretsMetadataKMS provider encrypts/decrypts DEKs as they are
stored in the metadata of volumes. The encryption/decryption uses
golang.org/x/crypto/scrypt to generate the encryption key from a
passphrase.

While vendoring golang.org/x/crypto, already vendored sub-packages have
been updated.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2021-03-08 14:51:42 +01:00
committed by mergify[bot]
parent 6915624380
commit 2b7f078943
71 changed files with 3906 additions and 1095 deletions

1
go.mod
View File

@ -18,6 +18,7 @@ require (
github.com/pborman/uuid v1.2.0
github.com/prometheus/client_golang v1.7.1
github.com/stretchr/testify v1.7.0
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
golang.org/x/sys v0.0.0-20201112073958-5cba982894dd
google.golang.org/grpc v1.29.1
k8s.io/api v0.20.0