Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 855494

Summary: dev-libs/openssl: deprecate app-misc/c_rehash and migrate to 'openssl rehash'
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, eras, hanno, kfm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=842489
https://bugs.gentoo.org/show_bug.cgi?id=855491
https://bugs.gentoo.org/show_bug.cgi?id=573786
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 893446    
Bug Blocks: 887073    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-01 07:56:28 UTC
Upstream OpenSSL recommend using 'openssl rehash' now.

There have been two vulnerabilities in their own script (predecessor to 'openssl rehash', not the same as the now built-in command) which don't seem to affect us, but we should migrate to be safe anyway, as it's not impossible we could fall prey to similar issues.

See bug 855491 and bug 842489.
Comment 1 Larry the Git Cow gentoo-dev 2023-02-04 01:48:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe57254430cfe6f2718222a5f582fffb61f5211

commit 4fe57254430cfe6f2718222a5f582fffb61f5211
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-02-04 01:38:27 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-02-04 01:38:27 +0000

    app-misc/ca-certificates: stop using c_rehash
    
    Bug: https://bugs.gentoo.org/855494
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...es-20211016.3.87.ebuild => ca-certificates-20211016.3.87-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb751e862be780084c4d9a1ae09bc19c783b55d

commit 1cb751e862be780084c4d9a1ae09bc19c783b55d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-02-04 01:36:14 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-02-04 01:36:14 +0000

    dev-libs/openssl: replace c_rehash with openssl rehash
    
    Bug: https://bugs.gentoo.org/855494
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../openssl/{openssl-1.1.1s-r1.ebuild => openssl-1.1.1s-r2.ebuild}  | 6 +++---
 .../openssl/{openssl-3.0.7-r2.ebuild => openssl-3.0.7-r3.ebuild}    | 5 ++---
 2 files changed, 5 insertions(+), 6 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-07 23:45:05 UTC
This is now fixed in keyworded versions and will naturally then propagate into stable and cleanups.