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

Decrypt API Rework #560

Merged
merged 21 commits into from
Aug 20, 2024
Merged

Decrypt API Rework #560

merged 21 commits into from
Aug 20, 2024

Commits on Aug 15, 2024

  1. Simplify calls to retrieveAndDecrypt and retrieve. We don't need to g…

    …et the ritual so early; obtaining it later saves us from passing additional parameters.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    38eca23 View commit details
    Browse the repository at this point in the history
  2. Allow creation of Context from a message kit.

    Allow Context to be created with a condition, and subsequently populated with authProviders and customParameters.
    Make :userAddressExternalEIP4361 a reserved context variable because the context will use the provided authProviders to populate its (and :userAddress) values in the overall context used for decryption.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    bb99d4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee262c4 View commit details
    Browse the repository at this point in the history
  4. Allow ConditionContext to be an optional parameter for decryption; it…

    … replaces authProvider and customParmeters since those are now encompassed in the context itself.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    9e443e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2c8358 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68788f6 View commit details
    Browse the repository at this point in the history
  7. Reconfigure taco-auth providers folder to have an eip4361 folder and …

    …common elements for both ei4361 provider and single sign-on provider.
    
    Move user address context variable for external eip4361 to taco-auth as well.
    Update relevant imports.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    53a83d2 View commit details
    Browse the repository at this point in the history
  8. Move RESERVED_CONTEXT_VARIABLES constant to context module since it i…

    …s the only thing using it.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    9c5548c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dce202a View commit details
    Browse the repository at this point in the history
  10. Update nodejs example used for CI job to pass ConditionContext instea…

    …d of directly passing auth provider.
    
    Expose USER_ADDRESS_PARAM* constants from taco for now.
    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4f7c2ac View commit details
    Browse the repository at this point in the history
  11. Appease linter.

    derekpierre committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    e613d3a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e9e332f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3c7cefb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cfc669d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8a751c6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    83585f4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8c30bc4 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Construct a PorterClient earlier in the call stack for decrypt(), and…

    … then pass the client to calls later in the stack instead of passing around the porterUri(s).
    derekpierre committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    81d9006 View commit details
    Browse the repository at this point in the history
  2. Update variable naming for ConditionContext to clarify that they are …

    …related to context parameters.
    derekpierre committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    e872fff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99732a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    1e528aa View commit details
    Browse the repository at this point in the history