Bug 348221
| Summary: | Port sharutils to use NSS library for cryptography | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Vrabec <pvrabec> |
| Component: | sharutils | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | bashton, nmavrogi, tmraz |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-05 16:01:31 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 333741 | ||
|
Description
Peter Vrabec
2007-10-23 10:23:02 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. AFAIK, sharutils utilizes `md5sum' and `sum' tools from coreutils and it does not perform any other cryptographic operations. Am I right? If I'm, then this issue should be addressed to coreutils component. I don't think so. It contains the source of MD-5 algorithm directly and it seems to call it. You are right. It uses lib/md5.* while creating archive if MD-5 summing is not disabled (default behavior):
src/shar.c:180:static int md5_count_mode = 1;
src/shar.c:694: if (md5_count_mode)
src/shar.c:1678: if ( md5_count_mode
src/shar.c:1680: && md5_stream (fp, md5buffer) == 0)
src/shar.c:1687: SM_md5_check_failed, here_delimiter);
src/shar.c:2064: {"no-md5-digest", no_argument, &md5_count_mode, 0},
src/shar.c:2114: md5_count_mode = 0;
src/shar.c:2323: md5_count_mode = 0;
Thanks for pointing. I will try to rewrite the code in unspecified future (no experience with NSS).
This is no longer on-going effort (see tracker bug). |