Diff of the two buildlogs: -- --- b1/build.log 2024-07-04 03:27:04.031453654 +0000 +++ b2/build.log 2024-07-04 03:39:00.240988678 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 3 15:20:41 -12 2024 -I: pbuilder-time-stamp: 1720063241 +I: Current time: Thu Jul 4 17:27:07 +14 2024 +I: pbuilder-time-stamp: 1720063627 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./schleuder_4.0.3.orig.tar.gz] I: copying [./schleuder_4.0.3-7+deb12u1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Apr 7 22:59:45 2024 -12 +gpgv: Signature made Tue Apr 9 00:59:45 2024 +14 gpgv: using EDDSA key C47EBFCC4E57E9FC32CA3400461BEE5D240A9E91 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./schleuder_4.0.3-7+deb12u1.dsc: no acceptable signature found @@ -43,135 +43,167 @@ dpkg-source: info: applying 0030-gemspec-accept-sinatra-3.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3575515/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 4 17:27 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='9774eb4ee9014d9ca961b4a80345ec08' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3575515' - PS1='# ' - PS2='> ' + INVOCATION_ID=2730ed0d2ce94ea6b124f716e25f426f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2179147 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.7FqmV4nX/pbuilderrc_5xcP --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7FqmV4nX/b1 --logfile b1/build.log schleuder_4.0.3-7+deb12u1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.7FqmV4nX/pbuilderrc_Qkb6 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7FqmV4nX/b2 --logfile b2/build.log schleuder_4.0.3-7+deb12u1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux I: ls -l /bin total 7104 - -rwxr-xr-x 1 root root 1346480 Mar 29 09:21 bash - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67664 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 68536 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68616 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 68552 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 68632 Sep 20 2022 chown - -rwxr-xr-x 1 root root 200264 Sep 20 2022 cp - -rwxr-xr-x 1 root root 133640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 134144 Sep 20 2022 date - -rwxr-xr-x 1 root root 134248 Sep 20 2022 dd - -rwxr-xr-x 1 root root 134888 Sep 20 2022 df - -rwxr-xr-x 1 root root 200440 Sep 20 2022 dir - -rwxr-xr-x 1 root root 141720 Mar 27 21:52 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 68408 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 68384 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 134584 Mar 27 21:52 findmnt - -rwsr-xr-x 1 root root 67744 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 198880 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 93752 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67592 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 68664 Sep 20 2022 ln - -rwxr-xr-x 1 root root 69208 Mar 22 2023 login - -rwxr-xr-x 1 root root 200440 Sep 20 2022 ls - -rwxr-xr-x 1 root root 264360 Mar 27 21:52 lsblk - -rwxr-xr-x 1 root root 134384 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 68768 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 68472 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 67752 Mar 27 21:52 more - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 mount - -rwxr-xr-x 1 root root 67744 Mar 27 21:52 mountpoint - -rwxr-xr-x 1 root root 134728 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 68496 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Mar 29 09:21 rbash -> bash - -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm - -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty - -rwsr-xr-x 1 root root 133312 Mar 27 21:52 su - -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync - -rwxr-xr-x 1 root root 539896 Jan 19 21:27 tar - -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch - -rwxr-xr-x 1 root root 68384 Sep 20 2022 true - -rwxr-xr-x 1 root root 67664 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 umount - -rwxr-xr-x 1 root root 68416 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 200440 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 133312 Mar 27 21:52 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3575515/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1346480 Mar 30 11:21 bash + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67664 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 68536 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68616 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 68552 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 68632 Sep 21 2022 chown + -rwxr-xr-x 1 root root 200264 Sep 21 2022 cp + -rwxr-xr-x 1 root root 133640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 134144 Sep 21 2022 date + -rwxr-xr-x 1 root root 134248 Sep 21 2022 dd + -rwxr-xr-x 1 root root 134888 Sep 21 2022 df + -rwxr-xr-x 1 root root 200440 Sep 21 2022 dir + -rwxr-xr-x 1 root root 141720 Mar 28 23:52 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 68408 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 68384 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 134584 Mar 28 23:52 findmnt + -rwsr-xr-x 1 root root 67744 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 198880 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 93752 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67592 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 68664 Sep 21 2022 ln + -rwxr-xr-x 1 root root 69208 Mar 24 2023 login + -rwxr-xr-x 1 root root 200440 Sep 21 2022 ls + -rwxr-xr-x 1 root root 264360 Mar 28 23:52 lsblk + -rwxr-xr-x 1 root root 134384 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 68768 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 68472 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 67752 Mar 28 23:52 more + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 mount + -rwxr-xr-x 1 root root 67744 Mar 28 23:52 mountpoint + -rwxr-xr-x 1 root root 134728 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 68496 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Mar 30 11:21 rbash -> bash + -rwxr-xr-x 1 root root 68456 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 68592 Sep 21 2022 rm + -rwxr-xr-x 1 root root 68480 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 68392 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 134536 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 4 17:27 sh -> /bin/bash + -rwxr-xr-x 1 root root 68432 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 134088 Sep 21 2022 stty + -rwsr-xr-x 1 root root 133312 Mar 28 23:52 su + -rwxr-xr-x 1 root root 68448 Sep 21 2022 sync + -rwxr-xr-x 1 root root 539896 Jan 20 23:27 tar + -rwxr-xr-x 1 root root 67904 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 134160 Sep 21 2022 touch + -rwxr-xr-x 1 root root 68384 Sep 21 2022 true + -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 umount + -rwxr-xr-x 1 root root 68416 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 200440 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 133312 Mar 28 23:52 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -408,7 +440,7 @@ Get: 161 http://deb.debian.org/debian bookworm/main arm64 ruby-sqlite3 arm64 1.4.2-4+b3 [41.4 kB] Get: 162 http://deb.debian.org/debian bookworm/main arm64 ruby-thor all 1.2.1-2 [46.4 kB] Get: 163 http://deb.debian.org/debian bookworm/main arm64 thin arm64 1.8.1-2 [59.8 kB] -Fetched 48.8 MB in 1s (63.3 MB/s) +Fetched 48.8 MB in 1s (97.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19569 files and directories currently installed.) @@ -1086,7 +1118,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/schleuder-4.0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../schleuder_4.0.3-7+deb12u1_source.changes +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/schleuder-4.0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../schleuder_4.0.3-7+deb12u1_source.changes dpkg-buildpackage: info: source package schleuder dpkg-buildpackage: info: source version 4.0.3-7+deb12u1 dpkg-buildpackage: info: source distribution bookworm @@ -1122,7 +1158,7 @@ dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test - rm -fr -- /tmp/dh-xdg-rundir-6NmwcfCN + rm -fr -- /tmp/dh-xdg-rundir-daoeDdW_ create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby @@ -1245,361 +1281,517 @@ RUBYLIB=/build/reproducible-path/schleuder-4.0.3/debian/schleuder/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/schleuder-4.0.3/debian/schleuder/usr/share/rubygems-integration/all:/build/reproducible-path/schleuder-4.0.3/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --format documentation -Randomized with seed 51265 +Randomized with seed 35796 + +Schleuder::Subscription + formats email address when email begins with a space + is invalid if the given email is already subscribed for the list + is invalid when list_id is blank + is expected to respond to #delivery_enabled + is invalid if admin is nil + is valid when fingerprint is nil + is invalid if delivery_enabled is nil + has a valid factory + is invalid when email is nil + is expected to respond to #admin + is invalid if admin is blank + is invalid if delivery_enabled is blank + is invalid when fingerprint contains invalid characters + is invalid when email is blank + is valid when fingerprint is empty + removes whitespaces and 0x from the fingerprint + is expected to respond to #list_id + is invalid when email does not contain an @ + is expected to respond to #email + downcases all letters of an email address + is expected to respond to #fingerprint + #fingerprint + transforms the fingerprint to upper case + +Mail::Message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_03.txt.eml as normal message + recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234241664.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_19.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234210655.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211357.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_18.txt.eml as normal message + recognizes bounce message subject using the bounce_email gem + recognizes a message sent to listname-bounce@hostname as automated message + recognizes a sudo message with 'Auto-Submitted'-header NOT as automated message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_11.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_15.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_09.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_02.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_10.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948982-_marked_as_pending_in_schleuder.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_23.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_21.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_20.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_13.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211929.txt.eml as normal message + adds list#public_footer as last mime-part without changing its value + verifies an encapsulated (signed-then-encrypted) message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_04.txt.eml as normal message + adds list#internal_footer as last mime-part without changing its value + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_14.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_07.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_06.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_05.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_22.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285532.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234210666.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_16.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948980-_marked_as_pending_in_schleuder.eml as bounce + recognizes a cron message with 'Auto-Submitted'-header NOT as automated message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948981-_marked_as_pending_in_schleuder.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_12_soft.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_25.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/unknown_code_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/malformed_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_24.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234211024.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_08.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234177688.txt.eml as normal message + doesn't change the order of mime-parts + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211931.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234241665.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234175799.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211932.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_17.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285668.txt.eml as normal message + .keywords + stops looking for keywords when already the first line is blank followed by email content + stops looking for keywords when a blank line that is not followed by another keyword is met + drops multiple empty lines between keywords and content + splits lines into words and downcases them in keyword arguments + reads multiple lines as keyword arguments + takes the whole rest of the body as keyword argument if blank lines are present + ignores empty lines before keywords + drops empty lines in keyword arguments parsing + stops looking for keywords when the first line is already email content + makes a pseudo header + that a multiline with less than 76 get wrapped correctly on the first line and the following lines + that is getting wrapped + that multiline are getting wrapped + that single multiline are getting indented + with empty value + with key / value + that a multiline with less than 76 get wrapped correctly on the first line + without value + that a line with less than 76 gets wrapped + #add_subject_prefix! + adds a configured subject prefix + does not add a subject prefix if already present + adds a configured subject prefix without subject + +Schleuder::KeywordHandlers::Base + stores mail, list and arguments as instance variables + provides methods to register keywords Schleuder::Conf reads ERB code in config files -running filters - .strip_html_from_alternative! - does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data - strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data - .max_message_size - bounces to big mails - .fix_exchange_messages! - accepts a valid plain-text message - accepts an invalid pgp/mime Exchange message +Schleuder::ListBuilder + returns an error-message if given an invalid email-address with a space + returns an error-message if given an invalid email-address + subscribes the adminaddress and imports the adminkey + subscribes the adminaddress and respects the given adminfingerprint + creates a listdir for the list + creates a list-key with all required UIDs + subscribes the adminaddress and ignores the adminfingerprint if an adminkey was given + creates a new, valid list -user sends an encrypted message - from thunderbird being encrypted+signed-inline - from thunderbird being encrypted+signed-mime - from thunderbird being encrypted-mime - from thunderbird being encrypted-inline +authorization via api + allows authorized access + blocks un-authorized access to other URLs + allows un-authorized access to /status.json -GPGME::Key - #summary - displays the expected attributes for an expired key - displays the expected attributes for a revoked key - displays the expected attributes for an expiring key - displays the expected basic attributes - displays the expected attributes for a key that's not capable of encryption - .valid_fingerprint? - valid fingerprints - accepts 59C71FB38AEE22E091C78259D0635044 as a valid fingerprint - accepts 0x59C71FB38AEE22E091C78259D0635044 as a valid fingerprint - accepts 0x59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint - accepts 59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint - invalid fingerprints - rejects Z9C71FB38AEE22E091C78259D06350440F759BD3 as an invalid fingerprint - rejects 59C71FB38AEE22E091C78259D06350440F759BD as an invalid fingerprint - rejects 0x59C71FB38AEE22E091C78259D06350440F759B as an invalid fingerprint - rejects 59C71FB38AEE22E091C78259D06350440F759BD3A as an invalid fingerprint - rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint - rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint - #minimal - returns a minimal key +Schleuder::Runner + #run + does not throw an error on emails that contain other gpg keywords + delivers a signed error message if a subscription's key is expired on a encrypted-only list + delivers a signed error message if a subscription's key is not available on a encrypted-only list + does not throw an error on encrypted but unsigned emails that contain a forwarded encrypted email + does not throw an error on emails with an attached pgp key as application/octet-stream + does not throw an error on emails with broken utf-8 + injects pseudoheaders appropriately into a signed multipart/alternative-message (thunderbird+enigmail-1.9) + injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message + does not throw an error on emails with large first mime-part + with bounces_drop_all set to true + drops all bounces when bounces_notify_admins is set to false + notifies admins about bounces when bounces_notify_admins is set to true + with bounces_drop_all set to false + bounces and notifies admins about bounces when bounces_notify_admins is set to true + bounces and does not notify admins if bounces_notify_admins is set to false + mails not encrypted to the list key + handles a mail which was encrypted to an absent key and returns DecryptionFailed error + handles a mail containing PGP-garbage and returns DecryptionFailed error + handles a mail which was encrypted to a passphrase and returns DecryptionFailed error + with a plain text message + does keep the Message-Id as configured + delivers the incoming message + does not contain the Autocrypt header if include_autocrypt_header is set to false + doesn't have unwanted headerlines from the original message + includes the internal_footer + contains the open pgp header if include_openpgp_header is set to true + contains the Autocrypt header if include_autocrypt_header is set to true + contains the list headers if include_list_headers is set to true + doesn't leak the Message-Id as configured + does not deliver content if send_encrypted_only is set to true + contains the specified pseudoheaders in the correct order + does not include the public_footer + has the correct headerlines + Quoted-Printable encoding + is handled properly in encrypted emails + is handled properly in cleartext emails + is handled properly in encrypted+signed emails + after keyword parsing + falling back works also with non-ascii content + falls back to default charset per RFC if none is set Schleuder::List - is valid if subject_prefix_out is nil - is invalid when email contains a space - is expected to respond to #receive_from_subscribed_emailaddresses_only - is valid if keywords_admin_only does not contain special characters - is expected to respond to #keywords_admin_notify - is expected to respond to #subscriptions - is invalid if keywords_admin_only contains special characters - is invalid if keep_msgid is nil - is valid if keywords_admin_notify does not contain special characters - is invalid if receive_from_subscribed_emailaddresses_only is nil - is valid if headers_to_meta does not contain special characters - is invalid if logfiles_to_keep is 0 - is expected to respond to #openpgp_header_preference - is invalid if internal_footer includes a non-printable character + is invalid when email is nil + is invalid if subject_prefix_in contains a linebreak + is expected to respond to #include_openpgp_header is invalid if headers_to_meta contains special characters - is invalid when email does not contain an @ - exports the key with the given fingerprint - is expected to respond to #subject_prefix - is expected to respond to #receive_authenticated_only - is expected to respond to #set_reply_to_to_sender - is invalid if public_footer includes a non-printable character - is expected to respond to #email - is expected to respond to #internal_footer - is valid if subject_prefix is nil + is expected to respond to #subject_prefix_in + is invalid if logfiles_to_keep is 0 + is invalid if keep_msgid is blank + is invalid if include_openpgp_header is blank + is expected to respond to #bounces_drop_on_headers + is invalid if keep_msgid is nil is invalid if receive_authenticated_only is blank + is expected to respond to #subject_prefix + is invalid when fingerprint is nil + is expected to respond to #receive_admin_only + is valid if headers_to_meta does not contain special characters is expected to respond to #bounces_drop_all - is invalid if receive_signed_only is blank - is invalid if receive_authenticated_only is nil - is invalid if include_list_headers is blank + is expected to respond to #receive_encrypted_only + is invalid if subject_prefix contains a linebreak + is expected to respond to #internal_footer + is expected to respond to #subject_prefix_out is expected to respond to #bounces_notify_admins + is invalid if bounces_notify_admins is nil + is invalid if openpgp_header_preference is foobar + is expected to respond to #max_message_size_kb is valid if subject_prefix_in is nil + is invalid if set_reply_to_to_sender is blank + is invalid if bounces_drop_on_headers contains special characters is expected to respond to #send_encrypted_only - is expected to respond to #subject_prefix_out + is expected to respond to #forward_all_incoming_to_admins + is valid if subject_prefix is nil + is invalid if send_encrypted_only is blank + is invalid if include_list_headers is blank is invalid if set_reply_to_to_sender is nil - is invalid if set_reply_to_to_sender is blank - is invalid if subject_prefix_in contains a linebreak - is invalid if subject_prefix_out contains a linebreak - is invalid if keywords_admin_notify contains special characters + is invalid when email contains a space + is invalid if munge_from is nil + is expected to respond to #munge_from is invalid if receive_encrypted_only is nil - is invalid if subject_prefix contains a linebreak - is invalid when fingerprint is nil - is invalid when email is nil - is invalid if munge_from is blank - is invalid if deliver_selfsent is blank - is invalid if deliver_selfsent is nil - is expected to respond to #forward_all_incoming_to_admins + is invalid when fingerprint is blank + is invalid if receive_signed_only is blank + is invalid if receive_from_subscribed_emailaddresses_only is nil + is expected to respond to #fingerprint + is expected to respond to #receive_authenticated_only + is expected to respond to #keywords_admin_notify is invalid when email is blank - is expected to respond to #receive_encrypted_only - is invalid if openpgp_header_preference is foobar - is invalid if munge_from is nil + is invalid if bounces_drop_all is blank + is invalid if include_list_headers is blank + is expected to respond to #email + is invalid if receive_from_subscribed_emailaddresses_only is blank is invalid if include_list_headers is nil + is invalid if deliver_selfsent is nil + is invalid if public_footer includes a non-printable character + is valid if keywords_admin_only does not contain special characters + is expected to respond to #deliver_selfsent + is expected to respond to #openpgp_header_preference + is invalid if forward_all_incoming_to_admins is nil + is expected to respond to #public_footer + is invalid if keywords_admin_only contains special characters + is expected to respond to #keywords_admin_only + is expected to respond to #receive_from_subscribed_emailaddresses_only + is invalid if receive_authenticated_only is nil + is expected to respond to #language + is expected to respond to #subscriptions + is invalid if subject_prefix_out contains a linebreak + is invalid if deliver_selfsent is blank + is invalid if send_encrypted_only is nil + has a valid factory + is invalid if include_list_headers is nil + is expected to respond to #receive_signed_only + is invalid if forward_all_incoming_to_admins is blank is invalid if bounces_notify_admins is blank - is invalid if bounces_notify_admins is nil + is expected to respond to #keep_msgid is expected to respond to #log_level - is expected to respond to #bounces_drop_on_headers - is invalid if bounces_drop_all is nil is expected to respond to #logfiles_to_keep - is invalid if include_list_headers is nil + is expected to respond to #set_reply_to_to_sender + is invalid if internal_footer includes a non-printable character + is valid if keywords_admin_notify does not contain special characters is invalid if receive_admin_only is nil - has a valid factory - is invalid if bounces_drop_all is blank - is expected to respond to #include_openpgp_header - is expected to respond to #subject_prefix_in - is expected to respond to #include_list_headers - is invalid when fingerprint contains invalid characters - is expected to respond to #keywords_admin_only - is expected to respond to #headers_to_meta - is expected to respond to #max_message_size_kb - is invalid if include_openpgp_header is nil - is invalid when fingerprint is blank - is invalid if keep_msgid is blank - is invalid if log_level is foobar - is invalid if forward_all_incoming_to_admins is blank - is expected to respond to #receive_admin_only + exports the key with the given fingerprint is invalid if receive_encrypted_only is blank - is invalid if bounces_drop_on_headers contains special characters is invalid if language is jp - is expected to respond to #keep_msgid - is invalid if forward_all_incoming_to_admins is nil - is expected to respond to #deliver_selfsent + is invalid if log_level is foobar + is expected to respond to #include_list_headers + is invalid if keywords_admin_notify contains special characters is invalid if max_message_size_kb is 0 - is expected to respond to #fingerprint - is invalid if include_list_headers is blank - is invalid if include_openpgp_header is blank - is invalid if receive_from_subscribed_emailaddresses_only is blank - is expected to respond to #language - is expected to respond to #receive_signed_only - is invalid if receive_signed_only is nil - is invalid if send_encrypted_only is nil + is invalid if include_openpgp_header is nil + is invalid when fingerprint contains invalid characters + is expected to respond to #headers_to_meta + is invalid if bounces_drop_all is nil is invalid if receive_admin_only is blank - is invalid if send_encrypted_only is blank - is expected to respond to #public_footer - is expected to respond to #munge_from - #keys - returns an array with the keys matching the given email address - it returns an array with the keys of the list - returns an array with the keys matching the given bracketed email address - returns an array of keys matching the given fingerprint - #admins - returns subscriptions of admin users - #secret_key - returns the secret key with the fingerprint of the list - #sendkey_address - adds the sendkey keyword to the email address - #logger - calls the ListLogger - #request_address - adds the request keyword to the email address - #check_keys - adds a message if a key is invalid - adds a message if a key expires in two weeks or less - adds a message if a key is revoked - adds a message if a key is disabled + is valid if subject_prefix_out is nil + is invalid if munge_from is blank + is invalid if receive_signed_only is nil + is invalid when email does not contain an @ + #export_key + exports the key with the fingerprint of the list if no argument is given + #gpg + returns an instance of GPGME::Ctx + sets the GNUPGHOME environment variable to the listdir #key_minimal_base64_encoded does not return the key with the fingerprint in an Autocrypt-compatible format if the argument given does not correspond to a key returns the key with the fingerprint of the list if no argument is given in an Autocrypt-compatible format + #sendkey_address + adds the sendkey keyword to the email address + #fingerprint + removes whitespaces and 0x from the fingerprint + transforms the fingerprint to upper case + #subscribe + subscribes and sets the fingerprint from key material that contains exactly one key + subscribes and does not set the fingerprint from key material containing no keys + subscribes and ignores nil-values for admin and delivery_enabled + subscribes and does not set the fingerprint from key material containing multiple keys + subscribes and ignores a given fingerprint if key material is given, too #bounce_address adds the bounce keyword to the email address - #export_key - exports the key with the fingerprint of the list if no argument is given - #import_key - imports a given key - .by_recipient - returns the list for a given address + #owner_address + adds the owner keyword to the email address + #request_address + adds the request keyword to the email address + #to_s + returns the email + send_list_key_to_subscriptions + sends its key to all subscriptions + #logfile + returns the logfile path #key returns the key with the fingerprint of the list - .configurable_attributes - does not contain the attributes email and fingerprint - returns an array that contains the configurable attributes + #send_to_subscriptions + sends the message to all subscribers, in the clear if one's key is unusable, if send_encrypted_only is false + sends the message only to subscribers with usable keys if send_encrypted_only is true, and a notification to the other subscribers + sends the message to all subscribers but not the sender, if deliver_selfsent is false and the mail is correctly signed + sends the message to all subscribers including the sender, if deliver_selfsent is true and the mail is correctly signed + sends the message to all subscribers including the sender, if deliver_selfsent is false but the mail is not correctly signed + sends the message only to subscribers with available keys if send_encrypted_only is true, and a notification to the other subscribers + sends the message to all subscribers #delete_key - deletes the key with the given fingerprint returns false if no key with the fingerprint was found - #subscribe - subscribes and ignores a given fingerprint if key material is given, too - subscribes and does not set the fingerprint from key material containing multiple keys - subscribes and does not set the fingerprint from key material containing no keys - subscribes and sets the fingerprint from key material that contains exactly one key - subscribes and ignores nil-values for admin and delivery_enabled - #to_s - returns the email + deletes the key with the given fingerprint + #keys + returns an array with the keys matching the given bracketed email address + returns an array of keys matching the given fingerprint + it returns an array with the keys of the list + returns an array with the keys matching the given email address #munge_from + is disabled by default sets from to munged version when enabled does not munge from address when disabled - is disabled by default - #fingerprint - transforms the fingerprint to upper case - removes whitespaces and 0x from the fingerprint - #owner_address - adds the owner keyword to the email address - #gpg - sets the GNUPGHOME environment variable to the listdir - returns an instance of GPGME::Ctx - #logfile - returns the logfile path + #fetch_keys + fetches one key by fingerprint + fetches one key by email address + does not import non-self-signatures + fetches one key by URL + #logger + calls the ListLogger + #secret_key + returns the secret key with the fingerprint of the list + .configurable_attributes + returns an array that contains the configurable attributes + does not contain the attributes email and fingerprint + .by_recipient + returns the list for a given address + #check_keys + adds a message if a key expires in two weeks or less + adds a message if a key is revoked + adds a message if a key is disabled + adds a message if a key is invalid #set_reply_to_to_sender prefers reply_to of the sender over from when existing does not set reply_to mail address when disabled is disabled by default sets reply-to to senders from-address when enabled - #fetch_keys - does not import non-self-signatures - fetches one key by URL - fetches one key by fingerprint - fetches one key by email address - send_list_key_to_subscriptions - sends its key to all subscriptions - #send_to_subscriptions - sends the message only to subscribers with available keys if send_encrypted_only is true, and a notification to the other subscribers - sends the message to all subscribers including the sender, if deliver_selfsent is true and the mail is correctly signed - sends the message only to subscribers with usable keys if send_encrypted_only is true, and a notification to the other subscribers - sends the message to all subscribers - sends the message to all subscribers but not the sender, if deliver_selfsent is false and the mail is correctly signed - sends the message to all subscribers, in the clear if one's key is unusable, if send_encrypted_only is false - sends the message to all subscribers including the sender, if deliver_selfsent is false but the mail is not correctly signed - -lists via api - shows a list - correctly finds a list by email-address that starts with a number - creates a list + #import_key + imports a given key + #admins + returns subscriptions of admin users user sends keyword - x-subscribe with one attribute and spaces-separated fingerprint - x-unset-fingerprint with other email-address as admin - x-subscribe with attributes (first one 'false') and spaces-separated fingerprint - x-resend-cc-encrypted-only to 2 addresses with missing keys - x-sign-this with inline text + x-resend with utf-8 body and umlauts + x-resend-encrypted-only with expired key + x-subscribe with invalid arguments x-get-key with valid argument - x-resend with invalid recipient - x-get-key with invalid argument - x-set-fingerprint with email-address but without valid fingerprint - x-resend does not include internal_footer - x-unset-fingerprint without argument - x-resend with admin-notification - x-resend with admin-notification and admin has delivery disabled - x-fetch-key with unknown fingerprint + x-list-keys without arguments + x-subscribe with attributes + x-set-fingerprint with other email-address and valid fingerprint as non-admin + x-unset-fingerprint with other email-address as admin + x-set-fingerprint without argument + x-resend-encrypted-only with matching key x-fetch-key with invalid URL + x-fetch-key with email address + x-unset-fingerprint with own email-address as admin and force + x-resend + x-set-fingerprint with own email-address and valid fingerprint + x-get-version with delivery disabled + x-fetch-key with invalid input + x-resend-cc to 2 addresses with missing keys + x-unset-fingerprint with not-subscribed email-address + x-resend-cc-encrypted-only to 2 addresses with one missing keys x-resend-cc-encrypted-only with matching key + x-sign-this with attachments + x-fetch-key with fingerprint of unchanged key + x-subscribe with one attribute and spaces-separated fingerprint + x-subscribe without attributes, but with spaces-separated fingerprint + x-resend-cc-encrypted-only to 3 addresses with one missing keys + x-unsubscribe without argument + x-fetch-key with unknown fingerprint x-fetch-key with fingerprint - x-attach-listkey from Thunderbird with protected headers - x-fetch-key with URL - x-get-logfile with error-level sends empty logfile - x-resend-encrypted-only with matching key - x-list-keys without arguments - x-unset-fingerprint with not-subscribed email-address + x-list-subscriptions with non-matching argument + x-unset-fingerprint without argument + x-set-fingerprint without email-address and with valid fingerprint + x-unsubscribe + x-set-fingerprint with email-address but without fingerprint x-resend-cc-encrypted-only with expired key - x-get-key with empty argument - x-unsubscribe doesn't unsubscribe last admin - x-resend-cc-encrypted-only to 2 addresses with one missing keys - x-set-fingerprint with own email-address and valid fingerprint + x-resend with admin-notification and admin has delivery disabled + x-set-fingerprint with email-address but without valid fingerprint + x-resend-cc-encrypted-only to 2 addresses with matching keys x-list-subscriptions without arguments - x-sign-this with attachments - x-resend - x-subscribe without arguments + x-get-key with invalid argument + x-list-keys with one argument + x-resend-cc to 2 addresses with one missing keys x-list-key with prefixed fingerprint - x-set-fingerprint with other email-address and valid fingerprint as non-admin + resend returns an error about wrong arguments if email content got into the arguments due to no blank line + x-list-key with arbitrary email-sub-string + x-fetch-key with unknown email-address + x-resend with invalid recipient + x-get-version + does not parse keywords once the mail body started + x-set-fingerprint with not-subscribed email-address and valid fingerprint + x-fetch-key without arguments + x-subscribe with attributes and spaces-separated fingerprint + x-fetch-key with URL + x-subscribe with attributes (last one 'true') and spaces-separated fingerprint + x-resend with iso-8859-1 body + x-set-fingerprint with other email-address and valid fingerprint + x-resend-unencrypted with matching key + x-resend does not include internal_footer x-unsubscribe with invalid argument - x-resend-cc-encrypted-only to 2 addresses with matching keys x-list-key with correctly prefixed email-sub-string + x-attach-listkey + x-subscribe without arguments + x-get-logfile with debug level sends non-empty logfile + x-unsubscribe doesn't unsubscribe last admin + x-resend-cc-encrypted-only to 2 addresses with missing keys + x-sign-this with inline text + x-resend with admin-notification + x-resend-encrypted-only with two matching keys, one of which is expired + x-subscribe with attributes (first one 'false') and spaces-separated fingerprint x-unset-fingerprint with other email-address as non-admin - x-subscribe with invalid arguments + x-subscribe without attributes + x-get-logfile with error-level sends empty logfile x-list-keys with two arguments - x-set-fingerprint with other email-address and valid fingerprint - x-unsubscribe without argument - x-get-version with delivery disabled - x-unsubscribe - x-subscribe with attributes (last one 'true') and spaces-separated fingerprint - x-resend-cc to 2 addresses with one missing keys - x-resend with iso-8859-1 body x-unset-fingerprint with own email-address as admin but without force - x-subscribe without attributes - x-set-fingerprint with not-subscribed email-address and valid fingerprint - x-fetch-key with email address - x-list-subscriptions with non-matching argument - does not parse keywords once the mail body started - x-fetch-key with invalid input - x-set-fingerprint with email-address but without fingerprint + x-list-subscriptions with matching argument x-set-fingerprint without email-address and with invalid fingerprint - x-subscribe without attributes, but with spaces-separated fingerprint - x-subscribe with attributes and spaces-separated fingerprint - x-get-logfile with debug level sends non-empty logfile - x-attach-listkey - x-resend-cc to 2 addresses with missing keys - x-resend-encrypted-only with two matching keys, one of which is expired - x-set-fingerprint with own email-address and valid, spaces-separated fingerprint - resend returns an error about wrong arguments if email content got into the arguments due to no blank line - x-get-version - x-resend-cc-encrypted-only to 3 addresses with one missing keys - x-fetch-key with unknown email-address - x-fetch-key without arguments - x-set-fingerprint without email-address and with valid fingerprint + x-attach-listkey from Thunderbird with protected headers x-list-subscriptions without arguments but with admin-notification - x-list-subscriptions with matching argument - x-resend-encrypted-only with expired key - x-resend with utf-8 body and umlauts - x-resend-unencrypted with matching key - x-fetch-key with fingerprint of unchanged key - x-unset-fingerprint with own email-address as admin and force - x-list-keys with one argument - x-list-key with arbitrary email-sub-string - x-subscribe with attributes - x-set-fingerprint without argument + x-get-key with empty argument + x-set-fingerprint with own email-address and valid, spaces-separated fingerprint with broken utf8 in key + x-add-key with inline key-material x-get-key with valid argument x-list-keys works - x-add-key with inline key-material -Schleuder::KeywordHandlers::KeyManagement - registers keywords - .add_key - rejects garbage - imports a key from attached binary material (without specified encoding) - imports from an inline mix of ascii-armored key and non-key material - imports a key from inline ascii-armored material - imports from attached quoted-printable binary key-material (as produced by Mutt 2.0.5) - imports from attached quoted-printable ascii-armored key-material - ignores body if an ascii-armored attachment is present - ignores arguments - imports a key from attached explicitly base64-encoded binary material - imports a key from attached acsii-armored material - updates a key - imports from attached quoted-printable key-material (as produced by Thunderbird 115) - imports a key from attached quoted-printable binary material - .delete_key - returns a string as error message if input message has no content - sends error message if no argument is given - deletes multiple keys that each distinctly match one argument - deletes no key if the argument does not match - deletes a key that distinctly matches the argument +Schleuder::Filters + .strip_html_from_alternative_if_keywords_present + strips HTML-part from multipart/alternative-message that contains keywords + does NOT strip HTML-part from multipart/alternative-message that does NOT contain keywords + does not choke on nor change a message without Content-Type-header + .receive_from_subscribed_emailaddresses_only + does not reject a message with a subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is set + does not reject a message with a subscribed address as From-header with different letter case if list.receive_from_subscribed_emailaddresses_only is set + does not reject a message with a non-subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is not set + rejects a message with a non-subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is set + .fix_exchange_messages + fixes pgp/mime-messages that were mangled by Exchange + works with a text/plain message + .strip_html_from_alternative + does not choke on nor change a message without Content-Type-header + does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data + strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data + +user sends an encrypted message + from thunderbird being encrypted+signed-mime + from thunderbird being encrypted+signed-inline + from thunderbird being encrypted-inline + from thunderbird being encrypted-mime + +lists via api + correctly finds a list by email-address that starts with a number + creates a list + shows a list subscription via api - doesn't subscribe new member without authentication subscribes an user and unsets delivery flag + subscribes an admin user with a truthy value + doesn't subscribe new member without authentication subscribes new member to a list - subscribes an admin user unsubscribes members - subscribes an admin user with a truthy value + subscribes an admin user + +someone sends an email to a listname-dash-address + sends the list's key as reply to -sendkey + forwards the message to the admins if extension is -owner + forwards the message to the admins if extension is -bounce and it's a real bounce mail + forwards the message to the admins if extension is -bounce + +Schleuder::KeywordHandlers::SignThis + signs attachment (even if a body is present) + signs body content if no attachments are present + responds to the configured keyword method + +GPGME::Key + #summary + displays the expected basic attributes + displays the expected attributes for a key that's not capable of encryption + displays the expected attributes for a revoked key + displays the expected attributes for an expiring key + displays the expected attributes for an expired key + #minimal + returns a minimal key + .valid_fingerprint? + valid fingerprints + accepts 59C71FB38AEE22E091C78259D0635044 as a valid fingerprint + accepts 0x59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint + accepts 0x59C71FB38AEE22E091C78259D0635044 as a valid fingerprint + accepts 59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint + invalid fingerprints + rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint + rejects 59C71FB38AEE22E091C78259D06350440F759BD as an invalid fingerprint + rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint + rejects Z9C71FB38AEE22E091C78259D06350440F759BD3 as an invalid fingerprint + rejects 0x59C71FB38AEE22E091C78259D06350440F759B as an invalid fingerprint + rejects 59C71FB38AEE22E091C78259D06350440F759BD3A as an invalid fingerprint + +a bounce message is received + from bounce example keys via api - list - doesn't list keys without authentication - does list keys with authentication delete doesn't delete keys without authentication does delete keys with authentication - a key with broken utf8 in uid - does add key - already imported - does list this key - does delete key - does get key check does check keys with authorization doesn't check keys without authentication @@ -1607,335 +1799,179 @@ does list keys with authentication doesn't export keys without authentication import + does list keys with authentication doesn't import keys without authentication + a key with broken utf8 in uid + does add key + already imported + does delete key + does get key + does list this key + list does list keys with authentication + doesn't list keys without authentication -a bounce message is received - from bounce example - -Schleuder::Runner - after keyword parsing - falls back to default charset per RFC if none is set - falling back works also with non-ascii content - #run - does not throw an error on encrypted but unsigned emails that contain a forwarded encrypted email - injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message - does not throw an error on emails with large first mime-part - delivers a signed error message if a subscription's key is not available on a encrypted-only list - does not throw an error on emails that contain other gpg keywords - delivers a signed error message if a subscription's key is expired on a encrypted-only list - does not throw an error on emails with broken utf-8 - injects pseudoheaders appropriately into a signed multipart/alternative-message (thunderbird+enigmail-1.9) - does not throw an error on emails with an attached pgp key as application/octet-stream - Quoted-Printable encoding - is handled properly in encrypted emails - is handled properly in encrypted+signed emails - is handled properly in cleartext emails - with bounces_drop_all set to true - drops all bounces when bounces_notify_admins is set to false - notifies admins about bounces when bounces_notify_admins is set to true - mails not encrypted to the list key - handles a mail containing PGP-garbage and returns DecryptionFailed error - handles a mail which was encrypted to a passphrase and returns DecryptionFailed error - handles a mail which was encrypted to an absent key and returns DecryptionFailed error - with a plain text message - contains the open pgp header if include_openpgp_header is set to true - contains the Autocrypt header if include_autocrypt_header is set to true - includes the internal_footer - delivers the incoming message - has the correct headerlines - does not include the public_footer - does keep the Message-Id as configured - contains the specified pseudoheaders in the correct order - does not deliver content if send_encrypted_only is set to true - contains the list headers if include_list_headers is set to true - does not contain the Autocrypt header if include_autocrypt_header is set to false - doesn't leak the Message-Id as configured - doesn't have unwanted headerlines from the original message - with bounces_drop_all set to false - bounces and does not notify admins if bounces_notify_admins is set to false - bounces and notifies admins about bounces when bounces_notify_admins is set to true - -Schleuder::ListBuilder - returns an error-message if given an invalid email-address with a space - subscribes the adminaddress and ignores the adminfingerprint if an adminkey was given - subscribes the adminaddress and respects the given adminfingerprint - returns an error-message if given an invalid email-address - creates a list-key with all required UIDs - creates a new, valid list - subscribes the adminaddress and imports the adminkey - creates a listdir for the list - -Schleuder::Filters::Runner - is expected to respond to #run - #run - stops on a StandardError and returns error even on headers match - stops on a StandardError and returns error even with bounces_drop_all - stops on a StandardError and returns error - runs the filters - loading filters - loads custom filters from filters_dir and sorts them in with missing dir - loads custom filters from filters_dir and sorts them in, ignores filter not following convention - loads filters from built-in filters_dir sorts them - loads custom filters from filters_dir even with non-2-digit priority - -Errors - ::KeyGenerationFailed shows sensible string in response to to_s() - ::MessageUnencrypted shows sensible string in response to to_s() - ::MessageEmpty shows sensible string in response to to_s() - ::ListdirProblem shows sensible string in response to to_s() - ::MessageUnauthenticated shows sensible string in response to to_s() - ::MessageSenderNotSubscribed shows sensible string in response to to_s() - ::ListNotFound shows sensible string in response to to_s() - ::MessageNotFromAdmin shows sensible string in response to to_s() - ::KeywordAdminOnly shows sensible string in response to to_s() - ::LoadingListSettingsFailed shows sensible string in response to to_s() - ::MessageUnsigned shows sensible string in response to to_s() - ::TooManyKeys shows sensible string in response to to_s() - ::KeyAdduidFailed shows sensible string in response to to_s() - ::DecryptionFailed shows sensible string in response to to_s() - ::MessageTooBig shows sensible string in response to to_s() +Schleuder::KeywordHandlers::KeyManagement + registers keywords + .delete_key + returns a string as error message if input message has no content + deletes a key that distinctly matches the argument + deletes multiple keys that each distinctly match one argument + deletes no key if the argument does not match + sends error message if no argument is given + .add_key + imports from an inline mix of ascii-armored key and non-key material + imports a key from attached explicitly base64-encoded binary material + updates a key + rejects garbage + imports a key from attached binary material (without specified encoding) + imports a key from attached quoted-printable binary material + ignores body if an ascii-armored attachment is present + imports from attached quoted-printable ascii-armored key-material + ignores arguments + imports from attached quoted-printable key-material (as produced by Thunderbird 115) + imports a key from attached acsii-armored material + imports from attached quoted-printable binary key-material (as produced by Mutt 2.0.5) + imports a key from inline ascii-armored material user sends a plain text message - from thunderbird being plain from thunderbird being signed-mime + from thunderbird being plain from thunderbird being signed-inline -version - does not return the current schleuder version if not authorized - returns the current schleuder version if authorized +protected subject + recognizes keywords in mails with protected headers and empty subject + works with mutt protected headers + is included as mime-part in body + is not leaked + don't block request-messages + is included in mime-headers cli #refresh_keys - updates keys from the keyserver for only a specific list - updates keys from the keyserver - reports errors from refreshing keys - warns about file system permissions if it was run as root - #check_keys warns about file system permissions if it was run as root + reports errors from refreshing keys + updates keys from the keyserver + updates keys from the keyserver for only a specific list #commands exits with a status code of 1 in case the command is not implemented + #check_keys + warns about file system permissions if it was run as root KeywordHandlersRunner does not require mandatory keywords if no keywords are present - loads additional keyword handlers - rejects X-LIST-NAME with mismatching argument - notifies admins rejects unknown keywords - stores a keyword that was registered - requires X-LIST-NAME returns an error message if keyword is configured as admin-only - -Schleuder::Subscription - is invalid when email does not contain an @ - is invalid when fingerprint contains invalid characters - is valid when fingerprint is nil - is invalid if delivery_enabled is nil - is invalid if delivery_enabled is blank - is invalid when email is nil - is invalid if admin is blank - formats email address when email begins with a space - is expected to respond to #admin - is valid when fingerprint is empty - is expected to respond to #fingerprint - is invalid if the given email is already subscribed for the list - is invalid if admin is nil - removes whitespaces and 0x from the fingerprint - has a valid factory - is invalid when list_id is blank - is expected to respond to #delivery_enabled - is expected to respond to #list_id - is invalid when email is blank - downcases all letters of an email address - is expected to respond to #email - #fingerprint - transforms the fingerprint to upper case + requires X-LIST-NAME + stores a keyword that was registered + loads additional keyword handlers + notifies admins + rejects X-LIST-NAME with mismatching argument Schleuder::LoggerNotifications - notifies admins of multiple text-messages and the original message - notifies admins in the clear if their key is unusable - notifies admins of multiple text-messages + notifies admins encryptedly if their key is usable includes a List-Id header in notification mails sent to admins notifies admins of simple text-message - notifies admins encryptedly if their key is usable + notifies admins of multiple text-messages and the original message + notifies admins of multiple text-messages + notifies admins in the clear if their key is unusable return path - sets default superadmin sets superadmin + sets default superadmin -Schleuder::KeywordHandlers::SignThis - signs body content if no attachments are present - signs attachment (even if a body is present) - responds to the configured keyword method - -protected subject - is included as mime-part in body - works with mutt protected headers - is included in mime-headers - is not leaked - don't block request-messages - recognizes keywords in mails with protected headers and empty subject - -authorization via api - blocks un-authorized access to other URLs - allows authorized access - allows un-authorized access to /status.json - -status - returns status code 200 - -someone sends an email to a listname-dash-address - forwards the message to the admins if extension is -bounce and it's a real bounce mail - forwards the message to the admins if extension is -owner - sends the list's key as reply to -sendkey - forwards the message to the admins if extension is -bounce - -Mail::Message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_02.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234241664.txt.eml as bounce - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948982-_marked_as_pending_in_schleuder.eml as bounce - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948980-_marked_as_pending_in_schleuder.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_21.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_06.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285532.txt.eml as normal message - adds list#internal_footer as last mime-part without changing its value - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_04.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_12_soft.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948981-_marked_as_pending_in_schleuder.eml as bounce - recognizes a sudo message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_25.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211929.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211931.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_03.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211932.txt.eml as normal message - verifies an encapsulated (signed-then-encrypted) message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_01.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_15.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_11.txt.eml as normal message - recognizes a message sent to listname-bounce@hostname as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_19.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_17.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_07.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285668.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/malformed_bounce_01.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234210655.txt.eml as normal message - recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message - adds list#public_footer as last mime-part without changing its value - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_08.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234211024.txt.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234241665.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_05.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message - recognizes bounce message subject using the bounce_email gem - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_13.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234210666.txt.eml as bounce - doesn't change the order of mime-parts - does not misclassify bounce spec/fixtures/mails/bounces/unknown_code_bounce_01.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_14.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_18.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_09.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211357.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_20.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_24.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_23.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_10.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_16.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_22.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234175799.txt.eml as normal message - recognizes a cron message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234177688.txt.eml as normal message - #add_subject_prefix! - adds a configured subject prefix without subject - adds a configured subject prefix - does not add a subject prefix if already present - makes a pseudo header - that a multiline with less than 76 get wrapped correctly on the first line - that single multiline are getting indented - that multiline are getting wrapped - that a multiline with less than 76 get wrapped correctly on the first line and the following lines - that a line with less than 76 gets wrapped - with key / value - that is getting wrapped - without value - with empty value - .keywords - takes the whole rest of the body as keyword argument if blank lines are present - reads multiple lines as keyword arguments - stops looking for keywords when already the first line is blank followed by email content - ignores empty lines before keywords - stops looking for keywords when the first line is already email content - splits lines into words and downcases them in keyword arguments - stops looking for keywords when a blank line that is not followed by another keyword is met - drops empty lines in keyword arguments parsing - drops multiple empty lines between keywords and content - -user sends emails with different charsets - works with japanese_attachment_long_name - works with simple_jis - works with simple_utf8 - works with japanese_attachment - works with simple_latin1 - works with signed_utf8 - works with japanese_shift_jis - works with simple_jpiso2022 - works with japanese - works with thunderbird-multi-alt-html - works with japanese_iso_2022 - works with ks_c_5601-1987 - -Schleuder::Filters - .strip_html_from_alternative - strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data - does not choke on nor change a message without Content-Type-header - does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data - .receive_from_subscribed_emailaddresses_only - does not reject a message with a non-subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is not set - rejects a message with a non-subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is set - does not reject a message with a subscribed address as From-header with different letter case if list.receive_from_subscribed_emailaddresses_only is set - does not reject a message with a subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is set - .strip_html_from_alternative_if_keywords_present - strips HTML-part from multipart/alternative-message that contains keywords - does not choke on nor change a message without Content-Type-header - does NOT strip HTML-part from multipart/alternative-message that does NOT contain keywords - .fix_exchange_messages - fixes pgp/mime-messages that were mangled by Exchange - works with a text/plain message +Schleuder::Filters::Runner + is expected to respond to #run + loading filters + loads custom filters from filters_dir and sorts them in with missing dir + loads custom filters from filters_dir even with non-2-digit priority + loads custom filters from filters_dir and sorts them in, ignores filter not following convention + loads filters from built-in filters_dir sorts them + #run + runs the filters + stops on a StandardError and returns error even on headers match + stops on a StandardError and returns error + stops on a StandardError and returns error even with bounces_drop_all GPGME::Ctx - #clean_and_classify_input with prefixed fingerprint - #find_keys with correctly marked sub-string - #find_keys with correctly marked narrower sub-string - #clean_and_classify_input with bracketed email-address - #find_keys with un-prefixed fingerprint - #keyimport with unusable data + #find_keys with un-bracketed email-address #find_keys with bracketed email-address - #find_keys with prefixed fingerprint #gpgcli returns correct data types - #find_keys with bracketed wrong email-address - #clean_and_classify_input with un-bracketed email-address - #clean_and_classify_input with some string #clean_and_classify_input with un-prefixed fingerprint - #find_keys with un-marked sub-string - #find_keys without argument + #find_keys with prefixed fingerprint + #find_keys with un-prefixed fingerprint #keyimport - #find_keys with un-bracketed email-address - #find_keys with un-bracketed wrong email-address #clean_and_classify_input with URL - #keyserver_arg - returns a blank string if the keyserver-option is set to a blank value - returns keyserver-args if a keyserver is configured + #find_keys with bracketed wrong email-address + #find_keys with un-marked sub-string + #find_keys with correctly marked sub-string + #find_keys with un-bracketed wrong email-address + #clean_and_classify_input with bracketed email-address + #find_keys without argument + #clean_and_classify_input with some string + #clean_and_classify_input with prefixed fingerprint + #clean_and_classify_input with un-bracketed email-address + #keyimport with unusable data + #find_keys with correctly marked narrower sub-string #refresh_keys does not import non-self-signatures reports errors from refreshing keys updates keys from the keyserver + #keyserver_arg + returns keyserver-args if a keyserver is configured + returns a blank string if the keyserver-option is set to a blank value -Schleuder::KeywordHandlers::Base - provides methods to register keywords - stores mail, list and arguments as instance variables +user sends emails with different charsets + works with japanese_attachment + works with japanese_iso_2022 + works with thunderbird-multi-alt-html + works with japanese_shift_jis + works with simple_latin1 + works with simple_utf8 + works with japanese + works with signed_utf8 + works with ks_c_5601-1987 + works with simple_jis + works with japanese_attachment_long_name + works with simple_jpiso2022 + +Errors + ::MessageNotFromAdmin shows sensible string in response to to_s() + ::ListdirProblem shows sensible string in response to to_s() + ::MessageSenderNotSubscribed shows sensible string in response to to_s() + ::MessageUnencrypted shows sensible string in response to to_s() + ::MessageUnsigned shows sensible string in response to to_s() + ::ListNotFound shows sensible string in response to to_s() + ::MessageEmpty shows sensible string in response to to_s() + ::TooManyKeys shows sensible string in response to to_s() + ::KeywordAdminOnly shows sensible string in response to to_s() + ::LoadingListSettingsFailed shows sensible string in response to to_s() + ::KeyAdduidFailed shows sensible string in response to to_s() + ::DecryptionFailed shows sensible string in response to to_s() + ::MessageUnauthenticated shows sensible string in response to to_s() + ::KeyGenerationFailed shows sensible string in response to to_s() + ::MessageTooBig shows sensible string in response to to_s() + +version + returns the current schleuder version if authorized + does not return the current schleuder version if not authorized + +running filters + .fix_exchange_messages! + accepts a valid plain-text message + accepts an invalid pgp/mime Exchange message + .strip_html_from_alternative! + does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data + strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data + .max_message_size + bounces to big mails + +status + returns status code 200 -Finished in 5 minutes 42 seconds (files took 1.3 seconds to load) +Finished in 9 minutes 56 seconds (files took 2.89 seconds to load) 556 examples, 0 failures -Randomized with seed 51265 +Randomized with seed 35796 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2061,12 +2097,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2179147/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3575515 and its subdirectories -I: Current time: Wed Jul 3 15:27:02 -12 2024 -I: pbuilder-time-stamp: 1720063622 +I: removing directory /srv/workspace/pbuilder/2179147 and its subdirectories +I: Current time: Thu Jul 4 17:38:58 +14 2024 +I: pbuilder-time-stamp: 1720064338