Kitura / Kitura/BlueRSA

Illegal Instruction (core dumped) createPublicKey(...) on Ubuntu

Open
#57 2 comments 0 reactions 1 assignee Claimed by @adam-rocska View on GitHub
Dominant language
Swift
Stars
136
Forks
62
PR merge metrics
No merged PRs in 30d

Description

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.

![Screenshot 2019-11-12 13 25 01](https://user-images.githubusercontent.com/8653723/68671578-e887f180-054f-11ea-9b1d-6f45fcf0e390.png)

I added extra Log lines in CryptorRSAKey to find this bug.

![Screenshot 2019-11-12 13 21 23](https://user-images.githubusercontent.com/8653723/68671511-bf676100-054f-11ea-9b3c-ecaf839b452b.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.