Summary: | app-crypt/johntheripper fails to build with >=dev-libs/openssl-1.1.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernard Cafarelli <voyageur> |
Component: | Current packages | Assignee: | Rick Farina (Zero_Chaos) <zerochaos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crypto+disabled, Martin.Jansa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/magnumripper/JohnTheRipper/issues/2355 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 592438 | ||
Attachments: | build log with =dev-libs/openssl-1.1.0i |
Seems like all we need is another upstream release. Can someone poke upstream? Upstream seems to want to move away from OpenSSL https://github.com/magnumripper/JohnTheRipper/issues/3163 and https://github.com/magnumripper/JohnTheRipper/issues/2356 Back then they seemed to miss the RSA/DSA asymmetric crypto and the performance of the OpenSSL libs https://github.com/magnumripper/JohnTheRipper/issues/2355 the patch is here, not sure how easy it would be to backport it. 1.8.0 has been added to the tree and compiles with openssl 1.1.1a, so I believe we can close this (?) Tested 1.8.0 and it's working fine with openssl-1.1.1a indeed |
Created attachment 544102 [details] build log with =dev-libs/openssl-1.1.0i ssh_fmt.c:55:11: error: field ‘pk’ has incomplete type EVP_PKEY pk; ^~ ssh_fmt.c: In function ‘EVP_DecryptFinal_ex_safe’: ssh_fmt.c:118:9: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’} if (ctx->cipher->flags & EVP_CIPH_FLAG_CUSTOM_CIPHER) { ^~ ssh_fmt.c: In function ‘PEM_do_header_safe’: ssh_fmt.c:167:24: error: storage size of ‘ctx’ isn’t known EVP_CIPHER_CTX ctx; ^~~ ssh_fmt.c:167:24: warning: unused variable ‘ctx’ [-Wunused-variable] ssh_fmt.c: In function ‘get_salt’: ssh_fmt.c:212:11: error: storage size of ‘pk’ isn’t known EVP_PKEY pk; ^~ ssh_fmt.c:212:11: warning: unused variable ‘pk’ [-Wunused-variable] ssh_fmt.c: In function ‘crypt_all’: ssh_fmt.c:325:3: error: variable ‘pk’ has initializer but incomplete type EVP_PKEY pk = restored_custom_salt->pk; ^~~~~~~~ ssh_fmt.c:325:12: error: storage size of ‘pk’ isn’t known EVP_PKEY pk = restored_custom_salt->pk; ^~ ssh_fmt.c:325:12: warning: unused variable ‘pk’ [-Wunused-variable] ssh2john.c: In function ‘process_file’: ssh2john.c:50:11: error: storage size of ‘pk’ isn’t known EVP_PKEY pk;