Your message dated Wed, 12 Oct 2016 21:47:26 +0900
with message-id <20161012124726.GC22759@somnambulist.local>
and subject line This bug does not exist in unstable
has caused the Debian Bug report #837117,
regarding libscrypt0: Library does not appear to be working
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 ow...@bugs.debian.org
immediately.)


-- 
837117: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837117
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libscrypt0
Version: 1-2.2
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

The use case of the -dev library, as documented in the README.txt, is:

#include <stdlib.h>
#include <libscrypt.h>
#include <assert.h>

#define PASSWORD "test"

int main() {
        char mcf[SCRYPT_MCF_LEN + 1];
        libscrypt_hash(mcf, PASSWORD, SCRYPT_N, SCRYPT_r, SCRYPT_p);
        assert(libscrypt_check(mcf, PASSWORD) > 0);
        return 0;
}

You compile the program with:

gcc -lm -lscrypt scrypt-test.c -o scrypt-test

and it fails with:

allan@vent:~/src/yaxto$ ./scrypt-test 
scrypt-test: scrypt-test.c:10: main: Assertion `libscrypt_check(mcf, "test") > 
0' failed.
Aborted

I grabbed the current version from github 
(f2b792386b287cc471b1eb030e4ddcbc96be5ad5),
and it works as expected:

allan@vent:~/src/yaxto$ LD_LIBRARY_PATH=~/src/libscrypt ./scrypt-test 
allan@vent:~/src/yaxto$ 

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libscrypt0 depends on:
ii  libc6  2.19-18+deb8u4

libscrypt0 recommends no packages.

libscrypt0 suggests no packages.

-- debconf-show failed

-- 
Allan Wind
Yaxto - Runs My Business
<https://yaxto.com>

--- End Message ---
--- Begin Message ---
Source: libscrypt
Source-Version: 1.21-1

Hi,

As stated previously, the bug reported doesn't exist in the version in
unstable; and 1.21 was the version referenced directly by the original
reporter, so I'm marking the bug as closed/fixed in 1.21-1.

Thanks,

Daniel.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69

--- End Message ---

Reply via email to