Home GnuPG

Strip trailing slashes from input filenames

Description

Strip trailing slashes from input filenames

This ensures consistent handling of the filenames, e.g. when using
QFileInfo::fileName() or QFileInfo::baseName() on them. In particular,
this ensures a consistent output filename and a non-empty label in the
results if a single folder is signed and/or encrypted.