Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecureSocket.initialize fails if certificate database path is non-ASCII #15425

Closed
whesse opened this issue Dec 3, 2013 · 5 comments
Closed
Labels
area-library library-io P3 A lower priority bug or feature request

Comments

@whesse
Copy link
Member

whesse commented Dec 3, 2013

Due to the Mozilla bug "NSS does not allow specifying a profile path containing characters outside of the system native codepage", the Dart SecureSocket class can't be initialized with a certificate database with a non-ASCII path.

See
https://bugzilla.mozilla.org/show_bug.cgi?id=336829

Since there doesn't seem to be a fix unless it is fixed upstream, I will mark the priority low on this issue.

Users have encountered this issue when running pub, from an installation directory with a non-ASCII path.
See issue https://code.google.com/p/dart/issues/detail?id=15364

@sgjesse
Copy link
Contributor

sgjesse commented Dec 4, 2013

One option could be to check if the path has non-ASCII and try GetShortPathName in that case.

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Library-IO, Area-Library labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@whesse whesse added Type-Defect P3 A lower priority bug or feature request library-io area-library labels Aug 4, 2014
@whesse
Copy link
Member Author

whesse commented Sep 9, 2015

This issue is stale (obsolete), because NSS has been removed from Dart, and replaced with OpenSSL.

@whesse whesse closed this as completed Sep 9, 2015
@kevmoo kevmoo removed the triaged label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-library library-io P3 A lower priority bug or feature request
Projects
None yet
Development

No branches or pull requests

4 participants