[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511069: marked as done (RFP: libcrypt-salt-perl -- generate salt to be fed into crypt())



Your message dated Fri, 12 Aug 2016 09:56:23 +0000
with message-id <E1bY9CR-0001uu-N8@quantz.debian.org>
and subject line closing RFP: libcrypt-salt-perl -- generate salt to be fed into crypt()
has caused the Debian Bug report #511069,
regarding RFP: libcrypt-salt-perl -- generate salt to be fed into crypt()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
511069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511069
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Owner: Damyan Ivanov <dmn@debian.org>

* Package name    : libcrypt-salt-perl
  Version         : 0.01
  Upstream Author : Jonathan Steinert <hachi@cpan.org>
* URL             : http://search.cpan.org/dist/Crypt-Salt/
* License         : same as Perl (Artistic or GPL-1+)
  Programming Lang: Perl
  Description     : generate salt to be fed into crypt()

 The single exported subroutine in this module is for generating a salt
 suitable for being fed to crypt() and other similar functions.
 .
 Variable length salts can be generated, the default salt is two
 characters long.

-=-=-=-=-=-=-

The package is a dependency of 'clive-utils', which is spun-off 'clive'
upstream and rewritten in Perl.

FTP-masters, the actual code in this package would be the following
function, the rest is POD, makefiles etc stuff.

 sub salt
 {
    my $length = 2;
    $length = $_[0] if exists $_[0];

    return join "", ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[map {rand 64} (1..$length)];
 }

There was a recent rejection[1] of a similar package.

    [1] http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2008-December/017000.html

I hope someone can suggest a better place for that module. Separate
package, containing only few lines of code is not very nice indeed.

salt() is mostly useful with crypt(), which is part of core Perl. I
wonder if perl-modules package would be appropriate carier?

The 'join "", ...' part seems like taken straight from crypt()
documentation (perldoc -f crypt).

Finally there's always the option of patching clive-utils and putting inside
its own salt(). My problem with this is that I think code reuse is good,
even in small-scale.

-- 
dam            JabberID: dam@jabber.minus273.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
RFP 511069 has no visible progress for a long time, so closing.

--- End Message ---

Reply to: