Skip to main content

A library able to retrieve and decrypt all items in lastpass along with their change history and attachments.

Project description

A library able to retrieve and decrypt all items in lastpass along with their change history and attachments.

Project Features

  • Can completely decrypt all secrets, attachments, and all history of every field that supports it.

  • Can save the blob locally.

  • Can save attachments of secrets.

  • Exposes share info to and from people.

Project Inspiration

Initial inspiration was taken from https://github.com/konomae/lastpass-python. More features were needed and I could not really follow the design of that project so well, so I ended up rewriting all of it with a new design that made sense to me and implemented all the required features on that. This project is now quite further that the original project feature wise.

During my reverse engineering efforts I also found https://github.com/cfbao/lastpass-vault-parser/blob/master/lastpass-vault-format.md sadly a little too late. Also extended my model further than the documentation of that project.

History

0.0.1 (08-02-2023)

  • First code creation

0.1.0 (11-02-2023)

  • Initial release

0.2.0 (17-02-2023)

  • Implement retrieving secrets by group and shared folder.

0.3.0 (17-02-2023)

  • Implement friendly interface to retrieve passwords and secure notes by group and shared folder.

0.4.0 (19-02-2023)

  • Implement folder grouping and retrieval.

0.5.0 (24-02-2023)

  • Implement folder filtering out on secret parsing.

0.6.0 (24-02-2023)

  • Implement a consistent interface for update datetime reporting.

0.7.0 (01-03-2023)

  • Implement root folder, personal folders and shared folders. Report on password change for secure notes that support it.

0.7.1 (01-03-2023)

  • Expose only one level of personal folders.

0.7.2 (01-03-2023)

  • Refactor to match on full share name.

0.7.3 (08-03-2023)

  • Decouple decrypted vault from vault functionality.

0.7.4 (08-03-2023)

  • Decouple decrypted vault from vault functionality.

0.7.5 (13-03-2023)

  • Hide possible logout error.

0.7.6 (20-03-2023)

  • Testing release.

0.7.7 (21-03-2023)

  • Implement better error messages on some faults.

0.8.0 (08-06-2023)

  • Implement support for yubikey MFA

1.0.0 (04-09-2023)

  • Implementing creating and moving of secrets.

1.0.1 (07-09-2023)

  • Fix typo error.

1.1.0 (11-09-2023)

  • Implement session refresh. Fix attachment retrieval for attachments in shared folders. Properly identify the attachment mode (text, binary)

1.1.1 (01-11-2023)

  • Release testing.

1.1.2 (07-11-2023)

  • testing release

1.2.0 (26-05-2026)

  • Fixed various encryption changes.

1.2.1 (26-05-2026)

  • Fix release.

1.2.2 (26-05-2026)

  • Fix release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lastpasslib-1.2.2.tar.gz (164.2 kB view details)

Uploaded Source

File details

Details for the file lastpasslib-1.2.2.tar.gz.

File metadata

  • Download URL: lastpasslib-1.2.2.tar.gz
  • Upload date:
  • Size: 164.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for lastpasslib-1.2.2.tar.gz
Algorithm Hash digest
SHA256 db7475d72f41c21ea41497abe49ccfb3aebab59cf04bd4260026bd802564dec5
MD5 a8b45e64a8aed3705f35d5cb4b85fa73
BLAKE2b-256 d7bca603ccfe0ebb708e165a3963f4378f04fc0d8edeb05dd87a5a9c714ac5b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page