Back

Sign file

Attach a signature so others can check that a file came from you and was not changed.

Open Sign file

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 filename

This 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.

GnuPG

Kleopatra

Gpg4win

Built by Rohan · 2026