pgp-cli 2.1.0

dotnet tool install --global pgp-cli --version 2.1.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 2.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=pgp-cli&version=2.1.0
                    
nuke :add-package pgp-cli --version 2.1.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 "my-strong-password" -k ./private.asc -o ./decrypted.pgp

Uninstall dotnet tool

dotnet tool uninstall -g pgp-cli
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
2.1.0 94 9/4/2026
1.2.0 1,066 2/14/2024
1.1.0 952 2/14/2024
1.0.0 974 2/13/2024