-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
An issue that may cause errors in background tasks #4663
Comments
@g123k That means always use the secure storage credentials, right? What if the user disconnects: we'll still try forever to run background tasks that will fail. Or assign it to our default user,
That said, it's somehow healthier not to store the password in background tasks, isn't it? |
@monsieurtanuki I think I have managed to work out the issue, at least in my case. It appears that the "£" character being used within a password seems to cause issues. I tested several different characters and lengths with different accounts and using that within another account's password seemed to cause issues on that account. Though I am unsure why this should be an issue if the password is being hashed before checked. |
Very interesting, @NixedSec! I'm not surprised that
Or it's a problem when we store securely the user/password. @stephanegigandet Typically they say something like lowercase, uppercase, digits and a restricted set of special characters - are there similar restrictions for user and password in OFF? |
Aha! I've changed my password in order to include a
BUT: I've encountered a problem with the new packagings feature, which is the only case to be saved with a PATCH request ( @stephanegigandet Any idea why the PATCH request would not accept a password with a
|
Hi everyone,
I have digged a little bit in the code today, trying to find some explanations for this kind of error:
Exception: Could not save product - [{impact: {id: failure, name: Failure, Ic_name: Failure}, message: {id: invalid_user_id_and_password, name: Invalid user id and password, Ic_name: Invalid user id and password}}]
I'm pretty sure there is also an issue on the server BUT we may have a loophole in our implementation:
Now, let's imagine this scenario:
I suggest changing a little bit the implementation to this one:
I know that the second fix is not perfect (edit assigned to another user), but still better than data lost forever.
Another idea would be to use a generic user.
The text was updated successfully, but these errors were encountered: