You're a security analyst verifying the authenticity of documents. Use GPG digital signatures to ensure document integrity and authenticate the sender.
Generate your GPG key pair
gpg --gen-keyExport your public key in ASCII armor format
gpg --export --armor analyst@cyberops.lab > mypubkey.asc
Create a document and sign it
echo "This is an official security report" > report.txtgpg --sign --armor report.txtreport.txt.asc (signed document)
Verify your own signature
gpg --verify report.txt.ascTamper with the document and verify again to see signature failure
echo "TAMPERED DATA" > report.txtgpg --verify report.txt.ascImport a colleague's public key
colleague_key.asc is available.gpg --import colleague_key.asc
Verify a document signed by your colleague
threat_intel.txt.asc is signed by your colleague.gpg --verify threat_intel.txt.asc