Open ksinghal opened 3 years ago
How are you creating the key? And what kind? Some functions are only available on MacOS.
Could you make a simple test that shows the crash? Thanks.
You can also have a look at BlueCryptor and BlueEEC if RSA is not a strong requirement.
OS: Linux OpenSSL Version: 1.1.1
I am using the same exact code on MacOS and on Linux:
I am attempting to decrypt data with a private key. It works properly on MacOS, but when running on Linux I get a crash with error:
I noticed this is coming from line 697 in
Sources/CryptorRSA.swift
during the step with the comment "Extract encryptedKey, encryptedData, encryptedIV from data"