summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reclaim/gnunet-reclaim.c2
-rw-r--r--src/reclaim/plugin_reclaim_credential_jwt.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c
index ab281a645..b9306b802 100644
--- a/src/reclaim/gnunet-reclaim.c
+++ b/src/reclaim/gnunet-reclaim.c
@@ -862,7 +862,7 @@ main (int argc, char *const argv[])
gettext_noop ("List credentials for EGO"),
&list_credentials),
GNUNET_GETOPT_option_string ('I',
- "Credential ID",
+ "credential-id",
"CREDENTIAL_ID",
gettext_noop (
"Credential to use for attribute"),
diff --git a/src/reclaim/plugin_reclaim_credential_jwt.c b/src/reclaim/plugin_reclaim_credential_jwt.c
index 148865223..6f52f3a4e 100644
--- a/src/reclaim/plugin_reclaim_credential_jwt.c
+++ b/src/reclaim/plugin_reclaim_credential_jwt.c
@@ -177,6 +177,8 @@ jwt_parse_attributes (void *cls,
json_object_foreach (json_val, key, value) {
if (0 == strcmp ("iss", key))
continue;
+ if (0 == strcmp ("jti", key))
+ continue;
if (0 == strcmp ("exp", key))
continue;
if (0 == strcmp ("iat", key))