summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-14po/POTFILES.inng0
2019-10-14Merge branch 'master' of gnunet.org:gnunetng0
2019-10-14Changelogng0
2019-10-14fix the previous uncrustify commit.ng0
2019-10-14gitignore yapfng0
2019-10-14readd reclaimSchanzenbach, Martin
2019-10-14'make pretty' rule using uncrustify, detect uncrustify in configure script.ng0
closes #5904
2019-10-14sort(1) os names.ng0
2019-10-14fix typo in Changelogng0
2019-10-14we're at 0.11.xng0
closes #5801
2019-10-12add yapf styleng0
2019-10-12more python formatng0
2019-10-12format pythonng0
2019-10-12yapf format.ng0
2019-10-12Merge branch 'master' of ssh://git.gnunet.org/gnunetxrs
2019-10-12fixed formatting and policy issuesxrs
2019-10-11add GNUNET_PQ_reconnect_if_downChristian Grothoff
2019-10-11libgnunetpq API change to fix #5733Christian Grothoff
2019-10-11we probably want to actually test the syncSchanzenbach, Martin
2019-10-11fix non deterministic testSchanzenbach, Martin
2019-10-11add bug refSchanzenbach, Martin
2019-10-11make test compatible with macosSchanzenbach, Martin
2019-10-11add namestore rest testsSchanzenbach, Martin
2019-10-11fix rest; uncrustifySchanzenbach, Martin
2019-10-11fix changes in identitiesSchanzenbach, Martin
2019-10-09fix primary issue from #5907Christian Grothoff
2019-10-08allow to disable IP scan w/ HOLE_EXTERNAL; thanks Corvus CoraxSchanzenbach, Martin
2019-10-08use correct plugin name; thanks Corvus CoraxSchanzenbach, Martin
2019-10-07indentSchanzenbach, Martin
2019-10-07Removed rest files, updated makefileAndreas Ebner
2019-10-07Renamed credential service to abd, replaced all related functions, ↵Andreas Ebner
parameters, etc
2019-10-07Proper print on add callback, fixed return value in .._start, both cases ↵Andreas Ebner
require same handling therefore same return value
2019-10-07Fixed testAndreas Ebner
2019-10-07Test cleanup/fix:Andreas Ebner
- added missing "- -" to collect for macOS - replaced 'import $SIGNED' with 'import=$SIGNED' to match all other parameters and better visibility
2019-10-07Cleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:Andreas Ebner
- removed and/or implemented all remaining TODOs - fixed a bug in cleanup_handle() which caused to not cleanup correctly when a solution was prematurely found - delegation_chain_bw/fw_resolution_start() not has a return value to indicate whether a solution was prematurely found - cleaned up the test_... files (an additional cleanup commit might follow)
2019-10-07Bugfixes, changed test reporting behavior, modified intermediate result ↵Andreas Ebner
reporting: - fixed a memory error when serializing the delegations - all tests now handle the returned error code from the gnunet-credential.c via "ret" variable - intermediate reporting excluded during collect message - intermediate reporting now contains the direction (bw/fw)
2019-10-07Introduction of intermediate result reporting, removed some stuff, new test:Andreas Ebner
- new message, message type and api function to handle intermediate result reporting - removed GNUNET_SIGNATURE_PURPOSE_CREDENTIAL completely and the one usage that was still around - new test: AND with both parts having a bidirectional forward match
2019-10-07Cleanup and fixes regarding bidirectional search and the test.sh files:Andreas Ebner
- removed set_entries_head/tail from DQ entry (no longer needed, using vrh->dsq_head/tail for everything) - removed no longer required vrh->root_set (not working with forward search anyways as there are multiple root sets) - implemented cleanup for the dq entries in the queue_entries_head list of ds entries - added the part in cleanup handling the subject_attribute/_len to might help solve the last valgrind error (didnt work) - changed the way the ds_entry are inserted in the vrh->dsq_.. list: Now after creation of EVERY ds_entry it is inserted --> This solved an error resulting from uncanceled lookup_response handles - changed the test_credential...bi..sh files: + "- -" at the end of the collect statement, required for MacOS + fixed cleanup at the end to correctly remove entries from GNS
2019-10-07Bidirectional implementation finished, more complex tests for bidirectional, ↵Andreas Ebner
cleanup fix, todos done: - fixed cleanup to not cause errors and uncommented it again - added new tests for AND, linked roles and fw/bw - fixed an older bug to make test ..own_and2.sh work - replaced bidirectional matching of bw with unresolved_attribute.. (because it contains all the subject attributes/roles) - introduced extra function for bidirectional match handling (is the same for bw and fw and pretty long) - commandline: if not specified to use bw or fw search -> assume it's bidirectional - moved the bidirecitonal matching list to vrh and removed it from being global - valgrind on service (one error remaining, to be solved in future commits) - use the vrh->dsq_head/tail for the cleanup stuff
2019-10-07Unfinished implementation of bidirectional search:Andreas Ebner
- 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
2019-10-07Removed GNUNET_CREDENTIAL_Credential, new cmdline parameters, formatting:Andreas Ebner
- 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
2019-10-07Clean up and renamingAndreas Ebner
- 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
2019-10-07Updated fw/bw algo, collect, and verify (still some things left to do)Andreas Ebner
- 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
2019-10-07Run clang format over some files, experimental implementation of forward ↵Andreas Ebner
algorithm
2019-10-07Cleanup, additional input checks, renaming, simplification:Andreas Ebner
- 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
2019-10-07Implemented delegate sign and store function for GNS entries:Andreas Ebner
- 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
2019-10-07Handle all credential storage via credential service, prepared for subject ↵Andreas Ebner
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
2019-10-06more dead filesChristian Grothoff
2019-10-06remove dead, obsolete or never-to-become ATS logic (DCE)Christian Grothoff
2019-10-06dceChristian Grothoff