Shallot icon indicating copy to clipboard operation
Shallot copied to clipboard

Whats the advatages of using BSD using this project Errors Using Kali Linux

Open JavaRockstar opened this issue 7 years ago • 1 comments

Trying to use this project with Linux (Kali Linux 32 bit) and seems its install process is very hit and miss this script would be really nice in bash in Linux i was wondering if the install process was a little more persistent using BSD or Mac OS. I have read lots of different documentation and seems a lot of users were successful in Ubuntu and Debian in the past.

make cc -O3 -I/usr/include -I/usr/local/include -L/usr/lib -L/usr/local/lib -Wall -o src/math.o -c src/math.c src/math.c: In function ‘easygen’: src/math.c:30:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(num, 3, NULL, NULL); ^~~ In file included from /usr/include/openssl/asn1.h:15:0, from /usr/include/openssl/rsa.h:16, from src/math.h:24, from src/math.c:3: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ src/math.c: In function ‘sane_key’: src/math.c:67:17: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’ BN_sub(p1, rsa->p, BN_value_one()); // p - 1 ^~ src/math.c:78:10: error: dereferencing pointer to incomplete type ‘BIGNUM {aka struct bignum_st}’ if(!chk->neg) ^~ Makefile:44: recipe for target 'src/math.o' failed make: *** [src/math.o] Error 1

This is the error in Kali Linux first I installed sudo apt-get install libcurl4-openssl-dev.

Most my friends and I use Kali Linux and hoping there was a solution.

Also glad this project for rescued.

JavaRockstar avatar Jul 11 '17 21:07 JavaRockstar

Your problem is probably caused by the API changes in OpenSSL. I forked the project and updated it, you should be able to compile it with Kali Linux. https://github.com/katmagic/Shallot/pull/37 https://github.com/VipeOut23/Shallot/tree/openssl-api-changes

jroeger23 avatar Jun 13 '18 18:06 jroeger23