Skip to main content

Deployment tool for ReversingLabs rl-secure project.

Project description

rl-deploy by ReversingLabs · RL Status Badge

rl-deploy is a tool for fast and flexible installation of rl-secure (Spectra Assure CLI) in ephemeral and cloud infrastructure, CI/CD environments, and containers.

Spectra Assure is a software supply chain security platform created by ReversingLabs to help organizations develop and release software with confidence. To support automated security scanning of software releases, ReversingLabs developed the Spectra Assure CLI tool called rl-secure.

This guide explains how to use rl-deploy to install rl-secure. For more details, visit the official Spectra Assure documentation.

Installation

rl-deploy requires Python 3.x.

It can be installed on the following systems and architectures:

  • Windows 10 and later, 64-bit
  • Linux x86 (all major distributions), 64-bit

To install the latest version of rl-deploy from PyPI, run:

pip install rl-deploy

To confirm rl-deploy is successfully installed, run:

rl-deploy --version

How to use rl-deploy

After installing rl-deploy to your system, use it to install the latest version of the rl-secure CLI tool.

  1. Prepare your license and site key

Send an email to support@reversinglabs.com with the subject "rl-secure license request". In the email, ask for a site key that you will use to deploy rl-secure.

ReversingLabs Support will send you the license file and the site key. The site key is a string you can use to associate any rl-secure installation with your license. This allows you to install rl-secure on multiple ephemeral systems without having to request a separate license for each machine.

  1. Install rl-secure

Important note: rl-secure implements an auto-update mechanism to keep the product up to date on every use. The user executing rl-secure commands must have write access to the installation location to facilitate the auto-update mechanism.

To install rl-secure on your system, provide the installation location, license, and the site key to the rl-deploy tool. You can either provide the path to the license file, or convert the license file contents into a Base64-encoded string.

Install with encoded license key

rl-deploy install --location /path/to/destination/ --encoded-key=your-license-contents-as-BASE64-encoded-string --site-key=your-site-key

Install with license file path

rl-deploy install --location /path/to/destination/ --license-file /path/to/license.key --site-key=your-site-key
  1. Confirm rl-secure installation

Access the location where you installed rl-secure and run the following command to confirm it's successfully installed.

rl-secure --version

Configuration

The rl-deploy tool supports proxy configuration in case it's required to download and install rl-secure.

You can specify the proxy configuration parameters directly when installing rl-secure:

rl-deploy install --location /path/to/destination/ --license-file /path/to/license.key --site-key=your-site-key --proxy-server 127.0.0.1 --proxy-port 8080

Proxy settings used during installation are automatically saved to the rl-secure configuration file, so rl-secure can continue using them when it needs to connect to ReversingLabs servers.

Note the rl-deploy proxy configuration does not support system-provided certificates, so it will not work if you have a custom certificate.

Cached installation

By default, rl-deploy install downloads the rl-secure package from ReversingLabs servers to perform a fresh install. When this mechanism is used in ephemeral configurations, repeated install invocations result in a lot of time spent on the rl-secure package download process. To skip the download process, rl-deploy can perform the installation of rl-secure from a local cached installation file.

To utilize this mechanism in your setup, you need to perform two steps:

  1. Create a cached installation file of the latest rl-secure version
  2. Use that cached file during the installation

Generate a cached installation file

To create a cached installation file, use the rl-deploy cache command. This command will connect to the official update servers using your provided license information, and download the cached package to a location of your choice.

Note that your license information is used only for access control. It is not embedded inside the cached installation package.

rl-deploy cache --location /path/to/cache.file --encoded-key=your-license-contents-as-BASE64-encoded-string --site-key=your-site-key

Use the cached file to perform installation

To install rl-secure from the cached installation file, you only need to specify the from-cache command line parameter in your rl-deploy install command.

rl-deploy install --from-cache /path/to/cache.file --location /path/to/destination/ --encoded-key=your-license-contents-as-BASE64-encoded-string --site-key=your-site-key

Note that rl-secure performs an automatic update on each scan. This means you will have to regenerate the cached installation file when a new version of rl-secure is released. Otherwise you will lose all benefits of this functionality.

Support

To share your feedback or report any issues with rl-deploy, send an email to support@reversinglabs.com

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rl_deploy-2.6.4.0-py2.py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 2Python 3Windows x86-64

rl_deploy-2.6.4.0-py2.py3-none-manylinux1_x86_64.whl (4.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file rl_deploy-2.6.4.0-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: rl_deploy-2.6.4.0-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for rl_deploy-2.6.4.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f1ef1e0e6ede0211fca527a9297e87cd368cd495fe195def43b07fbb5bdcaf58
MD5 eaea1759a11233a480af608d33be45a8
BLAKE2b-256 c911e7ad03bf0d60ddc6a76f037a4504893c22e63f11e433cf03d080ec4f278b

See more details on using hashes here.

File details

Details for the file rl_deploy-2.6.4.0-py2.py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rl_deploy-2.6.4.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dd6bd59c65f1613b06a1872e89f81683c01bba9493909396ebb0bbc067d52a90
MD5 a9dc17ec9a02eed7cd99e78caa4201df
BLAKE2b-256 3ea236ad492bad43b92f201944af64a267c78ef88e115acbe2d31518629c86d9

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