Open geertberkers opened 4 years ago
Found this: https://stackoverflow.com/a/58819331/4713369
And the problem is solved for me when using: let data = Data(base64Encoded: base64, options: .ignoreUnknownCharacters)!
I'm not sure, but this might also be a fix for #52 ?
BlueRSA failed to create data from base64 string on Ubuntu. The illegal instruction is from the forced unwrap of the Data object, which is nil. Running on MacOS this works without any problems.
I added extra Log lines in CryptorRSAKey to find this bug.