Tpm

Latest version: v4.2

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

4.2

4.1

What's Changed
* Readme Typo fixes by monkz in https://github.com/peshay/tpm/pull/25
* Fix sending data to teampasswordmanager by monkz in https://github.com/peshay/tpm/pull/26
* Fix typo in parameter naming by monkz in https://github.com/peshay/tpm/pull/27
* chore: 🔖 Version 4.1 by peshay in https://github.com/peshay/tpm/pull/28

New Contributors
* monkz made their first contribution in https://github.com/peshay/tpm/pull/25

**Full Changelog**: https://github.com/peshay/tpm/compare/4.0...4.1

4.0

Added Support for version 5 of Teampasswordmanager API.

- New Class `TpmApiv5` to be used for new API functionalities
- `list_project_files` to list files attached to a project
- `list_password_files` to list files attached to a password entry
- `upload_project_file` to upload a file to a project
- `upload_password_file` to upload a file to a password entry
- `archive_password` to archive a password entry
- `unarchive_password` to unarchive a password entry
- `move_password` to move a password entry to another project
- `move_mypassword` to move password from "My Passwords" to a Project
- `show_file_info` to show infos about a file ID
- `update_file_notes` to update notes on a file
- `max_upload_file_size` to get max upload file size
- `uploads_folder_info` to show infos on the upload folder
- `download_file` to retrieve the content of an uploaded file
- `delete_file` to delete a file
- `create_user_ldap` to create a ldap user
- `create_user_saml` to create a saml user
- `convert_user_to_ldap` to convert a normal user to ldap user, NEW parameter for server_id is required
- `convert_user_to_saml` to convert a normal or ldap user to SAML user

3.6

When a search string with spaces was used in these functions:
* list_projects_search
* list_passwords_search
* list_mypasswords_search

And the API result provided more then one page, the following URls where not correctly encoded.
Example

list_passwords_search('some text')
DEBUG - GET request https://tpm.example.com/index.php/api/v4/passwords/search/some+text.json
DEBUG - GET request https://tpm.example.com/index.php/api/v4/passwords/search/some text/page/2.json

The missing + in the second URL caused a missmatched in HMAC authentication hash

3.5

3.4

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.