aboutsummaryrefslogtreecommitdiff
path: root/src/credential/test_credential_own.sh
Commit message (Collapse)AuthorAge
* Unfinished implementation of bidirectional search:Andreas Ebner2019-10-07
| | | | | | | - queue to add all currently found nodes - backward_resolution implementation of what to do when you find a matching one - new test for bidirecitonal search - still a lot to do / still has a lot of prints and comments that need to be removed
* Removed GNUNET_CREDENTIAL_Credential, new cmdline parameters, formatting:Andreas Ebner2019-10-07
| | | | | | | | | | - removed all files and functions related to GNUNET_CREDENTIAL_Credential, has been replaced by GNUNET_CREDENTIAL_Delegate - renamed cmline parameter 'credential' - added cmline parameter for backward/forward search and a related enum - added cmline parameter to store private delegates - only private delegates are used as start/end of the search algorithm (set to vrh in collect) - run valgrind: no memory exceptions - run clang-format
* Clean up and renamingAndreas Ebner2019-10-07
| | | | | | | - renamed a lot of variables/functions that no longer serve credential but delegate - correct printouts likewise - cleaned up test_credential_own.sh to use credential service issuer side storage - removed credential related parameters from VerifyRequestHandle struct
* Updated fw/bw algo, collect, and verify (still some things left to do)Andreas Ebner2019-10-07
| | | | | | | - collect/verify now use delegate instead of credential - parameter in api messages to indicate the direction of the resolution - fw algo sets delegation_chain and ref_count on solution find - namestore lookup instead of iteration to get all delegates from starting/goal subject
* Run clang format over some files, experimental implementation of forward ↵Andreas Ebner2019-10-07
| | | | algorithm
* Cleanup, additional input checks, renaming, simplification:Andreas Ebner2019-10-07
| | | | | | | | | | | - introducing own GNUNET_SIGNATURE_PURPOSE_DELEGATE - renaming of cred/crd in delegation_misc.c - renamed extension cmd para to import - changed subject key/attr parsing from memcpy/malloc to strtok - only allow to create delegates to expire absolute not relative (prevent reusing created delegation signatures) - check subject key and reuse expiration of import/signed delegation - replaced strdup() part of delegation_misc.c and credential_serialization.c with pointers - uncommented return after detection of unverifyable signatures
* Implemented delegate sign and store function for GNS entries:Andreas Ebner2019-10-07
| | | | | | | | - functions to store and sign delegates (all types) including serialization/string_to_value/.. - solved (almost) all TODOs - some renaming and cleanup in gnunet-credential.c - valgrind checked - test file adapted accordingly
* Handle all credential storage via credential service, prepared for subject ↵Andreas Ebner2019-10-07
side storage - new commandline parameters - new gns record type: DELEGATE for subject side storage - credential connection to namestore - store all credentials via credential service (replacing namestore) - stable, but experimental implementation, atm just using existing methods, next step: introduce own methods and replace/rename existing variables