Fix age key generation to convert pubkey to string 19/14519/2 v16.0 release-v16.0-start v16.0.0
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 19 Aug 2024 12:04:06 +0000 (14:04 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 20 Aug 2024 06:07:13 +0000 (08:07 +0200)
Change-Id: I8eb1c7ec0c865f02e2830c8fea2b3307a517972e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_nbi/base_topic.py

index 252a72a..35514a5 100644 (file)
@@ -1018,7 +1018,7 @@ class BaseTopic:
     def _generate_age_key(self):
         ident = x25519.Identity.generate()
         # gets the public key
-        pubkey = ident.to_public()
+        pubkey = str(ident.to_public())
         # gets the private key
         privkey = str(ident)
         # return both public and private key