When trying to add a user to a group, we are receiving back the error “Error decrypting message: Session key decryption failed.”. I’ve seen other members report this for decrypting passwords, but not for adding a user to a group. Does anybody know what causes this and how to fix please?
I would like to reproduce your issue, but in order to do that I’ll need a bit of context.
Which OS are you on?
How did you installed Passbolt? (can you give us the link that you followed?)
Is it possible for you to confirm that your key has not expired?
If your key hasn’t expired, can you provide us your public key?
Additionally, could you run an healthcheck and provide us the entire response? sudo su -s /bin/bash -c "./bin/cake passbolt healthcheck" www-data
As for the moment I don’t know how did you installed Passbolt, if you installed it from source codes you will need to launch the healthcheck command from “/var/www/passbolt/” otherwise, it would be in “/usr/share/php/passbolt”
We know more.
It has not to do with OS, browser, anything.
Sometimes there seems to be a password entity that simply has gone ‘corrupt’.
If shared to a group, the group can not be updated (i.e. add another person to the group).
In some cases, the group where it belongs to cannot be reached (page not loaded for that group).
By removing that very password (which also cannot be saved after editing) things resolve.
Thus, removal is possible - but not editing the password, neither updating the group share from to which group that very password was shared with.
Here’s the code which is prompted when trying to add somebody to a group (in which the ‘corrupted’? password is shared):
{
“code”: 400,
“body”: {
“secrets”: {
“secrets_provided”: “The secrets of all the users having access to the resource are required.”
}
}
}