Skip to content

cppcryptfsctl list command doesn't work with Japanese file names. #206

@Rage-36Yu90

Description

@Rage-36Yu90

Hello, I'm Japanese.

I'm sorry, but I used Google Translate for this report.


Problem: cppcryptfsctl list command doesn't work with Japanese file names.

Environment:

  • cppcryptfs version: 1.4.4.5
  • Windows 10 64-bit
  • File system: NTFS
  • Language: Japanese file names

Description:

When running cppcryptfsctl.exe -lw:, the command exits unexpectedly if any file or folder name contains Japanese characters.

  • The mounted cppcryptfs volume handles Japanese file names correctly (encryption and decryption both work fine).
  • However, the cppcryptfsctl tool fails to list files with Japanese characters in their names.
  • When a Japanese file name is encountered, the command exits abruptly without listing any further entries.
  • Files with only alphanumeric characters are displayed correctly.

Example:

If the root of the mounted drive W: contains the following files:

20250416-180226-googlecrypt2.txt
20250417-230015-pcloudcrypt3.txt
主要なチェックサム形式のベンチマーク.py

Only the first two are listed:

20250416-180226-googlecrypt2.txt => <Encrypted file name 1>
20250417-230015-pcloudcrypt3.txt => <Encrypted file name 2>

The third file is not shown at all.

Another example:

A file named:

(ChatGPTとのやり取りログ)20250418.txt

will be displayed like this:

cppcryptfsctl.exe -lw:
(ChatGPT

The rest is cut off, and the program exits immediately.

This also happens with folder names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions