The Wayback Machine - https://web.archive.org/web/20201028002738/https://github.com/digitalbazaar/forge/pull/790
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

support get info from an UTF-8 encode pem certificate #790

Open
wants to merge 1 commit into
base: master
from

Conversation

@yaphone
Copy link

@yaphone yaphone commented Jun 9, 2020

I tried to get info from a pem certificate whose Subject contains utf-8 encoded words(Chinese Simple), and I got unreadable codes.
This is caused by the method _fromDer() in /lib/ans1.js, this method mismatch utf-8 encode words.
I hava solve this problem, at least in Chinese Simple which encoded by utf-8.
I want to make a PR, also contains some test code in /test/unit/utf8-pem.js, please check it, thanks very much.

support get info from an UTF-8 encode pem certificate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.