Attempt to decrypt account URL as LastPass has started encrypting this field#54
Open
nineclicks wants to merge 1 commit intokonomae:masterfrom
Open
Attempt to decrypt account URL as LastPass has started encrypting this field#54nineclicks wants to merge 1 commit intokonomae:masterfrom
nineclicks wants to merge 1 commit intokonomae:masterfrom
Conversation
|
Thanks for the CR. With the CR I can successfully parse my vault again. However, there seems to be something wrong with the extracted url:s for some entries. They end up as garbage (e.g. I will try to dig more to understand what happens another day |
|
I am facing this as well and interested in what the solution may be. We are monkey patching with this PR for now. Thanks! |
algathento
added a commit
to athento/lastpass-python
that referenced
this pull request
Jan 17, 2025
Updated with PR konomae#54 changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lastpass has started encrypting the URL field of sites.
https://www.bleepingcomputer.com/news/security/lastpass-is-now-encrypting-urls-in-password-vaults-for-better-security/
This field becomes encrypted once you update each entry so this may not be immediately apparent. However, once you do have an encrypted URL, the Vault open_remote call completely fails.
This pull request attempts to decrypt the URL field and on failure performs the original decode. Both options need to exist as sites are only updated to an encrypted URL field as they are updated individually.