ITMan Documents

This Weblog Just Created For Document Sysadmin Challenges

GPG

Encrypting With Multiple Recipent

Download GPG for windows
Start Point
# Encrypting a sample text file
echo "This is test file for our users" > testfile.txt

# To encrypt file using following command
gpg -a -r "mohamad" -r "amir hosein" -r "amin" --output testfile.asc -e testfile.txt

# To decrypt file using following command
gpg -d -a -r mohamad testfile.asc
Last updated on 26 Oct 2019
Published on 23 Nov 2018