Kleopatra allows the administrator (and power-user) to configure the list of checksum programs that the user can choose from in the config dialog and that Kleopatra is able to auto-detect when asked to verify a given file's checksum.
To be usable by Kleopatra, output of checksum programs (both the written checksum file, as well as the output on stdout when verifying checksums) needs to be compatible with GNU md5sum and sha1sum.
Specifically, the checksum file needs to be line-based with each line having the following format:
whereCHECKSUM
' ' ( ' ' | '*' )FILENAME
CHECKSUM
consists of
hex-characters only. If FILENAME
contains a newline character, the line must instead read:
\whereCHECKSUM
' ' ( ' ' | '*' )ESCAPED-FILENAME
ESCAPED-FILENAME
is the
filename with newlines replaced by \n
s,
and backslashes doubled
(\
↦\\
).