Sign file
Attach a signature so others can check that a file came from you and was not changed.
Signing uses your private key, so it must be done in official software on your computer.
In GnuPG, a common official command for a detached text signature is:
gpg --detach-sign --armor filenameThis writes filename.asc (or similar) beside the original file. Send both the file and the signature. The official examples also list gpg -sb filename.
In Kleopatra, use File → Sign/Encrypt Files.... See the Gpg4win Compendium chapter on signing and encrypting files.