[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reclaim not storing value
From: |
accounts-gnunet |
Subject: |
reclaim not storing value |
Date: |
Fri, 21 Oct 2022 16:52:07 +0100 |
Reclaim credentials aren't returned after adding.
Example: (the secret is bogus)
[lash@alto ~]$ jwt encode -a "anyone" -i "metoo" -n 0 -P "foo=bar" --secret
b64:MmMyNmI0NmI2OGZmYzY4ZmY5OWI0NTNjMWQzMDQxMzQxMzQyMmQ3MDY0ODNiZmEwZjk4YTVlODg2MjY2ZTdhZSAgLQo=
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhbnlvbmUiLCJmb28iOiJiYXIiLCJpYXQiOjE2NjYzNjY5NDQsImlzcyI6Im1ldG9vIiwibmJmIjowfQ.MU-XCuKq-fZlWEizrGHuBDG8AxduBXqJn91OeRizLiQ
[lash@alto ~]$ jwt decode
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhbnlvbmUiLCJmb28iOiJiYXIiLCJpYXQiOjE2NjYzNjY5NDQsImlzcyI6Im1ldG9vIiwibmJmIjowfQ.MU-XCuKq-fZlWEizrGHuBDG8AxduBXqJn91OeRizLiQ
Token header
------------
{
"typ": "JWT",
"alg": "HS256"
}
Token claims
------------
{
"aud": "anyone",
"foo": "bar",
"iat": 1666366944,
"iss": "metoo",
"nbf": 0
}
[...]
melvin@debian:~/src/gnunet$ gnunet-identity -d
llljjj - 000G003C4GM194AXDJ67V1H5S5ASVJ3JY798ZEP04MKMBXQGV8KK1XFV40 - ECDSA
melvin@debian:~/src/gnunet$ gnunet-reclaim -e "llljjj" \
--credential-name="name" \
--credential-type="JWT" \
--value="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhbnlvbmUiLCJmb28iOiJiYXIiLCJpYXQiOjE2NjYzNjY3NDUsImlzcyI6Im1ldG9vIiwibmJmIjowfQ.pT7dTrI-jL-iyUzWPXUoQ-QpoE7B90Azk-PbE6P9qSA"
melvin@debian:~/src/gnunet$ gnunet-reclaim -e llljjj -D
melvin@debian:~/src/gnunet$
...
Besides that, gnunet-reclaim -e xxx -D often ends up hanging and has to be
sigkilled.
---
I'm running in a pristine qemu on debian bullseye;
melvin@debian:~/src/gnunet$ gnunet-bugreport
INFO: gnunet-bugreport 0.11.0
INFO:
INFO: Please submit the following
INFO: information with your bug report:
=========================================
INFO: OS : Linux
INFO: OS RELEASE : 5.10.0-19-amd64
INFO: HARDWARE : x86_64
INFO: awk : Found
INFO: gcc : gcc (Debian 10.2.1-6) 10.2.1 20210110
INFO: cc : cc (Debian 10.2.1-6) 10.2.1 20210110
WARNING: c++ : Not Found
INFO: clang :
INFO: clang++ :
WARNING: make : Not Found (unexpected result)
INFO: gmake : 4.3
INFO: autoconf : 2.69
INFO: automake : 1.16.3
INFO: libtool : 2.4.6
INFO: GNUnet : 0.17.6
INFO: git commit : 63147d301888e9f78b72c96b746a04f8a1769e04
INFO: libgcrypt : 1.8.8
INFO: mysql : Not Found
INFO: pkgconf : Not Found
INFO: pkg-config : 0.29.2
INFO: glib2 :
INFO: GTK2 : Not found
INFO: GTK3 : Not found
INFO: GTK4 :
INFO: GMP : libgmp-dev-2:6.2.1+dfsg-1+deb11u1.deb
INFO: libunistring : libunistring3-dev-0.9.10-4.deb
INFO: GNU gettext : 0.21
INFO: gettext : Found
INFO: libcurl : 7.74.0
INFO: libgnurl : Not found
WARNING: libgnurl or libcurl : Not found
INFO: libmicrohttpd : 97200
bugreport-glpk_check.c:1:10: fatal error: glpk.h: No such file or directory
1 | #include <glpk.h>
| ^~~~~~~~
compilation terminated.
/home/melvin/src/gnunet/build/usr/local/bin/gnunet-bugreport: 1:
./bugreport-glpk_check.c.bin: not found
INFO: GNU GLPK :
INFO: GnuTLS : 3.7.1
=========================================
signature.asc
Description: PGP signature
- reclaim not storing value,
accounts-gnunet <=