How to Sign on Linux
ComindActPrepare to HelpHow to Sign on Linux

How to Sign on Linux

Via Graphical Interface

Installation

Install the scdaemon and kleopatra packages

Configuration

Similar to the one on Windows

Producing a Signature

  1. Open Kleopatra
  2. Click the "Sign/Encrypt" button
  3. Select the file
  4. Uncheck both "Encrypt..." options and choose the output file/folder at the bottom where the signature will be written.
  5. Retrieve all the contents of the signature file.

Command Line

Installation

Install the `gpg` package ("sudo apt-get install gpg" on Debian-based distributions)

Configuration

You need to have a key pair, for better confidentiality, avoid providing an email address and use a separate key pair for each social group. For instance, you can create a key pair specifically for Comind.

To create a key pair for Comind interactively: gpg --full-generate-key (choose the options listed below)

Or more quickly:

gpg --batch --generate-key &lf;<EOF
Key-Type: RSA
Key-Length: 4096
Name-Real: Anonymous
Expire-Date: 0
%no-protection
%commit
EOF

Producing a Signature

  1. To produce a signature for "3.jpg": gpg --armor --detach-sign <3.jpg
  2. Copy the signature: from -----BEGIN PGP SIGNATURE----- to -----END PGP SIGNATURE----- inclusive.

Saving Keys

Save ~/.gnupg