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

PKCS12 File Password with ISO-8859-9 Encoding #1073

Open
yasemindeki opened this issue Feb 24, 2024 · 0 comments
Open

PKCS12 File Password with ISO-8859-9 Encoding #1073

yasemindeki opened this issue Feb 24, 2024 · 0 comments

Comments

@yasemindeki
Copy link

Firstly thanks for your valuable node-forge module. I've created two p12 file which one has reqular password and other one has ISO-8859-9 (turkish) characters. I've run the code below with regular password (not including special/locale characters) and there is no error. But when I run with password that contains ISO-8859-9 characters, I've taken "invalid password" error.

forge.pkcs12.pkcs12FromAsn1(p12Asn1, 'Bcs'); // with reqular characters
forge.pkcs12.pkcs12FromAsn1(p12Asn1, 'Bçş'); // with turkish characters

Is there your support ISO-8859-9 encoding for the function pkcs12FromAsn1?

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant