Bug 433582
Summary: | mcrypt performance on F8 so slow on large files as to be useless | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Schultz <jws> |
Component: | mcrypt | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-10 06:52:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Schultz
2008-02-20 04:58:10 UTC
Between 2.6.5 and 2.6.6, the default encryption mechanism changed from mcrypt's internal method to openpgp. http://mcrypt.cvs.sourceforge.net/mcrypt/mcrypt/src/mcrypt.gaa?r1=1.1&r2=1.2 Passing --no-openpgp confirms this: [spot@localhost mcrypt-2.6.6]$ for i in y? ; do time /usr/bin/mcrypt --no-openpgp -k x <$i |wc -c; done Warning: It is insecure to specify keywords in the command line 1000109 Stdin was encrypted. real 0m0.056s user 0m0.033s sys 0m0.013s Warning: It is insecure to specify keywords in the command line 10000109 Stdin was encrypted. real 0m0.399s user 0m0.317s sys 0m0.056s Warning: It is insecure to specify keywords in the command line 100000109 Stdin was encrypted. real 0m3.637s user 0m3.160s sys 0m0.459s [spot@localhost mcrypt-2.6.6]$ Given the significant shortcomings of openpgp, I don't think it should be the default, so I've patched it to not be (patch also sent upstream, see: http://sourceforge.net/tracker/index.php?func=detail&aid=2075758&group_id=87941&atid=584895). You should see updates coming shortly. mcrypt-2.6.7-3.fc8,libmcrypt-2.5.8-6.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/mcrypt-2.6.7-3.fc8,libmcrypt-2.5.8-6.fc8 libmcrypt-2.5.8-6.fc9,mcrypt-2.6.7-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/libmcrypt-2.5.8-6.fc9,mcrypt-2.6.7-3.fc9 mcrypt-2.6.7-3.fc8, libmcrypt-2.5.8-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. libmcrypt-2.5.8-6.fc9, mcrypt-2.6.7-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. Tested. Works now. Much appreciated. |