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 "_".
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 "_".
| rLIBKLEO Libkleo | |||
| rLIBKLEO078837dae86c Add helper returning pretty name or email of a key | |||
| rLIBKLEOaa0d63322b77 Add helper returning pretty name or email of a key | |||
| rKLEOPATRA Kleopatra | |||
| rKLEOPATRA3fbe2175864f Replace spaces and invalid characters in file names of exported keys | |||
| rKLEOPATRA0d1ef9c40e3d Rename StripSuffixTest to PathHelperTest | |||
| rKLEOPATRA379626310cd7 Add helper to sanitize strings used as file name | |||
| rKLEOPATRA3c379f4e98e1 Replace spaces and invalid characters in file names of exported keys | |||
| rKLEOPATRA5e235f92da07 Rename StripSuffixTest to PathHelperTest | |||
| rKLEOPATRAd37384a4da70 Add helper to sanitize strings used as file name | |||
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.
Looks good to me on gpg4win-5.0.2-beta2 @ win11:
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
4spaces____4rspaces_0xBB08FE4FD6A8EC3C_public.asc
__0xB356BD62631FC00B_public.asc
Note:
Looks good to me on vsd-3.4.0-beta1326 @ win10:
space_colon_slash_backslash__0x6286EFEA_public.asc space_colon_slash_backslash__0x6286EFEA_SECRET.asc space_colon_slash_backslash__0x6286EFEA_SECRET_SUBKEY_0xE3920F1F_Encrypt.asc
4spaces____4spaces_0x2621B499_public.asc
__0x8A2F5C26_public.asc
This is kind of intended in the sense that in newer Kleopatra all usage of the short key ID was replace by the (long) key ID, but it wasn't deemed necessary (by me) to backport this change.