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

The final oxidation 🥊 🥇 #4515

Merged
merged 132 commits into from
Jun 9, 2023
Merged

The final oxidation 🥊 🥇 #4515

merged 132 commits into from
Jun 9, 2023

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    fe8ebf0 View commit details
    Browse the repository at this point in the history
  2. Make explicit the list of crates in Cargo.toml (simplify work between…

    … branches with different crates)
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    cc9d4dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23bd06a View commit details
    Browse the repository at this point in the history
  4. Make libparsec_tests_macros only depend on libparsec_tests_fixtures (…

    …instead of libparsec_testbed) to simplify dependencies on user crate
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    2bf3a24 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3fbb4e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f5013ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d337153 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0124f49 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    30c3be5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    be05880 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    33e9fff View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2a255a5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3edf8e0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    aa2ba07 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4482e36 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0f49319 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c7f33c9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    136faa9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    af5faba View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5be0956 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    faaa1cb View commit details
    Browse the repository at this point in the history
  22. Rework serialization_format type parsing (needed for future auto-gene…

    …ration of python bindings), improve tests
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    ce8b719 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2169e38 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b00f961 View commit details
    Browse the repository at this point in the history
  25. Change ProtocolRequest to avoid clone on dump, replace AnyCmdReq::dum…

    …p by correct dump on each cmd's Req, rework protocol tests
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    6e1265b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    6dff4d2 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f29a4bc View commit details
    Browse the repository at this point in the history
  28. Minor correction in protocol schema

    `messaget_get` command had an invalid type for it nested type
    `Message.count`, this is purely cosmetic though given `Size` and
    `Index` (old and new types used) are actually handled in the
    same fashion by the serialization format.
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    320d7c0 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3a32374 View commit details
    Browse the repository at this point in the history
  30. Move load template code from run_testbed_server.py into `BackendApp.t…

    …est_load_template` (given it could be used for pythen tests)
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    cd704eb View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d3f946a View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0b1e4c6 View commit details
    Browse the repository at this point in the history
  33. Update APIv4(draft) schemas

    - Remove `wait` param from `events_listen` (uneeded given only SSE
      should have access to this command in APIv4)
    - Add `not_available` status to `events_listen` for when it is used
      outside of SSE
    - Modify `MessageReceived` event type in `events_listen` to return the
      message body (given it is small and it saves a roundtrip)
    - Add `CertificatesUpdated` event type to `events_listen`
    - remove `events_subscribe`,`human_find`,`realm_get_role_certificates`/`user_get`
      (replaced by the `certificate_get` command & `CertificatesUpdated` event)
    - add `bad_timestamp`&`require_greater_timestamp` response statuses for all
        commands doing modications
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    27c3a98 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    1d32a72 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    567b8ff View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    fd34a88 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    05395dd View commit details
    Browse the repository at this point in the history
  38. WIP: Fix server tests

    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    706f45c View commit details
    Browse the repository at this point in the history
  39. Fix cmds use after changes in APIv4(draft) makes it incompatible with…

    … APIv3 (removal of events_subscribe & new rep statuses)
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    2fd8dbb View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    6107ee4 View commit details
    Browse the repository at this point in the history
  41. Rework SSE API and make it only available for APIv4

    - SSE requires a correct request payload (i.e. `events_listen` command) this
      make possible future changes where the client could optin/out of events types
    - SSE uses POST verb (instead of GET), this is required given previous point
      and provide consistency with the default RPC
    - SSE connection is correctly closed if the user is no longer legitimate
     (e.g. in case of user revocation)
    - APIv3 is not allow on SSE, this simplify the implementation and has no use anyway
    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    e007f9f View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    154593a View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    dcd9d7d View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    b897bcd View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    abf7f03 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    74e2e1f View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    f2bec36 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    34f7837 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    32287f3 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ec2a566 View commit details
    Browse the repository at this point in the history
  51. wip client

    touilleMan committed May 9, 2023
    Configuration menu
    Copy the full SHA
    1d2db1f View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    eb3152d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e26f646 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c49eab9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dce7d83 View commit details
    Browse the repository at this point in the history
  5. Rename manifest_unverified_load -> manifest_unsecure_load, we want to…

    … stress this has security implication if not used properly !
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    4095afc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b39ba2e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    794b35e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ca46fc7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7b2e231 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c125461 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2b624f7 View commit details
    Browse the repository at this point in the history
  12. Expose user/workspace/certificate sub modules in platform_storage to …

    …avoid needing long and combersome error names
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    035c04d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f898b2e View commit details
    Browse the repository at this point in the history
  14. wip

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    380fe2f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1ad0ad3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    632380f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cf573a1 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    aad693d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d4223d4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6cd9c54 View commit details
    Browse the repository at this point in the history
  21. Fix typos

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e2d500e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e72f164 View commit details
    Browse the repository at this point in the history
  23. Update libparsec_client

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    b36f2d7 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    44c8503 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2638696 View commit details
    Browse the repository at this point in the history
  26. Add comment in local_device.json5 schema about profile field interrac…

    …tion with UserUpdateCertificate
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    0eab509 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0d4d511 View commit details
    Browse the repository at this point in the history
  28. Improve libparsec_types

    - add UserUpdateCertificate
    - improve IndexInt support
    - support common unsecure_load for SequesterServiceCertificate
    - rename profile -> initial_profile in UserCertificate
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    bc181fa View commit details
    Browse the repository at this point in the history
  29. Update APIv4(draft) schemas:

    - Add bad_timestamp error status in device_create
    - replace timestamp by index in events_listen & certificate_get
    - Return certificate index in vlob_read
    - rename fields in message_get response for consistency with events_listen
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e97d6b2 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    f815a55 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    44f288d View commit details
    Browse the repository at this point in the history
  32. Update python bindings

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    6801091 View commit details
    Browse the repository at this point in the history
  33. Update .pyi files

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    a5ee72c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a69875b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    da37ab6 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    c2e6d33 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    b12154e View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    05344c9 View commit details
    Browse the repository at this point in the history
  39. Fix Python bindings

    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ddeab29 View commit details
    Browse the repository at this point in the history
  40. Remove parsec core code & tests

    Core is currently broken and planned to be replaced by the Rust client,
    so better remove it now to cleanup the codebase ^^
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e33c379 View commit details
    Browse the repository at this point in the history
  41. Improve libparsec_crypto::VerifyKey::unsecure_unwrap handling of too …

    …small data and add related tests
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    f4d0b9a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    eb71d78 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    1543ce7 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    6c02396 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    f4bc929 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    2e1ed85 View commit details
    Browse the repository at this point in the history
  47. Remove DeviceFileType custom decoding from python msgpack unpacking

    As enum, DeviceFileType is only serialized as a string (and given packing doesn't
    support this custom extension, it should have never been used anyway
    )
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    9c5c510 View commit details
    Browse the repository at this point in the history
  48. Remove ApiVersion custom extension from python msgpack packing/unpacking

    ApiVersion field is only used in the hanshake protocol, and is serialized
    as a tuple.
    Funny enough, the only place where this custom extension was used was in
    the tests (so the generated payload was incorrect, but it worked anyway
    because once deserialized ApiVersion is a tuple so it could be deserialize
    again by the actual desialization code !)
    touilleMan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    7985f48 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    bf28638 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    0c2df83 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    78a0a82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3104543 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9efafc4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e50e11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6edacdd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9720b4d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    30ca107 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    717f6fb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9878566 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3db8f5f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    670ffe5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    21dbb79 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    acc21d2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4637bc9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aecc45b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    20feadb View commit details
    Browse the repository at this point in the history
  17. Cleanup core references

    touilleMan committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    9064206 View commit details
    Browse the repository at this point in the history
  18. Rust tests's testbed support both TESTBED_SERVER and TESTBED_SERVER_U…

    …RL env var (compat with client tests)
    touilleMan committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    c8fc7a7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f09e8d7 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0568437 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    18e0395 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    13e7fda View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    678eeb5 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6098008 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4ac071c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    337d559 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    2379307 View commit details
    Browse the repository at this point in the history
  2. Remove oxidation/generate_test_data/ (we don't need to re-generate th…

    …e same protocol payload examples)
    touilleMan committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    19c9591 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb47a24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6fe5a66 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a87ecb View commit details
    Browse the repository at this point in the history