gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix subject in JWT


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix subject in JWT
Date: Sat, 21 Jul 2018 13:34:54 +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 33d45d039 fix subject in JWT
33d45d039 is described below

commit 33d45d039f618ec2892c8db3961f4f76a0e63652
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat Jul 21 13:34:50 2018 +0200

    fix subject in JWT
---
 src/reclaim/plugin_rest_openid_connect.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/reclaim/plugin_rest_openid_connect.c 
b/src/reclaim/plugin_rest_openid_connect.c
index d1c5b31b6..bd11b2de7 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -1606,10 +1606,8 @@ token_endpoint (struct GNUNET_REST_RequestHandle 
*con_handle,
     GNUNET_free(ticket);
     return;
   }
-  struct GNUNET_CRYPTO_EcdsaPublicKey pk;
-  GNUNET_IDENTITY_ego_get_public_key (ego_entry->ego, &pk);
   char *id_token = jwt_create_from_list(&ticket->audience,
-                                        &pk,
+                                        &ticket->identity,
                                         cl,
                                         &expiration_time,
                                         (NULL != nonce && 
json_is_string(nonce)) ? json_string_value (nonce) : NULL,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]