5/31/2019

How to sign a file in Ubuntu

Example commands:
# To generate a new key
gpg --gen-key

# This will generate a separate sig file, test.sh.sig
gpg -sb test.sh

# To verify the file signature
gpg --verify test.sh.sig

# To delete a key
gpg --delete-key DC77BA9E


No comments: