Remove age key generation since it is managed in NBI 09/15009/5
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 5 Mar 2025 16:08:40 +0000 (17:08 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 10 Mar 2025 16:51:12 +0000 (17:51 +0100)
Change-Id: I892a71ac7588ea1e1de33ebc6bb8edc5c24e6513
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/odu_libs/cluster_mgmt.py
requirements.in
requirements.txt

index 5bb0f60..f500950 100644 (file)
@@ -16,7 +16,6 @@
 #######################################################################################
 
 
-from pyrage import x25519
 import yaml
 import base64
 
@@ -28,16 +27,6 @@ def gather_age_key(cluster):
     return pubkey, privkey
 
 
-def generate_age_key():
-    ident = x25519.Identity.generate()
-    # gets the public key
-    pubkey = ident.to_public()
-    # gets the private key
-    privkey = str(ident)
-    # return both public and private key
-    return pubkey, privkey
-
-
 async def create_cluster(self, op_id, op_params, content):
     self.logger.info(f"create_cluster Enter. Operation {op_id}. Params: {op_params}")
     # self.logger.debug(f"Content: {content}")
index 16cd246..7bdb344 100644 (file)
@@ -27,7 +27,6 @@ kubernetes
 motor
 protobuf==3.20.3
 pyasn1
-pyrage
 pyyaml>6
 pydantic
 randomname
index 8c451a7..2856c21 100644 (file)
@@ -156,8 +156,6 @@ pynacl==1.5.0
     #   macaroonbakery
     #   paramiko
     #   pymacaroons
-pyrage==1.2.2
-    # via -r requirements.in
 pyrfc3339==1.1
     # via
     #   juju