Page MenuHome GnuPG

Kleopatra: Remove whitespace from suggested export filename
Testing, NormalPublic

Description

When exporting a certificate, a filename is suggested. This contains for the most part no white space except in the name of the certificate, e.g. Ted Tester_0x005F36A4_public.asc

Please convert any white spaces in the name to underscores "_".

Event Timeline

ebo triaged this task as Normal priority.Oct 8 2025, 10:45 AM
ebo created this task.
ebo created this object with edit policy "Contributor (Project)".
ikloecker moved this task from Backlog to WIP on the gpd5x board.

Fixed everywhere where we export some certificate or public/secret (sub)key. Additionally, to space characters we also replace /, \, and : everywhere in the (proposed) file names now.

ikloecker changed the task status from Open to Testing.Jan 5 2026, 4:58 PM
ikloecker moved this task from Backlog to WIP on the vsd34 board.

Backported for VSD 3.4

ikloecker mentioned this in Unknown Object (Maniphest Task).Jan 12 2026, 9:59 AM
timegrid added a subscriber: timegrid.

Looks good to me on gpg4win-5.0.2-beta2 @ win11:

  • Userid: space colon:slash/backslash\
space_colon_slash_backslash__0x5B5B8C7867EA6FF8_public.asc
space_colon_slash_backslash__0x5B5B8C7867EA6FF8_SECRET.asc
space_colon_slash_backslash__0x5B5B8C7867EA6FF8_SECRET_SUBKEY_0x361E2A079B77FA9E_Encrypt.asc
space_colon_slash_backslash__0x5B5B8C7867EA6FF8_SECRET_SUBKEY_0x5B5B8C7867EA6FF8_Certify_Sign.asc
  • Userid: 4spaces 4spaces
4spaces____4rspaces_0xBB08FE4FD6A8EC3C_public.asc
  • Userid: : or / or \
__0xB356BD62631FC00B_public.asc
timegrid edited projects, added gpd5x (gpd-5.0.2); removed gpd5x.