From 25c940e5fc1e7e32ad68d39dc8b0358400f3f9f3 Mon Sep 17 00:00:00 2001 From: Rohit Date: Fri, 20 Sep 2024 00:16:51 +0530 Subject: [PATCH 1/2] added support for rsa 3072 and ecdsa 384 --- credentialz/credentialz.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/credentialz/credentialz.proto b/credentialz/credentialz.proto index 65f3d96..e5836fa 100644 --- a/credentialz/credentialz.proto +++ b/credentialz/credentialz.proto @@ -429,6 +429,8 @@ enum KeyType { KEY_TYPE_ED25519 = 3; KEY_TYPE_RSA_2048 = 4; KEY_TYPE_RSA_4096 = 5; + KEY_TYPE_RSA_3072 =6; + KEY_TYPE_ECDSA_P_384=7; } message AccountCredentials { @@ -614,6 +616,8 @@ enum KeyGen { KEY_GEN_SSH_KEY_TYPE_ECDSA_P_521 = 3; KEY_GEN_SSH_KEY_TYPE_EDDSA_ED25519 = 4; KEY_GEN_SSH_KEY_TYPE_RSA_4096 = 5; + KEY_GEN_SSH_KEY_TYPE_RSA_3072 = 6; + KEY_GEN_SSH_KEY_TYPE_ECDSA_P_384 = 7; } // A request to ask the target if it can generate key pairs From 29ba6f50e9910086f6dd36018c80afa98de79a5a Mon Sep 17 00:00:00 2001 From: Rohit Date: Fri, 20 Sep 2024 12:10:28 +0530 Subject: [PATCH 2/2] fixed space --- credentialz/credentialz.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/credentialz/credentialz.proto b/credentialz/credentialz.proto index e5836fa..e6ebe7c 100644 --- a/credentialz/credentialz.proto +++ b/credentialz/credentialz.proto @@ -429,8 +429,8 @@ enum KeyType { KEY_TYPE_ED25519 = 3; KEY_TYPE_RSA_2048 = 4; KEY_TYPE_RSA_4096 = 5; - KEY_TYPE_RSA_3072 =6; - KEY_TYPE_ECDSA_P_384=7; + KEY_TYPE_RSA_3072 = 6; + KEY_TYPE_ECDSA_P_384 = 7; } message AccountCredentials {