From 6cf08e4939b7e1db71bd9e3598232ea05fd98e52 Mon Sep 17 00:00:00 2001 From: Christian Bormann Date: Thu, 19 Sep 2024 22:18:11 +0200 Subject: [PATCH] status list token cwt example uses new claim key --- src/status_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_token.py b/src/status_token.py index 6be3b58..ade70f2 100644 --- a/src/status_token.py +++ b/src/status_token.py @@ -135,7 +135,7 @@ def buildCWT( claims[CWTClaims.EXP] = int(exp.timestamp()) if ttl is not None: claims[65534] = int(ttl.total_seconds()) - claims[65535] = self.list.encodeAsCBOR() + claims[65533] = self.list.encodeAsCBOR() # build header if optional_protected_header is not None: