Support Unicode paths in certutil
Categories
(NSS :: Tools, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 16•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 24•6 years ago
|
||
Comment 25•3 years ago
|
||
Is there any progress on this, or any chance it might be prioritized soon?
I'm using certutil to automate Firefox certificate management (as suggested in the docs: https://support.mozilla.org/en-US/kb/setting-certificate-authorities-firefox) and it's unusable for Windows users with non-ascii usernames. This bug makes Firefox unusable in my use case for many non-Western users.
Comment 26•3 years ago
|
||
If you are using Windows 10 version 1903 or later, adding certutil.exe.manifest
may work around the problem:
https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page
Comment 27•3 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #26)
If you are using Windows 10 version 1903 or later, adding
certutil.exe.manifest
may work around the problem:
https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page
Thanks for the suggestion, that would be a big help, but it doesn't seem to work for me. I tried to test it by creating a certutil.exe.manifest
in the same directory containing:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="certutil.exe" type="win32" />
<application>
<windowsSettings>
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
</windowsSettings>
</application>
</assembly>
That doesn't appear to make any difference on Windows 10 19043.1110 (the latest version) - passing a non-ascii path (e.g. any file within a user account with a non-ascii username) still results in errors showing the offending path with ???? in place of non-ascii characters, for commands that work perfectly well when using ASCII-only paths.
I'm not familiar with these manifests at all though, so it's possible I'm doing something wrong - is the above what you were suggesting?
Updated•2 years ago
|
Description
•