[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: reclaim: fix cli parameter name for cred
From: |
gnunet |
Subject: |
[gnunet] branch master updated: reclaim: fix cli parameter name for credential ID |
Date: |
Fri, 04 Sep 2020 04:14:19 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 538277ed8 reclaim: fix cli parameter name for credential ID
538277ed8 is described below
commit 538277ed86693dcd8b7edc7f53d197709b65390a
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri Sep 4 04:07:46 2020 +0200
reclaim: fix cli parameter name for credential ID
---
src/reclaim/gnunet-reclaim.c | 2 +-
src/reclaim/plugin_reclaim_credential_jwt.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
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))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: reclaim: fix cli parameter name for credential ID,
gnunet <=