Socket
Socket
Sign inDemoInstall

@tufjs/cli

Package Overview
Dependencies
139
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tufjs/cli

CLI for interacting with TUF repositories


Version published
Weekly downloads
45
decreased by-18.18%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

@tufjs/cli

CLI for securely downloading targets from TUF repositories.

Usage

$ npm install -g @tufjs/cli
$ tuf COMMAND
running command...
$ tuf (--version)
@tufjs/cli/0.2.1 linux-x64 node-v18.17.0
$ tuf --help [COMMAND]
USAGE
  $ tuf COMMAND
...

Commands

  • tuf download-target
  • tuf help [COMMANDS]

tuf download-target

download a target from a TUF repository and verify its signature

USAGE
  $ tuf download-target --metadata-base-url <value> --target-name <value> [--cache-path <value>] [--target-base-url
    <value>] [--root <value>] [--unsafe-root-download] [-o <value>]

FLAGS
  -o, --output-file=<value>        write output to file
      --cache-path=<value>         path to the Sigstore TUF cache
      --metadata-base-url=<value>  (required) URL to the TUF metadata repository
      --root=<value>               path to the initial trusted root
      --target-base-url=<value>    URL to the TUF target repository
      --target-name=<value>        (required) name of the target to download
      --unsafe-root-download       allow downloading the trusted root from the TUF metadata repository (THIS IS NOT
                                   SAFE)

DESCRIPTION
  download a target from a TUF repository and verify its signature

ALIASES
  $ tuf download

EXAMPLES
  $ tuf download-target

tuf help [COMMANDS]

Display help for tuf.

USAGE
  $ tuf help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for tuf.

Keywords

FAQs

Last updated on 10 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc