aboutsummaryrefslogtreecommitdiff
path: root/src/credential/gnunet-service-credential.c
Commit message (Collapse)AuthorAge
* Renamed credential service to abd, replaced all related functions, ↵Andreas Ebner2019-10-07
| | | | parameters, etc
* Proper print on add callback, fixed return value in .._start, both cases ↵Andreas Ebner2019-10-07
| | | | require same handling therefore same return value
* Cleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:Andreas Ebner2019-10-07
| | | | | | | - 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)
* Bugfixes, changed test reporting behavior, modified intermediate result ↵Andreas Ebner2019-10-07
| | | | | | | | | 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)
* Introduction of intermediate result reporting, removed some stuff, new test:Andreas Ebner2019-10-07
| | | | | | - 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
* Cleanup and fixes regarding bidirectional search and the test.sh files:Andreas Ebner2019-10-07
| | | | | | | | | | | | - 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
* Bidirectional implementation finished, more complex tests for bidirectional, ↵Andreas Ebner2019-10-07
| | | | | | | | | | | | | | 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
* 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
* 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
* global reindent, now with uncrustify hook enabledChristian Grothoff2019-10-05
|
* uncrustify as demanded.ng02019-09-08
|
* memcmp() -> GNUNET_memcmp(), first takeJulius Bünger2019-04-26
|
* fix memleaksSchanzenbach, Martin2019-04-16
|
* CREDENTIAL: Fix build with new APIsSchanzenbach, Martin2019-04-15
|
* src: for every AGPL3.0 file, add SPDX identifier.ng02019-01-14
|
* paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX2018-06-05
|
* get rid of plain memcpy callsChristian Grothoff2018-05-13
|
* add option to disable namecache, add velocity calculation and delay ↵Christian Grothoff2018-04-29
| | | | correction to zonemaster, fix some ftbfs from recent NAMESTORE API change
* bugfixesSchanzenbach, Martin2018-01-08
|
* -cleanup doc; fixesSchanzenbach, Martin2018-01-04
|
* -fixSchanzenbach, Martin2017-04-24
|
* -fix API changesSchanzenbach, Martin2017-04-21
|
* -add tokens for credentialsSchanzenbach, Martin2016-12-29
|
* -update restSchanzenbach, Martin2016-12-28
|
* -change apiSchanzenbach, Martin2016-12-28
|
* -fixSchanzenbach, Martin2016-12-19
|
* -fixesSchanzenbach, Martin2016-12-18
|
* -fixes, prettifySchanzenbach, Martin2016-12-14
|
* -towards type4Schanzenbach, Martin2016-12-14
|
* -fixSchanzenbach, Martin2016-12-14
|
* -fix gns mq; fix serializerSchanzenbach, Martin2016-12-14
|
* -add serializerSchanzenbach, Martin2016-12-14
|
* -fix memleaksSchanzenbach, Martin2016-12-13
|
* -add parallel delegationr resolutionSchanzenbach, Martin2016-12-13
|
* -more restSchanzenbach, Martin2016-12-13
|
* - fix; more recognizable case in testSchanzenbach, Martin2016-12-07
|
* - fix testSchanzenbach, Martin2016-12-07
|
* - add delegation resolutionSchanzenbach, Martin2016-12-07
|
* -start delegation; cleanupSchanzenbach, Martin2016-12-07
|
* - add signature checkSchanzenbach, Martin2016-12-07
|
* - add simple verificationSchanzenbach, Martin2016-12-06
|
* Merge branch 'credentials' of git+ssh://gnunet.org/gnunet into credentialsAdnan H2016-12-06
|\
| * -fixSchanzenbach, Martin2016-12-06
| |
| * -add expiration to credSchanzenbach, Martin2016-12-06
| |