pgp-cli 1.2.0

dotnet tool install --global pgp-cli --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local pgp-cli --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=pgp-cli&version=1.2.0
nuke :add-package pgp-cli --version 1.2.0

PGP CLI

alternate text is missing from this package README image

PGP CLI uses PGPCore to,

  • Generate public/private keys
  • Encrypt files
  • Decrypt files

Install as dotnet tool

Checkout code and run the following commands

dotnet pack
dotnet tool install --global pgp-cli

Using PGP CLI

Get Help
pgp --help
Generate keys
pgp gen-key "test@test.com" "my-strong-password"
Encrypt File
pgp encrypt myfile.txt -k ./public.asc -o ./encrypted.pgp
Decrypt File
pgp decrypt ./encrypted.pgp "mypassword" -k ./private.asc -o ./decrypted.pgp

Uninstall dotnet tool

dotnet tool uninstall -g pgp-cli
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.0 174 2/14/2024
1.1.0 165 2/14/2024
1.0.0 170 2/13/2024