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: 0.2.0 connection migration script #731

Commits on Apr 26, 2022

  1. Create OOB invitation

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    9539a95 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    598ad08 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f4dce71 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    255bebe 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    4cd8dd9 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    81d51df 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    6b76b70 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b9e4816 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    bd8ec83 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d38e480 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f68b11a 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    077be04 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0e0c1c5 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d49821a 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    4360f90 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d1abc7c 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b3343b4 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    7f0c24e 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    941b9b7 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    83396d3 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b326310 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    bc05c3d 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    ffd6b78 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    ac36ff4 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    8038ea9 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f402b84 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    29a244d 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    8a595a2 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    661c5cd 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    111e658 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a396dcb 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    e864792 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    e9f56fc 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    376f86e 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    e0ee539 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    4ad262d 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    caed198 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a435fa0 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    2fe1f2b 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    5c220b3 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    64e0bf4 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b47560a 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f917ef5 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    ce61a45 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f10d3a8 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 Apr 26, 2022
    Configuration menu
    Copy the full SHA
    6f0739d View commit details
    Browse the repository at this point in the history
  47. Updates after rebase

    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    ba21f83 View commit details
    Browse the repository at this point in the history
  48. feat(core): did-exchange protocol (openwallet-foundation#615)

    * Create a new connection instead of reusing an existing one
    * Add did doc signature
    * Add state machine and state updates
    * Add did exchange handlers
    * Add did exchange protocol to connections module
    * Make it work with peer dids
    * Revert changes in old authentication and public key tranformations
    * Allow to set hanshake protocol when creating oob message
    * Extract did exchange state machine
    * Add generic way to get auth public key from diddoc
    * Add did exchange problem report
    * Iterate over all service endpoints
    * Allow only numalgo 1 and peer dids inside message
    * Send stored variant of did document in message
    * Update accepted didcomm profiles
    * Add routing keys as verification methods and use publicBase58 keys in service
    * Add oob test with mediation
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    877514d View commit details
    Browse the repository at this point in the history
  49. feat(core): add OOB record (openwallet-foundation#655)

    * Add oob record and make it work with did exchange
    * Make oob work also with connection protocol
    * Add auto accept connection flag to create oob config
    * Save oob record when receiving message
    * Separate accept invitation according to handshake protocol
    * Use oob record for connections protocol initiated by oob message
    * Add oob service to access repository
    * Add oob record state update
    * Iterate over all endpoints in routing
    * Use uniqe array of keys from all services
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    37a28f1 View commit details
    Browse the repository at this point in the history
  50. feat: Replace old oob invitation with the new one (openwallet-foundat…

    …ion#676)
    
    * Separate OOB invitation and OOB message handling
    * Replace create connection method with oob
    * Update oob API with default values and remove old invitation methods
    * Rename oob method to use invitation instead of message
    * Split making a mediation connection and provisioning mediation
    * Expose method to create legacy connection invitation
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b317d8c View commit details
    Browse the repository at this point in the history
  51. test: reuse connection create and process request tests (openwallet-f…

    …oundation#680)
    
    * Refactor assert state, role and rename methods
    * Narrow oob state checks
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f819960 View commit details
    Browse the repository at this point in the history
  52. refactor: remove verkeys and did docs from connection record (openwal…

    …let-foundation#687)
    
    * Remove verkey and theirKey from connection record
    * Remove did docs from connection record
    * Reuse oob keys for created connection
    * Remove check for peer did and rename sender did doc to our did doc
    * Assume one did record per recipient or sender key
    * Resolve did doc instead of fetch from repository
    * Take only auth keys as their verkeys when storing did record
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    783824e View commit details
    Browse the repository at this point in the history
  53. feat: find existing connection based on invitation did (openwallet-fo…

    …undation#698)
    
    * Extract creation of did doc from services
    * Create peer did from service and store it as invitation did
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    9399a71 View commit details
    Browse the repository at this point in the history
  54. fix: use new oob instead of connections

    It fixes changes after rebase
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    2b73215 View commit details
    Browse the repository at this point in the history
  55. feat: use did keys for oob and did exchange protocols (openwallet-fou…

    …ndation#700)
    
    * Use instance of Key in message context
    
    Signed-off-by: Jakub Koci <jakub.koci@gmail.com>
    jakubkoci committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    fe463af View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2022

  1. test: remove all inline loggers

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    337d6a2 View commit details
    Browse the repository at this point in the history
  2. feat: 0.2.0 migration script for connections

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    f18c731 View commit details
    Browse the repository at this point in the history
  3. test: mock uuid for consistent snapshots

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    d4a5176 View commit details
    Browse the repository at this point in the history
  4. fix: default metadata type

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    9d18de4 View commit details
    Browse the repository at this point in the history
  5. docs: add connection migration docs

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    8b4349f View commit details
    Browse the repository at this point in the history
  6. fix: add logs remove fixmes

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    428da75 View commit details
    Browse the repository at this point in the history
  7. test: add test for oob already exists

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    a799116 View commit details
    Browse the repository at this point in the history
  8. feat: connection state and role migration script

    Signed-off-by: Timo Glastra <timo@animo.id>
    TimoGlastra committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    51ccb05 View commit details
    Browse the repository at this point in the history