The following packages will be installed: libscrypt Fetching README... 0%100%100%100%100%100%Done Fetching libscrypt.SlackBuild... 0%100%100%100%100%100%Done Fetching libscrypt.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done libscrypt-1.20/ libscrypt-1.20/.gitignore libscrypt-1.20/LICENSE libscrypt-1.20/Makefile libscrypt-1.20/README.md libscrypt-1.20/b64.c libscrypt-1.20/b64.h libscrypt-1.20/crypto-mcf.c libscrypt-1.20/crypto-scrypt-saltgen.c libscrypt-1.20/crypto_scrypt-check.c libscrypt-1.20/crypto_scrypt-hash.c libscrypt-1.20/crypto_scrypt-hexconvert.c libscrypt-1.20/crypto_scrypt-hexconvert.h libscrypt-1.20/crypto_scrypt-nosse.c libscrypt-1.20/libscrypt.h libscrypt-1.20/libscrypt.version libscrypt-1.20/main.c libscrypt-1.20/sha256.c libscrypt-1.20/sha256.h libscrypt-1.20/slowequals.c libscrypt-1.20/slowequals.h libscrypt-1.20/sysendian.h cc -O2 -fPIC -c -o crypto_scrypt-nosse.o crypto_scrypt-nosse.c cc -O2 -fPIC -c -o sha256.o sha256.c cc -O2 -fPIC -c -o crypto-mcf.o crypto-mcf.c cc -O2 -fPIC -c -o b64.o b64.c cc -O2 -fPIC -c -o crypto-scrypt-saltgen.o crypto-scrypt-saltgen.c cc -O2 -fPIC -c -o crypto_scrypt-check.o crypto_scrypt-check.c cc -O2 -fPIC -c -o crypto_scrypt-hash.o crypto_scrypt-hash.c cc -O2 -fPIC -c -o slowequals.o slowequals.c cc -Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version -shared -o libscrypt.so.0 crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o -lm -lc ar rcs libscrypt.a crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o cc -O2 -fPIC -c -o main.o main.c cc -O2 -fPIC -c -o crypto_scrypt-hexconvert.o crypto_scrypt-hexconvert.c ln -s -f libscrypt.so.0 libscrypt.so cc -Wall -o reference main.o b64.o crypto_scrypt-hexconvert.o -Wl,-rpath=. -L. -lscrypt ./reference TEST ONE: Direct call to reference function with password 'password' and salt 'NaCL' TEST ONE: SUCCESSFUL TEST TWO: Convert binary output to hex TEST TWO: SUCCESSFUL, Hex output is: fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640 TEST THREE: Compare hex output to reference hash output TEST THREE: SUCCESSUL, Test vector matched! TEST FOUR: Direct call to reference function with pleaseletmein password and SodiumChloride as salt TEST FOUR: SUCCESSFUL TEST FIVE: Convert binary output to hex TEST FIVE: SUCCESSFUL, Hex output is: 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887 TEST SIX: Compare hex output to reference hash output TEST SIX: SUCCESSUL, Test vector matched! TEST SEVEN: BASE64 encoding the salt and hash output TEST SEVEN: SUCCESSFUL TEST EIGHT: Create an MCF format output TEST EIGHT: SUCCESSFUL, calculated mcf $s1$0e0801$U29kaXVtQ2hsb3JpZGU=$cCO9yzr9c0hGHAbNgf046/2o+7qQT44+qbVD9lRdofLVQylVYT8Pz2LUlwUkKpr55h6F3A1lHkDfzwF7RVdYhw== TEST NINE: Password verify on given MCF TEST NINE: SUCCESSFUL, tested pleaseletmein password TEST TEN: Password verify on same MCF, incorrect password TEST TEN: SUCCESSFUL, refused incorrect password TEST ELEVEN: Testing salt generator TEST ELEVEN: SUCCESSFUL, Generated 1AyMzq+6aGWNuHfSmigaNg== TEST TWELVE: Simple hash creation TEST TWELVE: SUCCESSFUL. Received the following from simple hash: $s1$0e0810$+42koNalM7i+Gjv7ZDfjLA==$uJxqBB4Q6Jzeqv1PaHvT4zj0OIEOY6wrrRtW5iq8nSFBTlpYejL2fgtM3YEItfg6GrXEdKjrd+sTPUrkhG5enA== TEST THIRTEEN: Verify test twelve's hash TEST THIRTEEN: SUCCESSFUL install -d /usr/src/slapt-src/libraries/libscrypt/package-libscrypt /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/lib64 /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/include install -pm 0755 libscrypt.so.0 /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/lib64 cd /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/lib64 && ln -s -f libscrypt.so.0 /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/lib64/libscrypt.so install -pm 0644 libscrypt.h /usr/src/slapt-src/libraries/libscrypt/package-libscrypt/usr/include Slackware package maker, version 3.141593. Searching for symbolic links: usr/lib64/libscrypt.so libscrypt.so.0 Making symbolic link creation script: ( cd usr/lib64 ; rm -rf libscrypt.so ) ( cd usr/lib64 ; ln -sf libscrypt.so.0 libscrypt.so ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/lib64/libscrypt.so' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/libraries/libscrypt/libscrypt-1.20-x86_64-1salix.txz ./ usr/ usr/include/ usr/include/libscrypt.h usr/doc/ usr/doc/libscrypt-1.20/ usr/doc/libscrypt-1.20/LICENSE usr/doc/libscrypt-1.20/README.md usr/doc/libscrypt-1.20/libscrypt.SlackBuild usr/lib64/ usr/lib64/libscrypt.so.0 install/ install/doinst.sh install/slack-desc Slackware package /usr/src/slapt-src/libraries/libscrypt/libscrypt-1.20-x86_64-1salix.txz created. Installing package libscrypt-1.20-x86_64-1salix... | libscrypt (shared library that implements scrypt() functionality) | | The scrypt key derivation function was originally developed for use | in the Tarsnap online backup system and is designed to be far more | secure against hardware brute-force attacks than alternative | functions such as PBKDF2 or bcrypt. | | Homepage: https://github.com/technion/libscrypt | | | | |