util: add support for GKLM KMS over KMIP#6048
Conversation
TestingSetup the KMSCheck PVC and Pods are running:Check image metadata, before and after |
|
What is GKLM? Is that a particular Open Source project, or a product from some vendor? Any documentation/example updates that would benefit users? |
82df2a5 to
7807521
Compare
8637705 to
706774a
Compare
@nixpanic this change will support all kms that supports kmip but do not support the encrypt decrypt rpcs (one of them being GKLM). |
f3baff9 to
97275f8
Compare
e509442 to
eba6c52
Compare
|
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
af7986d to
b9b5ca3
Compare
b9b5ca3 to
902b94e
Compare
|
@Mergifyio rebase |
This patch adds support for GKLM KMS using the KMIP protocol.
Details specific to GKLM:
- Get RPC to encrypt and decrypt the KEK for LUKS.
- KMS' `USE_CRYPTO_RPC` is used to distinguish between which RPC to
call.
- If `USE_CRYPTO_RPC` is true, `Encrypt/Decrypt` RPCs are called.
- If `USE_CRYPTO_RPC` is false, `Get` RPC is called to fetch the key
by its UUID and encryption/decryption is done locally.
- Increase the key size to 256bits to be RSA compatible.
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
This patch modifies the secrets KMS to use the helpers for local symmetric encryption/decryption. Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
✅ Branch has been successfully rebased |
|
/test ci/centos/upgrade-tests-cephfs |
|
/test ci/centos/k8s-e2e-external-storage/1.34 |
|
/test ci/centos/k8s-e2e-external-storage/1.35 |
|
/test ci/centos/k8s-e2e-external-storage/1.33 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e-helm/k8s-1.34 |
|
/test ci/centos/mini-e2e-helm/k8s-1.33 |
|
/test ci/centos/mini-e2e-helm/k8s-1.35 |
|
/test ci/centos/mini-e2e/k8s-1.34 |
|
/test ci/centos/mini-e2e/k8s-1.33 |
|
/test ci/centos/mini-e2e/k8s-1.35 |
|
@Mergifyio refresh |
|
@Mergifyio queue |
Merge Queue Status🛑 Queue command has been cancelled |
|
@Mergifyio refresh multi-arch-build has passed? |
✅ Pull request refreshed |
Merge Queue StatusRule:
This pull request spent 10 seconds in the queue, with no time running CI. Required conditions to merge
|
Describe what this PR does
This patch adds support for GKLM KMS using the KMIP protocol.
Details specific to GKLM:
USE_CRYPTO_RPCis used to distinguish between which RPC tocall.
USE_CRYPTO_RPCis true,Encrypt/DecryptRPCs are called.USE_CRYPTO_RPCis false,GetRPC is called to fetch the keyby its UUID and encryption/decryption is done locally.