From d478def98cc85adfc8040c4144c31c03228a14a5 Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Mon, 31 Aug 2020 16:35:47 -0700 Subject: [PATCH] removing the custom key Type and doing the conversion in the backend --- lemur/authorities/schemas.py | 2 +- lemur/static/app/angular/authorities/authority/options.tpl.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/authorities/schemas.py b/lemur/authorities/schemas.py index 6bbeddd6..7f9f57d4 100644 --- a/lemur/authorities/schemas.py +++ b/lemur/authorities/schemas.py @@ -62,7 +62,7 @@ class AuthorityInputSchema(LemurInputSchema): missing="sha256WithRSA", ) key_type = fields.String( - validate=validate.OneOf(CERTIFICATE_KEY_TYPES + ["EC256"]), missing="RSA2048" + validate=validate.OneOf(CERTIFICATE_KEY_TYPES), missing="RSA2048" ) key_name = fields.String() sensitivity = fields.String( diff --git a/lemur/static/app/angular/authorities/authority/options.tpl.html b/lemur/static/app/angular/authorities/authority/options.tpl.html index 7ba858a7..bf1ad70c 100644 --- a/lemur/static/app/angular/authorities/authority/options.tpl.html +++ b/lemur/static/app/angular/authorities/authority/options.tpl.html @@ -20,7 +20,7 @@ Key Type
-