dfrankland / lastpass-node

🔐 Lastpass client for Node.js
28 stars 10 forks source link

getting gibberish inside note data #7

Open thatkookooguy opened 6 years ago

thatkookooguy commented 6 years ago

I'm trying to load a note's data and console log it on screen.

The problem is that I'm getting gibberish from the getAccounts function inside the actual notes.

for example:

{
  "id": XXXX,
  "name": "�e����= \u00055j~oڀG��H|\u0014�@�M����N��",
  ...
}

How do I get the actual name of the note instead of this gibberish? is it encoded in some way?

dfrankland commented 6 years ago

The note itself is probably encrypted. We'd need to look at how other Lastpass clients decrypt this data to implement this. Please, feel free to make a PR or post any clues for others to take a stab at this.

atbtechgit commented 5 years ago

Any word on this? I am getting the same.

dfrankland commented 5 years ago

No updates yet. I haven't worked on this project for a while.

atbtechgit commented 5 years ago

Thanks for the update. I have tried digging in a little bit but aren't really seeing anything different then what you are doing.

Christopher-Hayes commented 3 years ago

I'm getting that for everything except for URL's and ID's. Tried decoding it different ways with CyberChef, but looks like something more complex than just a base64 decode.