-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
When trying to use the JS SDK (when in HTTP mode) the encrypt
and decrypt
methods are blocked, by throwing the following exception :
'crypto.decrypt' is not available using the HTTP APIs
Please remove these checks so that it does not unexpectedly block these methods.
The docs say
While both HTTP and gRPC are supported in the alpha release, using the gRPC APIs with the supported Dapr SDKs is the recommended approach for cryptography.
This recommendation is only important for payloads of significant size (buffering vs streaming), therefor this hard constraint in the SDK is not accurate and overly-restrictive, and presents another unexpected hurdle to developers who just want to make progress.
Metadata
Metadata
Assignees
Labels
No labels