You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
An ArgumentError is now raised when a named encrypted argument cannot be matched to a parameter of the worker's perform method or when the worker class name cannot be resolved to a class. Previously these arguments were silently left unencrypted.
Fixed
Setting the secret to an empty value (e.g. an empty array or empty string) no longer silently disables encryption. An InvalidSecretError is now raised when encrypting or decrypting if no secret is available.
The client middleware no longer mutates the caller's arguments array in place when encrypting arguments.
Lazily initializing the encryption keys from the SIDEKIQ_ENCRYPTED_ARGS_SECRET environment variable is now thread safe.