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

PFX unusable on MacOS #360

Open
badfiles opened this issue Jun 13, 2022 · 2 comments
Open

PFX unusable on MacOS #360

badfiles opened this issue Jun 13, 2022 · 2 comments

Comments

@badfiles
Copy link

badfiles commented Jun 13, 2022

Produced pfx files cannot be applied in MacOS keychain, I get 'wrong password' error
The reason I believe is SHA256 MAC used, SHA1 is expected
The pfx export params should be configurable.
v. 2.4.0

also this is strange

openssl pkcs12 -info -in test.pfx 

Enter Import Password:
MAC: sha256, Iteration 2048
MAC length: 32, salt length: 8
PKCS7 Encrypted data: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048                          <--
...
PKCS7 Data
Shrouded Keybag: PBES2, PBKDF2, AES-256-CBC, Iteration 2048, PRF hmacWithSHA256                 <--
Bag Attributes
@legion151
Copy link

Can confirm for android.

@chris2511
Copy link
Owner

Fixed by merging #389

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

3 participants