[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 163/171: -move jwt back into idp
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 163/171: -move jwt back into idp |
Date: |
Thu, 04 Jan 2018 16:11:11 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 6e0922fc29b7bf481bf97c6ed269f85eadadd43e
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Dec 4 17:48:22 2017 +0100
-move jwt back into idp
---
src/identity-attribute/Makefile.am | 3 +--
src/identity-provider/Makefile.am | 3 ++-
src/{identity-attribute => identity-provider}/jwt.c | 2 +-
src/include/gnunet_identity_attribute_lib.h | 13 -------------
4 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/src/identity-attribute/Makefile.am
b/src/identity-attribute/Makefile.am
index b84ad3492..2c73a443e 100644
--- a/src/identity-attribute/Makefile.am
+++ b/src/identity-attribute/Makefile.am
@@ -20,8 +20,7 @@ lib_LTLIBRARIES = \
libgnunetidentityattribute.la
libgnunetidentityattribute_la_SOURCES = \
- identity_attribute.c \
- jwt.c
+ identity_attribute.c
libgnunetidentityattribute_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
diff --git a/src/identity-provider/Makefile.am
b/src/identity-provider/Makefile.am
index 3b072e59d..5c5ddaa57 100644
--- a/src/identity-provider/Makefile.am
+++ b/src/identity-provider/Makefile.am
@@ -87,7 +87,8 @@ libgnunetidentityprovider_la_LDFLAGS = \
-version-info 0:0:0
libgnunet_plugin_rest_identity_provider_la_SOURCES = \
- plugin_rest_identity_provider.c
+ plugin_rest_identity_provider.c \
+ jwt.c
libgnunet_plugin_rest_identity_provider_la_LIBADD = \
$(top_builddir)/src/identity/libgnunetidentity.la \
libgnunetidentityprovider.la \
diff --git a/src/identity-attribute/jwt.c b/src/identity-provider/jwt.c
similarity index 98%
rename from src/identity-attribute/jwt.c
rename to src/identity-provider/jwt.c
index 935e0a79d..2f1e3240b 100644
--- a/src/identity-attribute/jwt.c
+++ b/src/identity-provider/jwt.c
@@ -63,7 +63,7 @@ create_jwt_header(void)
* @return a new base64-encoded JWT string.
*/
char*
-GNUNET_IDENTITY_ATTRIBUTE_jwt_create_from_list (const struct
GNUNET_CRYPTO_EcdsaPublicKey *sub_key,
+jwt_create_from_list (const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key,
const struct
GNUNET_IDENTITY_ATTRIBUTE_ClaimList *attrs,
const struct
GNUNET_CRYPTO_EcdsaPrivateKey *priv_key)
{
diff --git a/src/include/gnunet_identity_attribute_lib.h
b/src/include/gnunet_identity_attribute_lib.h
index 4c765515b..a6c9e1f1c 100644
--- a/src/include/gnunet_identity_attribute_lib.h
+++ b/src/include/gnunet_identity_attribute_lib.h
@@ -261,19 +261,6 @@ const char*
GNUNET_IDENTITY_ATTRIBUTE_number_to_typename (uint32_t type);
-/**
- * Create a JWT from attributes
- *
- * @param sub_key the public of the subject
- * @param attrs the attribute list
- * @param priv_key the key used to sign the JWT
- * @return a new base64-encoded JWT string.
- */
-char*
-GNUNET_IDENTITY_ATTRIBUTE_jwt_create_from_list (const struct
GNUNET_CRYPTO_EcdsaPublicKey *sub_key,
- const struct
GNUNET_IDENTITY_ATTRIBUTE_ClaimList *attrs,
- const struct
GNUNET_CRYPTO_EcdsaPrivateKey *priv_key);
-
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] 122/171: -fix bugs, (continued)
- [GNUnet-SVN] [gnunet] 122/171: -fix bugs, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 169/171: update README, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 153/171: -add j to make, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 128/171: -readd new rest plugin, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 171/171: Merge remote-tracking branch 'origin/identity_abe', gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 110/171: Merge remote-tracking branch 'origin/master' into identity_abe, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 113/171: - Add attribute store API to IdP service, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 132/171: -finish revocation in service, cleanup, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 119/171: -add consume API, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 127/171: -revise API naming; cleanups, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 163/171: -move jwt back into idp,
gnunet <=
- [GNUnet-SVN] [gnunet] 144/171: -fixes, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 149/171: -fix make, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 93/171: -more towards idp2, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 133/171: -fixes, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 150/171: -add dockerfile, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 159/171: Merge remote-tracking branch 'origin/master' into identity_abe, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 164/171: Merge remote-tracking branch 'origin/master' into identity_abe, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 166/171: -move idp experimental, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 168/171: -move abe functionality out of util; prepare for release, gnunet, 2018/01/04
- [GNUnet-SVN] [gnunet] 156/171: -add stats, gnunet, 2018/01/04