Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-ntlm/ruby-ntlm_0.6.1-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-ntlm-0.6.1-2b5s1_9sj/ruby-ntlm_0.6.1-2_all.buildinfo Get source package info: ruby-ntlm=0.6.1-2 Source URL: http://snapshot.notset.fr/mr/package/ruby-ntlm/0.6.1-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.15.1-3 autopoint=0.19.8.1-4 autotools-dev=20171216.1 base-files=10.1 base-passwd=3.5.44 bash=4.4.18-1.1 binutils=2.30-5 binutils-common=2.30-5 binutils-x86-64-linux-gnu=2.30-5 bsdmainutils=11.1.2 bsdutils=1:2.31.1-0.4 build-essential=12.4 bzip2=1.0.6-8.1 ca-certificates=20170717 coreutils=8.28-1 cpp=4:7.2.0-1d1 cpp-7=7.3.0-5 dash=0.5.8-2.10 debconf=1.5.65 debhelper=11.1.4 debianutils=4.8.4 devscripts=2.17.12 dh-autoreconf=16 dh-python=2.20170125 dh-strip-nondeterminism=0.040-1 diffutils=1:3.6-1 dpkg=1.19.0.5 dpkg-dev=1.19.0.5 e2fsprogs=1.43.9-1 fdisk=2.31.1-0.4 file=1:5.32-2 findutils=4.6.0+git+20170828-2 g++=4:7.2.0-1d1 g++-7=7.3.0-5 gcc=4:7.2.0-1d1 gcc-7=7.3.0-5 gcc-7-base=7.3.0-5 gcc-8-base=8-20180218-1 gem2deb=0.36 gem2deb-test-runner=0.36 gettext=0.19.8.1-4 gettext-base=0.19.8.1-4 grep=3.1-2 groff-base=1.22.3-10 gzip=1.6-5+b1 hostname=3.20 init-system-helpers=1.51 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.60-1 libasan4=7.3.0-5 libatomic1=8-20180218-1 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.8.2-1 libaudit1=1:2.8.2-1 libbinutils=2.30-5 libblkid1=2.31.1-0.4 libbsd0=0.8.7-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.26-6 libc-dev-bin=2.26-6 libc6=2.26-6 libc6-dev=2.26-6 libcap-ng0=0.7.7-3.1+b1 libcc1-0=8-20180218-1 libcilkrts5=7.3.0-5 libcom-err2=1.43.9-1 libcroco3=0.6.12-2 libdb5.3=5.3.28-13.1+b1 libdebconfclient0=0.241 libdpkg-perl=1.19.0.5 libexpat1=2.2.5-3 libext2fs2=1.43.9-1 libfdisk1=2.31.1-0.4 libffi6=3.2.1-8 libfile-homedir-perl=1.002-1 libfile-stripnondeterminism-perl=0.040-1 libfile-which-perl=1.21-1 libgcc-7-dev=7.3.0-5 libgcc1=1:8-20180218-1 libgcrypt20=1.8.1-4 libgdbm3=1.8.3-14 libgdbm5=1.14.1-4 libglib2.0-0=2.54.3-2 libgmp-dev=2:6.1.2+dfsg-2 libgmp10=2:6.1.2+dfsg-2 libgmpxx4ldbl=2:6.1.2+dfsg-2 libgomp1=8-20180218-1 libgpg-error0=1.27-6 libicu57=57.1-8 libisl15=0.18-1 libitm1=8-20180218-1 libjs-jquery=3.2.1-1 libjs-jquery-easing=12-1 libjs-jquery-fancybox=12-1 libjs-jquery-mousewheel=12-1 libjs-jquery-ui=1.12.1+dfsg-5 liblsan0=8-20180218-1 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.3 libmagic-mgc=1:5.32-2 libmagic1=1:5.32-2 libmount1=2.31.1-0.4 libmpc3=1.1.0-1 libmpdec2=2.4.2-1 libmpfr6=4.0.1-1 libmpx2=8-20180218-1 libncurses5=6.1-1 libncursesw5=6.1-1 libpam-modules=1.1.8-3.7 libpam-modules-bin=1.1.8-3.7 libpam-runtime=1.1.8-3.7 libpam0g=1.1.8-3.7 libpcre3=2:8.39-9 libperl5.26=5.26.1-4+b1 libpipeline1=1.5.0-1 libpython3-stdlib=3.6.4-1 libpython3.6-minimal=3.6.4-4 libpython3.6-stdlib=3.6.4-4 libquadmath0=8-20180218-1 libreadline7=7.0-3 libruby2.3=2.3.6-2 libruby2.5=2.5.0-4 libseccomp2=2.3.1-2.1 libselinux1=2.7-2+b1 libsigsegv2=2.12-1 libsmartcols1=2.31.1-0.4 libsqlite3-0=3.22.0-1 libss2=1.43.9-1 libssl1.0.2=1.0.2n-1 libssl1.1=1.1.0g-2 libstdc++-7-dev=7.3.0-5 libstdc++6=8-20180218-1 libsystemd0=237-3 libtimedate-perl=2.3000-2 libtinfo5=6.1-1 libtool=2.4.6-2 libtsan0=8-20180218-1 libubsan0=7.3.0-5 libudev1=237-3 libunistring2=0.9.8-1 libuuid1=2.31.1-0.4 libxml2=2.9.4+dfsg1-6.1 libyaml-0-2=0.1.7-2 linux-libc-dev=4.15.4-1 login=1:4.5-1 m4=1.4.18-1 make=4.2.1-1 man-db=2.8.1-1 mawk=1.3.3-17+b3 mime-support=3.60 ncurses-base=6.1-1 ncurses-bin=6.1-1 openssl=1.1.0g-2 patch=2.7.6-1 perl=5.26.1-4+b1 perl-base=5.26.1-4+b1 perl-modules-5.26=5.26.1-4 po-debconf=1.0.20 pry=0.11.3-1 python3=3.6.4-1 python3-distutils=3.6.4-4 python3-lib2to3=3.6.4-4 python3-minimal=3.6.4-1 python3.6=3.6.4-4 python3.6-minimal=3.6.4-4 rake=12.3.0-1 readline-common=7.0-3 ruby=1:2.5~1 ruby-all-dev=1:2.5~1 ruby-coderay=1.1.2-2 ruby-did-you-mean=1.0.0-2 ruby-diff-lcs=1.3-1 ruby-docile=1.1.5-2 ruby-json=2.1.0+dfsg-1+b1 ruby-method-source=0.9.0-1 ruby-minitest=5.10.3-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=0.3.0-1 ruby-rspec=3.7.0c1e0m0s1-1 ruby-rspec-core=3.7.0c1e0m0s1-1 ruby-rspec-expectations=3.7.0c1e0m0s1-1 ruby-rspec-mocks=3.7.0c1e0m0s1-1 ruby-rspec-support=3.7.0c1e0m0s1-1 ruby-setup=3.4.1-9 ruby-simplecov=0.14.1-1 ruby-simplecov-html=0.10.0-1 ruby-test-unit=3.2.5-1 ruby-thread-order=1.1.0-1 ruby2.3=2.3.6-2 ruby2.3-dev=2.3.6-2 ruby2.5=2.5.0-4 ruby2.5-dev=2.5.0-4 rubygems-integration=1.11 sed=4.4-2 sensible-utils=0.0.11 sysvinit-utils=2.88dsf-59.10 tar=1.29b-2 util-linux=2.31.1-0.4 xz-utils=5.2.2-1.3 zlib1g=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20180223T094451Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-ntlm=0.6.1-2 && mkdir -p /build/ruby-ntlm-HM1aho && dpkg-source --no-check -x /*.dsc /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1 && chown -R builduser:builduser /build/ruby-ntlm-HM1aho" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1519319925" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-ntlm-HM1aho /tmp/ruby-ntlm-0.6.1-2b5s1_9sj buster /dev/null deb http://snapshot.notset.fr/archive/debian/20180223T094451Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.DDu8kYxZXc as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.DDu8kYxZXc Reading package lists... Building dependency tree... util-linux is already the newest version (2.31.1-0.4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20180223T094451Z unstable/main amd64 libfakeroot amd64 1.22-2 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180223T094451Z unstable/main amd64 fakeroot amd64 1.22-2 [85.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (692 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4428 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.22-2_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-2) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.22-2_amd64.deb ... Unpacking fakeroot (1.22-2) ... Processing triggers for libc-bin (2.26-6) ... Setting up libfakeroot:amd64 (1.22-2) ... Setting up fakeroot (1.22-2) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.26-6) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20180223T094451Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.DDu8kYxZXc Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20180223T094451Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 26s (855 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.DDu8kYxZXc I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-ntlm=0.6.1-2 && mkdir -p /build/ruby-ntlm-HM1aho && dpkg-source --no-check -x /*.dsc /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1 && chown -R builduser:builduser /build/ruby-ntlm-HM1aho"' exec /tmp/mmdebstrap.DDu8kYxZXc Reading package lists... NOTICE: 'ruby-ntlm' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-ntlm.git Please use: git clone https://anonscm.debian.org/git/pkg-ruby-extras/ruby-ntlm.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 33.0 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ntlm 0.6.1-2 (dsc) [2050 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ntlm 0.6.1-2 (tar) [27.6 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ntlm 0.6.1-2 (diff) [3348 B] Fetched 33.0 kB in 0s (446 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-ntlm_0.6.1-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-ntlm in /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1 dpkg-source: info: unpacking ruby-ntlm_0.6.1.orig.tar.gz dpkg-source: info: unpacking ruby-ntlm_0.6.1-2.debian.tar.xz dpkg-source: info: applying 01_fix_library_path.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1519319925" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.DDu8kYxZXc dpkg-buildpackage: info: source package ruby-ntlm dpkg-buildpackage: info: source version 0.6.1-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pirate Praveen dpkg-source --before-build ruby-ntlm-0.6.1 fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean Invalid gemspec in [rubyntlm.gemspec]: No such file or directory - git dh_clean -O--buildsystem=ruby debian/rules build-indep dh build-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm dh_ruby --install Invalid gemspec in [rubyntlm.gemspec]: No such file or directory - git ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/rubyntlm.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/rubyntlm.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/encode_util.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/encode_util.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client/session.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/client/session.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/channel_binding.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/channel_binding.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/version.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/version.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/security_buffer.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/security_buffer.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/target_info.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/target_info.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/message/type3.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/message/type3.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/message/type1.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/message/type1.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/message/type0.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/message/type0.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/message/type2.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/message/type2.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/client.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/blob.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/blob.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/exceptions.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/exceptions.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/int16_le.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/int16_le.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/int64_le.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/int64_le.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/field_set.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/field_set.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/int32_le.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/int32_le.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/string.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/string.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/field.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/field.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/message.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm/message.rb install -D -m644 /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm.rb /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby/net/ntlm.rb dh_installchangelogs -pruby-ntlm /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/CHANGELOG.md upstream ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/share/rubygems-integration/all/specifications/rubyntlm-0.6.1.gemspec /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.3 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-ntlm/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*.rb --format documentation WARNING: Shared example group 'a field' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/field_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/field_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'a fieldset' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/fieldset_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/fieldset_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'an integer field' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'a message' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/message_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/message_shared.rb:1 The new definition will overwrite the original one. Net::NTLM::Blob behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #blob_signature should respond to #reserved should respond to #timestamp should respond to #challenge should respond to #unknown1 should respond to #target_info should respond to #unknown2 blob_signature should be a Net::NTLM::Int32LE should have a default value of 257 should have active set to true reserved should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true timestamp should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to true challenge should be a Net::NTLM::String should have a default value of should have active set to true unknown1 should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true target_info should be a Net::NTLM::String should have a default value of should have active set to true unknown2 should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true Net::NTLM::ChannelBinding #channel_binding_token returns the correct hash Net::NTLM::Client::Session #sign_message signs a message and when KEY_EXCHANGE is true #verify_signature verifies a message signature #seal_message should seal the message #unseal_message should unseal the message #exported_session_key returns a random 16-byte key when negotiate_key_exchange? is true returns the user_session_key when negotiate_key_exchange? is false Net::NTLM::Client #init_context returns a default Type1 message clears session variable on new init_context returns a Type1 message with custom flags calls authenticate! when we receive a Challenge Message Net::NTLM::EncodeUtil #encode_utf16le should convert an ASCII string to UTF #decode_utf16le should convert a UTF string to ASCII Net::NTLM::FieldSet behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable an instance should serialize all the fields should parse a string across the fields should return an aggregate size of all the fields Net::NTLM::Field behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options with no size specified should set size to 0 if not active should return 0 if active but no size specified with a size specified should return the size provided in the initialize options if active should still return 0 if not active Net::NTLM::Int16LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 16-bit integer from a string should use an offset to find the 16-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Int32LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 32-bit integer from a string should use an offset to find the 32-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Int64LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #>' for nil:NilClass>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 64-bit integer from a string should use an offset to find the 64-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Message::Type0 behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag Net::NTLM::Message::Type1 should deserialize should serialize behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #flag should respond to #domain should respond to #workstation should respond to #os_version sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 1 should have active set to true flag should be a Net::NTLM::Int32LE should have a default value of 557575 should have active set to true domain should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true workstation should be a Net::NTLM::SecurityBuffer should have a default value of 291d0a8416e2 should have active set to true os_version should be a Net::NTLM::String should have a default value of should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag .parse NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the magic should set the type should set the flags should have empty workstation should have empty domain NTLMv2 Authentication; NTLM1 Signing and Sealing Using the 40-bit NTLMv2 User Session Key should set the magic should set the type should set the flags should have empty workstation should have empty domain NTLMv2 with OS version should set the magic should set the type should have empty workstation should have empty domain should set OS version info Net::NTLM::Message::Type2 should deserialize should serialize should generate a type 3 response should upcase domain when provided behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #challenge should respond to #context should respond to #flag should respond to #target_name should respond to #target_info should respond to #os_version sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 2 should have active set to true challenge should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to true context should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to false flag should be a Net::NTLM::Int32LE should have a default value of 1 should have active set to true target_name should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true target_info should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to false os_version should be a Net::NTLM::String should have a default value of should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to set a new flag .parse NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the magic should set the type should set the target name should set the flags should set the challenge should set an empty context should set target info Net::NTLM::Message::Type3 behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #lm_response should respond to #ntlm_response should respond to #domain should respond to #user should respond to #workstation should respond to #session_key should respond to #flag sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 3 should have active set to true lm_response should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true ntlm_response should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true domain should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true user should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true workstation should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true session_key should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to false flag should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to set a new flag .parse with NTLMv2 data should set the magic should set the type should set the LM response should set the NTLM response should set the user should set the domain should set the workstation should set the session key should set the flags should NOT set the OS version structure #blank_password? should be true #ntlm_version should be :ntlmv2 NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the LM response should set the NTLM response should set the domain should set the user should set the workstation should set the session key #password? should be true for "test1234" #blank_password? should be false #ntlm_version should be :ntlm2_session NTLMv2 Authentication; NTLM1 Signing and Sealing Using the 40-bit NTLMv2 User Session Key should set the NTLM response should set the domain should set the user should set the workstation #ntlm_version should be :ntlmv2 Net::NTLM::Message behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag Net::NTLM::SecurityBuffer behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #length should respond to #allocated should respond to #offset length should be a Net::NTLM::Int16LE should have a default value of 0 should have active set to true allocated should be a Net::NTLM::Int16LE should have a default value of 0 should have active set to true offset should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options when setting the value directly should change the value should adjust the length field to the size of the new value should adjust the allocated field to the size of the new value #data_size should return the size of the value if active should return 0 if inactive #parse should read in a properly formatted string Net::NTLM::String behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options #serialize should return the value when active should return an empty string when inactive should coerce non-string values into strings should return empty string on a nil #value= should set active to false if it empty should adjust the size based on the value set #parse should read in a string of the proper size should not read in a string that is too small should be able to read from an offset and only for the given size Net::NTLM::TargetInfo invalid data invalid pair id returns an error #av_pairs returns the pair values with the given keys target data is nil returns the pair values with the given keys #to_s returns bytes with any new data added Net::NTLM::VERSION should contain an integer value for Major Version should contain an integer value for Minor Version should contain an integer value for Patch Version should contain an aggregate version string Net::NTLM should convert a value to 64-bit LE Integer should split a string into an array of slices, 7 chars or less should generate DES keys from the supplied string should encrypt the string with DES for each key supplied should generate an lm_hash should generate an ntlm_hash should generate an ntlmv2_hash should generate an lm_response should generate an ntlm_response should generate a lvm2_response should generate a ntlmv2_response should generate a ntlm2_session when a user passes an NTLM hash for pass-the-hash should return the correct ntlmv2 hash Finished in 0.34854 seconds (files took 0.63749 seconds to load) 741 examples, 0 failures /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/debian/ruby-ntlm/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-ntlm/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*.rb --format documentation WARNING: Shared example group 'a field' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/field_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/field_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'a fieldset' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/fieldset_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/fieldset_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'an integer field' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:1 The new definition will overwrite the original one. WARNING: Shared example group 'a message' has been previously defined at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/message_shared.rb:1 ...and you are now defining it at: /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/message_shared.rb:1 The new definition will overwrite the original one. Net::NTLM::Blob behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #blob_signature should respond to #reserved should respond to #timestamp should respond to #challenge should respond to #unknown1 should respond to #target_info should respond to #unknown2 blob_signature should be a Net::NTLM::Int32LE should have a default value of 257 should have active set to true reserved should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true timestamp should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to true challenge should be a Net::NTLM::String should have a default value of should have active set to true unknown1 should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true target_info should be a Net::NTLM::String should have a default value of should have active set to true unknown2 should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true Net::NTLM::ChannelBinding #channel_binding_token returns the correct hash Net::NTLM::Client::Session #sign_message /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client/session.rb:128: warning: constant OpenSSL::Cipher::Cipher is deprecated signs a message and when KEY_EXCHANGE is true #verify_signature /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client/session.rb:138: warning: constant OpenSSL::Cipher::Cipher is deprecated verifies a message signature #seal_message /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client/session.rb:128: warning: constant OpenSSL::Cipher::Cipher is deprecated should seal the message #unseal_message /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm/client/session.rb:138: warning: constant OpenSSL::Cipher::Cipher is deprecated should unseal the message #exported_session_key returns a random 16-byte key when negotiate_key_exchange? is true returns the user_session_key when negotiate_key_exchange? is false Net::NTLM::Client #init_context returns a default Type1 message clears session variable on new init_context returns a Type1 message with custom flags calls authenticate! when we receive a Challenge Message Net::NTLM::EncodeUtil #encode_utf16le should convert an ASCII string to UTF #decode_utf16le should convert a UTF string to ASCII Net::NTLM::FieldSet behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable an instance should serialize all the fields should parse a string across the fields should return an aggregate size of all the fields Net::NTLM::Field behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options with no size specified should set size to 0 if not active should return 0 if active but no size specified with a size specified should return the size provided in the initialize options if active should still return 0 if not active Net::NTLM::Int16LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 16-bit integer from a string should use an offset to find the 16-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Int32LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 32-bit integer from a string should use an offset to find the 32-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Int64LE behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options behaves like an integer field #serialize should serialize properly with an integer value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:17:in `block (3 levels) in '. should raise an Exception for a String WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #>' for nil:NilClass>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/spec/support/shared/examples/net/ntlm/int_shared.rb:22:in `block (3 levels) in '. should raise an Exception for Nil #parse should parse a raw 64-bit integer from a string should use an offset to find the 64-bit integer in the string should return 0 and not change the value if the string is not big enough Net::NTLM::Message::Type0 behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag Net::NTLM::Message::Type1 should deserialize should serialize behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #flag should respond to #domain should respond to #workstation should respond to #os_version sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 1 should have active set to true flag should be a Net::NTLM::Int32LE should have a default value of 557575 should have active set to true domain should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true workstation should be a Net::NTLM::SecurityBuffer should have a default value of 291d0a8416e2 should have active set to true os_version should be a Net::NTLM::String should have a default value of should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag .parse NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the magic should set the type should set the flags should have empty workstation should have empty domain NTLMv2 Authentication; NTLM1 Signing and Sealing Using the 40-bit NTLMv2 User Session Key should set the magic should set the type should set the flags should have empty workstation should have empty domain NTLMv2 with OS version should set the magic should set the type should have empty workstation should have empty domain should set OS version info Net::NTLM::Message::Type2 should deserialize should serialize should generate a type 3 response should upcase domain when provided behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #challenge should respond to #context should respond to #flag should respond to #target_name should respond to #target_info should respond to #os_version sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 2 should have active set to true challenge should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to true context should be a Net::NTLM::Int64LE should have a default value of 0 should have active set to false flag should be a Net::NTLM::Int32LE should have a default value of 1 should have active set to true target_name should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true target_info should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to false os_version should be a Net::NTLM::String should have a default value of should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to set a new flag .parse NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the magic should set the type should set the target name should set the flags should set the challenge should set an empty context should set target info Net::NTLM::Message::Type3 behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #sign should respond to #type should respond to #lm_response should respond to #ntlm_response should respond to #domain should respond to #user should respond to #workstation should respond to #session_key should respond to #flag sign should be a Net::NTLM::String should have a default value of NTLMSSP should have active set to true type should be a Net::NTLM::Int32LE should have a default value of 3 should have active set to true lm_response should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true ntlm_response should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true domain should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true user should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true workstation should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to true session_key should be a Net::NTLM::SecurityBuffer should have a default value of should have active set to false flag should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to false behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to set a new flag .parse with NTLMv2 data should set the magic should set the type should set the LM response should set the NTLM response should set the user should set the domain should set the workstation should set the session key should set the flags should NOT set the OS version structure #blank_password? should be true #ntlm_version should be :ntlmv2 NTLM2 Session Response Authentication; NTLM2 Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key With Key Exchange Negotiated should set the LM response should set the NTLM response should set the domain should set the user should set the workstation should set the session key #password? /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm.rb:126: warning: constant OpenSSL::Cipher::Cipher is deprecated should be true for "test1234" #blank_password? should be false #ntlm_version should be :ntlm2_session NTLMv2 Authentication; NTLM1 Signing and Sealing Using the 40-bit NTLMv2 User Session Key should set the NTLM response should set the domain should set the user should set the workstation #ntlm_version should be :ntlmv2 Net::NTLM::Message behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable behaves like a message should respond to #has_flag? should respond to #set_flag should respond to #dump_flags should respond to #encode64 should respond to #decode64 should respond to #head_size should respond to #data_size should respond to #size should respond to #security_buffers should respond to #deflag should respond to #data_edge should be able to check if the UNICODE flag is set should be able to check if the OEM flag is set should be able to check if the REQUEST_TARGET flag is set should be able to check if the NTLM flag is set should be able to check if the ALWAYS_SIGN flag is set should be able to check if the NTLM2_KEY flag is set should be able to set a new flag Net::NTLM::SecurityBuffer behaves like a fieldset the class should respond to #string should respond to #int16LE should respond to #int32LE should respond to #int64LE should respond to #security_buffer should respond to #prototypes should respond to #names should respond to #types should respond to #opts adding a String Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int16LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int32LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a Int64LE Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value adding a SecurityBuffer Field should set the prototypes correctly should set the names correctly should set the types correctly should set the opts correctly when creating an instance should have the new accessor should have the correct default value an instance should respond to #serialize should respond to #parse should respond to #size should respond to #enable should respond to #disable fields should respond to #length should respond to #allocated should respond to #offset length should be a Net::NTLM::Int16LE should have a default value of 0 should have active set to true allocated should be a Net::NTLM::Int16LE should have a default value of 0 should have active set to true offset should be a Net::NTLM::Int32LE should have a default value of 0 should have active set to true behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options when setting the value directly should change the value should adjust the length field to the size of the new value should adjust the allocated field to the size of the new value #data_size should return the size of the value if active should return 0 if inactive #parse should read in a properly formatted string Net::NTLM::String behaves like a field should respond to #active should respond to #value should respond to #size should respond to #parse should respond to #serialize should set the value from initialize options should set active from initialize options #serialize should return the value when active should return an empty string when inactive should coerce non-string values into strings should return empty string on a nil #value= should set active to false if it empty should adjust the size based on the value set #parse should read in a string of the proper size should not read in a string that is too small should be able to read from an offset and only for the given size Net::NTLM::TargetInfo invalid data invalid pair id returns an error #av_pairs returns the pair values with the given keys target data is nil returns the pair values with the given keys #to_s returns bytes with any new data added Net::NTLM::VERSION should contain an integer value for Major Version should contain an integer value for Minor Version should contain an integer value for Patch Version should contain an aggregate version string Net::NTLM should convert a value to 64-bit LE Integer should split a string into an array of slices, 7 chars or less should generate DES keys from the supplied string /build/ruby-ntlm-HM1aho/ruby-ntlm-0.6.1/lib/net/ntlm.rb:126: warning: constant OpenSSL::Cipher::Cipher is deprecated should encrypt the string with DES for each key supplied should generate an lm_hash should generate an ntlm_hash should generate an ntlmv2_hash should generate an lm_response should generate an ntlm_response should generate a lvm2_response should generate a ntlmv2_response should generate a ntlm2_session when a user passes an NTLM hash for pass-the-hash should return the correct ntlmv2 hash Finished in 0.38934 seconds (files took 0.67519 seconds to load) 741 examples, 0 failures ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installexamples -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-ntlm: unknown substitution variable ${shlibs:Depends} dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-ntlm' in '../ruby-ntlm_0.6.1-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-ntlm_0.6.1-2_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build ruby-ntlm-0.6.1 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-ntlm-HM1aho /tmp/ruby-ntlm-0.6.1-2b5s1_9sj I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.DDu8kYxZXc... I: success in 342.9783 seconds md5: ruby-ntlm_0.6.1-2_all.deb: OK sha1: ruby-ntlm_0.6.1-2_all.deb: OK sha256: ruby-ntlm_0.6.1-2_all.deb: OK Checksums: OK