From: garciadeblas Date: Mon, 19 Aug 2024 12:04:06 +0000 (+0200) Subject: Fix age key generation to convert pubkey to string X-Git-Tag: release-v16.0-start^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=68f62ee88db561b3ab8e253e8c23dcf4f3eb2a58;p=osm%2FNBI.git Fix age key generation to convert pubkey to string Change-Id: I8eb1c7ec0c865f02e2830c8fea2b3307a517972e Signed-off-by: garciadeblas --- diff --git a/osm_nbi/base_topic.py b/osm_nbi/base_topic.py index 252a72a..35514a5 100644 --- a/osm_nbi/base_topic.py +++ b/osm_nbi/base_topic.py @@ -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