You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm preferring this lib for doing my RSA Private key encryption by calling this method: SwKeyConvert.PrivateKey.encryptPEM(privateKeyPEM,...)
and share the result with web js which using forge js to decrypt and vice versa. But unfortunately, it always runs into an issue PKCS8.PrivateKey.hasCorrectHeaderbadPassphrase in swift and Only 8, 16, 24, or 32 bits supported: 200 in JS that causes decryption getting failed.
Note: The encrypted result format is the same between 2 sides:
Hi there,
I'm preferring this lib for doing my RSA Private key encryption by calling this method:
SwKeyConvert.PrivateKey.encryptPEM(privateKeyPEM,...)
and share the result with web js which using
forge js
to decrypt and vice versa. But unfortunately, it always runs into an issuePKCS8.PrivateKey.hasCorrectHeader
badPassphrase
in swift andOnly 8, 16, 24, or 32 bits supported: 200
in JS that causes decryption getting failed.Note: The encrypted result format is the same between 2 sides:
Is there any idea to make this encryption working on both these sides?
Thanks.
The text was updated successfully, but these errors were encountered: