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

Updating password key on passwords with encrypted attributes causes error #29

Open
stemid opened this issue May 21, 2018 · 0 comments
Open
Labels

Comments

@stemid
Copy link
Collaborator

stemid commented May 21, 2018

This was reported to me from a co-worker who managed to trigger it in our internal Siptrack, so I have yet to test it fully but I'm pretty sure of the following.

When I implemented encrypted attributes I did not consider that there is a feature to change the password key of a password.

So most likely that feature is only updating the encrypted password and not the encrypted attributes of that password.

So when the update is made that node in Siptrack will crash with an exception that it cannot decode the encrypted attribute content.

For now, don't change password key on passwords with encrypted attributes.

I've been forced to delete the encrypted attribute directly from the DB to get rid of the error because getOID can't even fetch the object to run delete() on.

@stemid stemid added the bug label May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant