Bug 348221 - Port sharutils to use NSS library for cryptography
Summary: Port sharutils to use NSS library for cryptography
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sharutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CryptoConsolidation
TreeView+ depends on / blocked
 
Reported: 2007-10-23 10:23 UTC by Peter Vrabec
Modified: 2017-01-05 16:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-05 16:01:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Vrabec 2007-10-23 10:23:02 UTC
sharutils should be ported to use NSS library for cryptography.
See the tracking bug for details and links on how it could be done.

Comment 1 Fedora Admin XMLRPC Client 2010-06-03 09:31:12 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Petr Pisar 2010-06-03 14:26:50 UTC
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.

Comment 3 Tomas Mraz 2010-06-03 15:58:15 UTC
I don't think so. It contains the source of MD-5 algorithm directly and it seems to call it.

Comment 4 Petr Pisar 2010-06-03 16:58:49 UTC
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).

Comment 5 Nikos Mavrogiannopoulos 2017-01-05 16:01:31 UTC
This is no longer on-going effort (see tracker bug).


Note You need to log in before you can comment on or make changes to this bug.