Encapsia-cli

Latest version: v0.5.12

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

Scan your dependencies

Page 2 of 4

0.5.5

Fixed

- Updated depenendencies.

0.5.4

Fixed

- Handling the case when the plugins info contains invalid data. 110
- Do not add or install pre-release build plugins when looking for the latest version
(unless `--include-prereleases` is used). 109

Added

- Global --silent flag, for suppressing normal output. 55.
- Print messages on successful completion for several commands. 55
- Provide alternative options to --force (that will be deprecated in the future):
[--yes, --downgrade, --reinstall, --overwrite and --all]. 52
- `--ignore-warnings` flag for `plugins add` and `install`, useful when specifying
several plugins and some of them cannot be processed, will do only the error-free
ones, instead of aborting completely.

0.5.3

Fixed

- Fixed a regression preventing uninstall of normal plugins. Thanks mpopetcmed.
- Fixed passing `lifespan` to `api.login_transfer`, an unused argument that was removed
in latest encapsia-api.
- Fixed a regression running `encapsia plugins ls --long` (was using
`pathlib.Path.is_relative_to` which is not yet present in python 3.8), bummer.

0.5.2

Fixed

- Fixed error if variant is specified in encapsia plugin uninstall. 78
- Fixed misleading "Key Error" when credentials are wrong (should be 401 Unauthorized)
75
- Fixed installing plugin using file path. 76.
- `plugins add` will now abort if it cannot find some of the requested specs in S3
- Clocked several dependencies patching vulnerabilities and other issues.
- Replaced implementation using `tarfile.extractall` of `encapsia plugins ls`, that is
vulnerable to a path traversal attack. See
https://github.com/python/cpython/issues/73974 and
https://www.trellix.com/en-us/about/newsroom/stories/research/tarfile-exploiting-the-world.html

Added

- Support for adding to local_store groups of plugins with one command. 87.
- Support for installing groups of plugins with one command. 87.
- A new `token transfer` subcommand, allowing to obtain a token for a different user (current user's credentials permitting) and printing it out as plain text or shell command setting encapsia environment variables.
- A new `token env` subcommand that just prints out shell commands to set environment variables `ENCAPSIA_URL` and `ENCAPSIA_TOKEN`.

Changed

- Display a message when a config get key is missing, instead of a traceback. 62.
- Replaced request to deprecated pluginsmanager API. 79.
- The `token extend` subcommand gained ability to display extended token (both as plain text or as shell commands setting environment), instead of storing in credentials file.
- The `token extend` now allows you to set capabilities (as a subset of existing capabilities).

0.5.1

Not secure
Changed

- Remove local implementation for resilient calls, use implementation from encapsia-api>=0.3.1

0.5.0

Not secure
Added

- Support for plugin variants (70).
- Added a few unit tests.

Changed

- Refactored module plugins extracting parts into pluginsinfo and s3 modules.
- Changed display for plugins subcommands `ls`, `upstream` and `status`.

Fixed

- Retry after connection errors and timeouts (in selected cases).
- Fixed `encapsia plugins add --latest-existing`
- Make CLI return an exit code indicating error when plugin installation fails. Fixes 42.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.