Home GnuPG

Replace spaces and invalid characters in file names of exported keys

Description

Replace spaces and invalid characters in file names of exported keys

This unifies the removal/replacement of invalid characters (which was
done very inconsistently) and adds the replacement of space characters
in the file names used/proposed for exported keys. And it makes use of
the new Formatting::prettyNameOrEMail function to remove many instances
of duplicate code.