Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for new out-of-band protocol #531

Closed
wants to merge 46 commits into from

Commits on Jan 19, 2022

  1. Create OOB invitation

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    74f3ec7 View commit details
    Browse the repository at this point in the history
  2. Receive OOB connection invitaion

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    e31cafb View commit details
    Browse the repository at this point in the history
  3. Send and recevie request via OOB invitation

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    103ebb3 View commit details
    Browse the repository at this point in the history
  4. Separate OOB invitation and OOB message handling

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    6528488 View commit details
    Browse the repository at this point in the history
  5. Refactor and get rid of unnecessary dependencies to dispatcher and me…

    …ssage receiver
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ab6ec4e View commit details
    Browse the repository at this point in the history
  6. Allow undefined handshake protocols and request attach attributes

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    5cf076d View commit details
    Browse the repository at this point in the history
  7. Remove unused code and logs

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    90b41d6 View commit details
    Browse the repository at this point in the history
  8. Rename oob tests wallets

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    c4ca249 View commit details
    Browse the repository at this point in the history
  9. Add small changes based on review

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    5388c81 View commit details
    Browse the repository at this point in the history
  10. Extract getting supported handshake protocols into discover service

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    07cf37c View commit details
    Browse the repository at this point in the history
  11. Pass all oob message props via constructor

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    8e2129e View commit details
    Browse the repository at this point in the history
  12. Unify create and receive oob message methods

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    f108330 View commit details
    Browse the repository at this point in the history
  13. Create OOB message with both handshake and requests

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    114e45b View commit details
    Browse the repository at this point in the history
  14. Accept OOB message with both handshake and requests

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    7f637a2 View commit details
    Browse the repository at this point in the history
  15. Check if handshake protocols are supported

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ee7ea3a View commit details
    Browse the repository at this point in the history
  16. Wait until the connection is made before processing requests

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    eeb0b3d View commit details
    Browse the repository at this point in the history
  17. Reuse connection when it exists

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    d7edbf0 View commit details
    Browse the repository at this point in the history
  18. Refactor logic when connection already exists

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    b7acb63 View commit details
    Browse the repository at this point in the history
  19. Refactor finding of existing connection

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ade0982 View commit details
    Browse the repository at this point in the history
  20. Omit version from handshake protocol list

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    5c9b2a4 View commit details
    Browse the repository at this point in the history
  21. Update public API and reorganize folder structure

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    dcf5668 View commit details
    Browse the repository at this point in the history
  22. Add oob invitation encoding and decoding

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    3a7c38f View commit details
    Browse the repository at this point in the history
  23. Use filter method for handshake protocols from dispatcher

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    d7be64e View commit details
    Browse the repository at this point in the history
  24. Create a new connection instead of reusing an existing one

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    dc6d85c View commit details
    Browse the repository at this point in the history
  25. Update according to main branch API changes

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    01fd06b View commit details
    Browse the repository at this point in the history
  26. Use connections module instead of service

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    a12a0e8 View commit details
    Browse the repository at this point in the history
  27. Add support for old url encoded connection invitation

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    7ec4938 View commit details
    Browse the repository at this point in the history
  28. Iterate over all services and reciepient keys to find a connection

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    8514b8a View commit details
    Browse the repository at this point in the history
  29. Replace custom event handler with async method provided by framework

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ab38518 View commit details
    Browse the repository at this point in the history
  30. Update types

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    0c5e807 View commit details
    Browse the repository at this point in the history
  31. Pass connection label to old invitation message

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    95af882 View commit details
    Browse the repository at this point in the history
  32. Rename unpack to plaintext

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    e47d834 View commit details
    Browse the repository at this point in the history
  33. Add thread to handshake reuse message

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    97acfcf View commit details
    Browse the repository at this point in the history
  34. Code review updates mainly about API and docs

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    654be67 View commit details
    Browse the repository at this point in the history
  35. Allow dids in services attribute of oob message

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    9895bd4 View commit details
    Browse the repository at this point in the history
  36. Process only first supported requests message

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    b8fa0c2 View commit details
    Browse the repository at this point in the history
  37. Throw error when there are no services in connection record

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    0769c48 View commit details
    Browse the repository at this point in the history
  38. Refactor get requests method

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    13ad50d View commit details
    Browse the repository at this point in the history
  39. Log error insted of commented code

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    27578b9 View commit details
    Browse the repository at this point in the history
  40. Update api after rebase

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    2f11716 View commit details
    Browse the repository at this point in the history
  41. Throw error instead of resolving did from services attribute

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    697b6cb View commit details
    Browse the repository at this point in the history
  42. Update structure of oob tests

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ae94713 View commit details
    Browse the repository at this point in the history
  43. Add connection record to received message event

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    1e5cbf1 View commit details
    Browse the repository at this point in the history
  44. Update test of oob with requests witg parsing of encoded invitation

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    c939b01 View commit details
    Browse the repository at this point in the history
  45. Make label mandatory

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ecc3830 View commit details
    Browse the repository at this point in the history
  46. Update receive message method signature

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    af2e53f View commit details
    Browse the repository at this point in the history