JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q48744F
  • License MIT

Simple CLI tool to generate PGP keys pair

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pgp-generate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    PGP-generate (pgpg)

    A simple CLI tool for generating PGP key pairs.

    Installation

    Install globally using npm:

    npm install -g pgp-generate

    Usage

    Display Help

    To see all available commands and options, run:

    pgpg --help

    Generate a PGP Key Pair to Files

    Generate a PGP key pair and save it as {fileName}.private and {fileName}.public:

    pgpg -n <name> -e <email> -p <secret phrase> -f <path to file>

    Generate a PGP Key Pair to Console

    Generate a PGP key pair and print it directly to the console:

    pgpg -n <name> -e <email> -p <secret phrase> --print

    Additional Options

    • -l, --level: Sets the key security level (0, 1, 2, 3).
      • Default: 3 (generates a 4096-bit key for maximum security).

    Contributing

    Contributions are welcome! Feel free to fork, modify, and submit a pull request.

    For issues or feature requests, please open an issue.