Page MenuHome GnuPG

mangle-dos-filenames fails when folder path contains a dot
Closed, ResolvedPublic

Description

Release: 1.4.3

Environment

Microsoft Windows XP

Description

First noticed on version 1.2.5, still present in 1.4.3. When encrypting a file, if the folder path itself contains a dot, the file name is not mangled even if --mangle-dos-filenames is set.

How To Repeat

Install GnuPG to C:\GnuPG. From WinXP CMD prompt:
cd \GnuPG
mkdir 1 1.1
echo "Hello world!" > 1\hi.txt
echo "Hello world!" > 1.1\hi.txt
gpg --mangle-dos-filenames -r key -e 1\hi.txt
gpg --mangle-dos-filenames -r key -e 1.1\hi.txt
dir 1 1.1

Folder 1 contains the correctly-mangled hi.gpg file, but folder 1.1 contains an unmangled hi.txt.gpg.

Fix

Unknown