ceph-csi/internal/util
Niels de Vos 9ac7f56400 util: move existing KMS implementations to the DEKStore interface
Use DEKStore API for Fetching and Storing passphrases.

Drop the fallback for the old KMS interface that is now provided as
DEKStore. The original implementation has been re-used for the DEKStore
interface.

This also moves GetCryptoPassphrase/StoreNewCryptoPassphrase functions
to methods of VolumeEncryption.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-03-12 10:11:47 +00:00
..
cephcmds.go util: use ErrorLog for context based logging 2020-08-13 09:44:12 +00:00
cephconf.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
connection.go rbd: disable rbd_discard_on_zeroed_write_same for thick-allocation 2021-02-19 11:55:40 +00:00
credentials.go cleanup: return error type in util.storeKey() 2020-12-09 08:35:35 +00:00
crypto_test.go util: move existing KMS implementations to the DEKStore interface 2021-03-12 10:11:47 +00:00
crypto.go util: move existing KMS implementations to the DEKStore interface 2021-03-12 10:11:47 +00:00
cryptsetup.go rbd: make sure csi rbd pv encryption defaulting to luks2 version 2020-10-13 05:11:25 +00:00
csiconfig_test.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig.go cleanup: standardize error format in util.readClusterInfo() 2020-12-09 08:35:35 +00:00
errors_test.go util: add tests for JoinErrors() 2020-07-23 11:16:40 +00:00
errors.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
httpserver.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
idlocker_test.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
idlocker.go util: rename ErrorLog to ErrorLogMsg to parity 2020-08-13 09:44:12 +00:00
k8s.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
log.go util: rename FatalLog to FatalLogMsg for parity 2020-08-13 09:44:12 +00:00
pidlimit_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
secretskms.go util: move existing KMS implementations to the DEKStore interface 2021-03-12 10:11:47 +00:00
stripsecrets.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
topology_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
topology.go cleanup: standardize error format in util.GetTopologyFromDomainLabels() 2020-12-09 08:35:35 +00:00
util_test.go util: update unit testing for deep flatten 2020-07-08 05:48:42 +00:00
util.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
validate.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
vault_test.go util: use helper function to parse Vault configuration 2020-12-14 14:45:09 +00:00
vault_tokens_test.go util: convert VAULT_SKIP_VERIFY to "vaultCAVerify" KMS option 2021-02-16 13:05:47 +00:00
vault_tokens.go util: move existing KMS implementations to the DEKStore interface 2021-03-12 10:11:47 +00:00
vault.go util: move existing KMS implementations to the DEKStore interface 2021-03-12 10:11:47 +00:00
volid_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
volid.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30