Skip to main content

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.

Metadata

Release files for lastpasslib 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lastpasslib 1.2.2
File Size Uploaded Provenance
lastpasslib-1.2.2.tar.gz 164.2 kB Without provenance Details

Release files / lastpasslib-1.2.2.tar.gz

Download URL lastpasslib-1.2.2.tar.gz
Size 164.2 kB
Tags Source
SHA-256 checksum
How to use checksums
db7475d72f41c21ea41497abe49ccfb3aebab59cf04bd4260026bd802564dec5
BLAKE2b-256 checksum
How to use checksums
d7bca603ccfe0ebb708e165a3963f4378f04fc0d8edeb05dd87a5a9c714ac5b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for lastpasslib 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page