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

OpenSSL version must be 3 #17

Open
PlayLikeNeverB4 opened this issue Aug 30, 2022 · 1 comment
Open

OpenSSL version must be 3 #17

PlayLikeNeverB4 opened this issue Aug 30, 2022 · 1 comment

Comments

@PlayLikeNeverB4
Copy link

I tried running pictoprime on OSX and I had this openssl installed

> openssl version
OpenSSL 1.0.2q  20 Nov 2018

which only returns the hex value and not decimal

> openssl prime 12321321                                                                                                     
BC0229 is not prime

which resulted in the ascii art to be incorrect

Screenshot 2022-08-30 at 14 20 25

After I used openssl@3 it worked

> /usr/local/opt/openssl@3/bin/openssl prime 12321321                                                                                   
BC0229 (12321321) is not prime

Screenshot 2022-08-30 at 14 20 42

So if anyone else runs into this issue you know how to fix it and maybe we can adjust the README to mention this.

@funatparties
Copy link

funatparties commented Oct 28, 2022

I had a similar issue on Ubuntu 20.04 with openssl 1.1.1f but only for larger primes (~ above width 50 for taller images). Upgrading to openssl 3 did fix it.

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

2 participants