diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-14 18:24:13 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-14 18:24:13 +0100 |
commit | df8660ffec05d108d59de191ddc5114c4678a362 (patch) | |
tree | b99c80f689bf07f2a999c6abbfb1f042c1bdedf6 /src | |
parent | 7064aca619f59b7c19ff7e8c645d48995728a66c (diff) | |
download | gnunet-df8660ffec05d108d59de191ddc5114c4678a362.tar.gz gnunet-df8660ffec05d108d59de191ddc5114c4678a362.zip |
-move to reclaim
Diffstat (limited to 'src')
-rw-r--r-- | src/did/.gitignore | 2 | ||||
-rw-r--r-- | src/did/Makefile.am | 37 | ||||
-rw-r--r-- | src/did/default_did_document.json | 15 | ||||
-rw-r--r-- | src/reclaim/Makefile.am | 22 | ||||
-rw-r--r-- | src/reclaim/gnunet-did.c (renamed from src/did/gnunet-did.c) | 0 | ||||
-rw-r--r-- | src/reclaim/test_w3c_ed25519_2020.c (renamed from src/did/test_w3c_ed25519_2020.c) | 0 |
6 files changed, 20 insertions, 56 deletions
diff --git a/src/did/.gitignore b/src/did/.gitignore deleted file mode 100644 index d47f720ff..000000000 --- a/src/did/.gitignore +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | test_w3c_ed25519_2020 | ||
2 | gnunet-did | ||
diff --git a/src/did/Makefile.am b/src/did/Makefile.am deleted file mode 100644 index 3f5e3f34b..000000000 --- a/src/did/Makefile.am +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | if USE_COVERAGE | ||
7 | AM_CFLAGS = --coverage -O0 | ||
8 | XLIB = -lgcov | ||
9 | endif | ||
10 | |||
11 | bin_PROGRAMS = \ | ||
12 | gnunet-did | ||
13 | |||
14 | gnunet_did_SOURCES = \ | ||
15 | gnunet-did.c | ||
16 | gnunet_did_LDADD = \ | ||
17 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
18 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
19 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
20 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
21 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
22 | -ljansson | ||
23 | |||
24 | |||
25 | check_PROGRAMS = \ | ||
26 | test_w3c_ed25519_2020 | ||
27 | |||
28 | test_w3c_ed25519_2020_SOURCES = \ | ||
29 | test_w3c_ed25519_2020.c | ||
30 | test_w3c_ed25519_2020_LDADD = \ | ||
31 | $(top_builddir)/src/util/libgnunetutil.la | ||
32 | |||
33 | if ENABLE_TEST_RUN | ||
34 | TESTS = $(check_PROGRAMS) | ||
35 | endif | ||
36 | |||
37 | |||
diff --git a/src/did/default_did_document.json b/src/did/default_did_document.json deleted file mode 100644 index 61675a886..000000000 --- a/src/did/default_did_document.json +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | { | ||
2 | "@context": [ | ||
3 | "https://www.w3.org/ns/did/v1", | ||
4 | "https://w3id.org/security/suites/ed25519-2020/v1" | ||
5 | ], | ||
6 | "id": "did:example:123", | ||
7 | "authentication": [ | ||
8 | { | ||
9 | "id": "did:example:123#z6MkecaLyHuYWkayBDLw5ihndj3T1m6zKTGqau3A51G7RBf3", | ||
10 | "type": "Ed25519VerificationKey2020", | ||
11 | "controller": "did:example:123", | ||
12 | "publicKeyMultibase": "zAKJP3f7BD6W4iWEQ9jwndVTCBq8ua2Utt8EEjJ6Vxsf" | ||
13 | } | ||
14 | ] | ||
15 | } \ No newline at end of file | ||
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am index 350d77d4b..6b5934a2f 100644 --- a/src/reclaim/Makefile.am +++ b/src/reclaim/Makefile.am | |||
@@ -43,7 +43,8 @@ plugin_LTLIBRARIES = \ | |||
43 | $(REST_PLUGIN) | 43 | $(REST_PLUGIN) |
44 | 44 | ||
45 | bin_PROGRAMS = \ | 45 | bin_PROGRAMS = \ |
46 | gnunet-reclaim | 46 | gnunet-reclaim \ |
47 | gnunet-did | ||
47 | 48 | ||
48 | libexec_PROGRAMS = \ | 49 | libexec_PROGRAMS = \ |
49 | gnunet-service-reclaim | 50 | gnunet-service-reclaim |
@@ -187,13 +188,30 @@ test_reclaim_attribute_LDADD = \ | |||
187 | libgnunetreclaim.la \ | 188 | libgnunetreclaim.la \ |
188 | $(GN_LIBINTL) | 189 | $(GN_LIBINTL) |
189 | 190 | ||
191 | gnunet_did_SOURCES = \ | ||
192 | gnunet-did.c | ||
193 | gnunet_did_LDADD = \ | ||
194 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
195 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
196 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
197 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
198 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
199 | -ljansson | ||
200 | |||
201 | |||
202 | test_w3c_ed25519_2020_SOURCES = \ | ||
203 | test_w3c_ed25519_2020.c | ||
204 | test_w3c_ed25519_2020_LDADD = \ | ||
205 | $(top_builddir)/src/util/libgnunetutil.la | ||
206 | |||
190 | check_SCRIPTS = \ | 207 | check_SCRIPTS = \ |
191 | test_reclaim_attribute.sh \ | 208 | test_reclaim_attribute.sh \ |
192 | test_reclaim_issue.sh \ | 209 | test_reclaim_issue.sh \ |
193 | test_reclaim_consume.sh | 210 | test_reclaim_consume.sh |
194 | 211 | ||
195 | check_PROGRAMS = \ | 212 | check_PROGRAMS = \ |
196 | test_reclaim_attribute | 213 | test_reclaim_attribute \ |
214 | test_w3c_ed25519_2020 | ||
197 | 215 | ||
198 | if ENABLE_TEST_RUN | 216 | if ENABLE_TEST_RUN |
199 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | 217 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; |
diff --git a/src/did/gnunet-did.c b/src/reclaim/gnunet-did.c index 2ebef7601..2ebef7601 100644 --- a/src/did/gnunet-did.c +++ b/src/reclaim/gnunet-did.c | |||
diff --git a/src/did/test_w3c_ed25519_2020.c b/src/reclaim/test_w3c_ed25519_2020.c index e2534e6ab..e2534e6ab 100644 --- a/src/did/test_w3c_ed25519_2020.c +++ b/src/reclaim/test_w3c_ed25519_2020.c | |||