Diff of the two buildlogs: -- --- b1/build.log 2025-08-02 07:49:09.613467482 +0000 +++ b2/build.log 2025-08-02 07:54:02.677840216 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Sep 4 02:03:30 -12 2026 -I: pbuilder-time-stamp: 1788530610 +I: Current time: Sat Aug 2 21:49:11 +14 2025 +I: pbuilder-time-stamp: 1754120951 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,51 +35,83 @@ dpkg-source: info: applying 0012-Relax-version-constraint-on-sqlite3-gem.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2431032/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2995803/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 Aug 2 07:49 /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/2995803/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2995803/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='093dce7dc66b4e73a4feb9a64381bf53' - 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='2431032' - PS1='# ' - PS2='> ' + INVOCATION_ID=63651100bd454e029153ec693adcc05d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2995803 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.gShRYBwd/pbuilderrc_xG2i --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gShRYBwd/b1 --logfile b1/build.log schleuder_5.0.1-2.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' + 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.gShRYBwd/pbuilderrc_L1CC --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gShRYBwd/b2 --logfile b2/build.log schleuder_5.0.1-2.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' I: uname -a - Linux infom02-amd64 6.12.33+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.33-1~bpo12+1 (2025-07-09) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2431032/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2995803/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -342,7 +374,7 @@ Get: 185 http://deb.debian.org/debian trixie/main amd64 ruby-thor all 1.3.2-2.1 [49.4 kB] Get: 186 http://deb.debian.org/debian trixie/main amd64 ruby-typhoeus all 1.4.0-6 [36.5 kB] Get: 187 http://deb.debian.org/debian trixie/main amd64 thin amd64 1.8.2+git20250216.de6b618-1 [61.5 kB] -Fetched 53.7 MB in 3s (19.4 MB/s) +Fetched 53.7 MB in 2s (31.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1: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 ... 19851 files and directories currently installed.) @@ -957,8 +989,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Sep 4 14:06:45 UTC 2026. -Universal Time is now: Fri Sep 4 14:06:45 UTC 2026. +Local time is now: Sat Aug 2 07:50:45 UTC 2025. +Universal Time is now: Sat Aug 2 07:50:45 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-3) ... @@ -1127,7 +1159,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/schleuder-5.0.1/ && 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_5.0.1-2_source.changes +I: user script /srv/workspace/pbuilder/2995803/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2995803/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/schleuder-5.0.1/ && 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_5.0.1-2_source.changes dpkg-buildpackage: info: source package schleuder dpkg-buildpackage: info: source version 5.0.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1162,7 +1198,7 @@ dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test - rm -fr -- /tmp/dh-xdg-rundir-gTGFt4qq + rm -fr -- /tmp/dh-xdg-rundir-NzWZfw7X create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby @@ -1309,736 +1345,736 @@ RUBYLIB=/build/reproducible-path/schleuder-5.0.1/debian/schleuder/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/schleuder-5.0.1/debian/schleuder/usr/share/rubygems-integration/all:/build/reproducible-path/schleuder-5.0.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -S rake -f debian/Rakefile db:create -Created database '/tmp/schleuder-3b1b5c096b4c3801405b799e90b6d6be/test.sqlite3' +Created database '/tmp/schleuder-61511fa711af5866828caa34ad1baff6/test.sqlite3' /usr/bin/ruby3.3 -S rake -f debian/Rakefile db:schema:load /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --format documentation -Randomized with seed 42861 +Randomized with seed 35696 -user sends a plain text message - from thunderbird being plain - from thunderbird being signed-inline - from thunderbird being signed-mime +Schleuder::Filters + .key_auto_import_from_attachments + imports key and reports the change + only imports the one key that matches the sender address if keydata contains more than one key + does not import key if sender address does not match key UID + imports key and reports new key + does not import key if attachment has a different content-type than "application/pgp-keys" + imports key and reports no change + .fix_exchange_messages + works with a text/plain message + fixes pgp/mime-messages that were mangled by Exchange + .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 + does not choke on nor change a message without Content-Type-header + .strip_html_from_alternative_if_keywords_present + strips HTML-part from multipart/alternative-message that contains keywords + strips related-part from encapsulated multipart/alternative-part 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 + .key_auto_import_from_autocrypt_header + imports key and reports new key + imports key and reports no change + imports key and reports the change + only imports the one key that matches the sender address if keydata contains more than one key + does not import key if sender address does not match key UID, regardless of Autocrypt addr attribute + .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 + does not reject a message with a subscribed address as From-header if list.receive_from_subscribed_emailaddresses_only is 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 -user sends emails with different charsets - works with ks_c_5601-1987 - works with japanese_attachment - works with japanese_attachment_long_name - works with simple_utf8 - works with thunderbird-multi-alt-html - works with simple_jpiso2022 - works with signed_utf8 - works with simple_latin1 - works with japanese - works with japanese_iso_2022 - works with japanese_shift_jis - works with simple_jis +Schleuder::Filters::Runner + is expected to respond to #run + #run + stops on a StandardError and returns error + stops on a StandardError and returns error even on headers match + stops on a StandardError and returns error even with bounces_drop_all + runs the filters + loading filters + loads filters from built-in filters_dir sorts them + loads custom filters from filters_dir and sorts them in, ignores filter not following convention + 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 + +keys via api + a key with broken utf8 in uid + does add key + already imported + does delete key + does list this key + does get key + import + returns json with key details about imported keys + doesn't import keys without authentication + does list keys with authentication + returns json with empty array in case of useless input + check + doesn't check keys without authentication + does check keys with authorization + delete + doesn't delete keys without authentication + does delete keys with authentication + list + doesn't list keys without authentication + does list keys with authentication + export + doesn't export keys without authentication + does list keys with authentication + +running filters + .key_auto_import_from_autocrypt_header + successfully validates a signature, whose previously unknown key is in the autocrypt-header + .strip_html_from_alternative! + strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data + does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data + .max_message_size + bounces to big mails + .key_auto_import_from_attachments + successfully validates a signature, whose previously unknown key is attached, from an encrypted+signed message + successfully validates a signature, whose previously unknown key is attached + .fix_exchange_messages! + accepts an invalid pgp/mime Exchange message + accepts a valid plain-text message Schleuder::ListBuilder - creates a list-key with all required UIDs - subscribes the adminaddress and imports the adminkey - creates a new, valid list - returns an error-message if given an invalid email-address subscribes the adminaddress and respects the given adminfingerprint returns an error-message if given an invalid email-address with a space + creates a new, valid list 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 + returns an error-message if given an invalid email-address + subscribes the adminaddress and imports the adminkey -Mail::Message - recognizes a sudo message with 'Auto-Submitted'-header NOT as automated 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_06.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_25.txt.eml as normal message - recognizes bounce message subject using the bounce_email gem - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_05.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_948980-_marked_as_pending_in_schleuder.eml as bounce - recognizes a cron message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211929.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 - 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_01.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message - adds list#public_footer as last mime-part without changing its value - 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_08.txt.eml as normal message - recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285668.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234177688.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_03.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234210655.txt.eml as normal message - verifies an encapsulated (signed-then-encrypted) 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_13.txt.eml as normal message - 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/tt_1234211024.txt.eml as bounce - 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_18.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_1234285532.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_1234211931.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_1234211357.txt.eml as normal 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_12_soft.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_22.txt.eml as normal message - 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_15.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_1234175799.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_23.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/unknown_code_bounce_01.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_bounce_07.txt.eml as normal message - doesn't change the order of mime-parts - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_21.txt.eml as normal message - makes a pseudo header - with empty value - that a multiline with less than 76 get wrapped correctly on the first line - that single multiline are getting indented - with key / value - without value - 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 - that is getting wrapped - #add_subject_prefix! - adds a configured subject prefix without subject - adds a configured subject prefix - does not add a subject prefix if already present - .keywords - 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 - splits lines into words and downcases them in keyword arguments - stops looking for keywords when already the first line is blank followed by email content - drops multiple empty lines between keywords and content - stops looking for keywords when a blank line that is not followed by another keyword is met - stops looking for keywords when the first line is already email content +status + returns status code 200 -lists via api - creates a list - shows a list - correctly finds a list by email-address that starts with a number +GPGME::Ctx + #find_keys with un-prefixed fingerprint + #normalize_key_identifier with bracketed email-address + #find_keys without argument + #find_keys with un-marked sub-string + #find_keys with correctly marked narrower sub-string + #normalize_key_identifier with un-bracketed email-address + #keyimport with unusable data + #find_keys with prefixed fingerprint + #find_keys with bracketed email-address + #find_keys with correctly marked sub-string + #gpgcli returns correct data types + #normalize_key_identifier with some string + #find_keys with bracketed wrong email-address + #keyimport + #normalize_key_identifier with prefixed fingerprint + #normalize_key_identifier with URL + #find_keys with un-bracketed email-address + #normalize_key_identifier with un-prefixed fingerprint + #find_keys with un-bracketed wrong email-address -Schleuder::KeywordHandlers::KeyManagement - registers keywords - .delete_key - deletes a key that distinctly matches the argument - sends error message if no argument is given - returns a string as error message if input message has no content - deletes multiple keys that each distinctly match one argument - deletes no key if the argument does not match - .add_key - updates a key - imports from an inline mix of ascii-armored key and non-key material - imports from attached quoted-printable ascii-armored key-material - ignores body if an ascii-armored attachment is present - rejects garbage - imports from attached quoted-printable binary key-material (as produced by Mutt 2.0.5) - imports a key from inline ascii-armored material - imports a key from attached binary material (without specified encoding) - ignores arguments - imports from attached quoted-printable key-material (as produced by Thunderbird 115) - imports a key from attached acsii-armored material - imports a key from attached explicitly base64-encoded binary material - imports a key from attached quoted-printable binary material +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 -Schleuder::List - is expected to respond to #receive_signed_only +user sends a plain text message + from thunderbird being signed-mime + from thunderbird being plain + from thunderbird being signed-inline + +Schleuder::Subscription + removes whitespaces and 0x from the fingerprint + is expected to respond to #admin + is invalid if delivery_enabled is nil + is invalid if delivery_enabled is blank + is expected to respond to #email + is invalid when list_id is blank + formats email address when email begins with a space + is invalid when email is nil + is expected to respond to #delivery_enabled + is valid when fingerprint is empty + downcases all letters of an email address + has a valid factory + is invalid when email is blank + is expected to respond to #fingerprint + is invalid if the given email is already subscribed for the list + is expected to respond to #list_id + is invalid when fingerprint contains invalid characters + is invalid if admin is nil + is valid when fingerprint is nil + is invalid if admin is blank is invalid when email does not contain an @ - is expected to respond to #logfiles_to_keep - is expected to respond to #keep_msgid - is expected to respond to #receive_authenticated_only - is expected to respond to #log_level - is invalid if keywords_admin_notify contains special characters - is invalid if receive_from_subscribed_emailaddresses_only is nil - is invalid if receive_from_subscribed_emailaddresses_only is blank + #fingerprint + transforms the fingerprint to upper case + +Schleuder::KeywordHandlers::Base + stores mail, list and arguments as instance variables + provides methods to register keywords + +Schleuder::List + is expected to respond to #deliver_selfsent is invalid if include_openpgp_header is blank - is invalid if max_message_size_kb is 0 - is invalid when fingerprint contains invalid characters - is expected to respond to #set_reply_to_to_sender - is expected to respond to #keywords_admin_notify - is invalid if bounces_drop_all is blank - is expected to respond to #bounces_drop_all - is invalid if deliver_selfsent is blank - is invalid when fingerprint is nil - is invalid if keywords_admin_only contains special characters - is valid if keywords_admin_only does not contain special characters - is valid if keywords_admin_notify does not contain special characters - is invalid if forward_all_incoming_to_admins is nil - is expected to respond to #subject_prefix_in + is invalid if receive_admin_only is nil is expected to respond to #internal_footer - is invalid if include_openpgp_header is nil is valid if subject_prefix_out is nil - is expected to respond to #subject_prefix - is invalid if send_encrypted_only is blank - is invalid if receive_authenticated_only is nil - is invalid if subject_prefix_in contains a linebreak - is invalid if include_list_headers is nil - is invalid if subject_prefix contains a linebreak - is invalid if logfiles_to_keep is 0 - is expected to respond to #bounces_drop_on_headers - is invalid if receive_authenticated_only is blank - is expected to respond to #keywords_admin_only - is invalid if internal_footer includes a non-printable character - is expected to respond to #bounces_notify_admins - is invalid if keep_msgid is nil is invalid if receive_signed_only is blank - is invalid when email contains a space - is expected to respond to #include_list_headers - is expected to respond to #email + is expected to respond to #subject_prefix_out + is expected to respond to #keep_msgid + is expected to respond to #log_level + is invalid if internal_footer includes a non-printable character + is invalid if bounces_drop_all is nil + is valid if subject_prefix_in is nil + is invalid if forward_all_incoming_to_admins is blank + is expected to respond to #receive_admin_only + is invalid if receive_authenticated_only is blank + is expected to respond to #language + is invalid if subject_prefix contains a linebreak + is invalid if include_list_headers is blank is invalid if deliver_selfsent is nil - is expected to respond to #headers_to_meta is invalid if include_list_headers is blank - is invalid if openpgp_header_preference is foobar + is expected to respond to #email + is invalid if include_openpgp_header is nil + is invalid when fingerprint is nil + is expected to respond to #headers_to_meta + is expected to respond to #include_list_headers + is expected to respond to #bounces_drop_all + is invalid if language is jp + is invalid if bounces_drop_on_headers contains special characters + is expected to respond to #subject_prefix + is invalid if bounces_notify_admins is nil + is invalid if keywords_admin_notify contains special characters + is expected to respond to #receive_signed_only + is expected to respond to #public_footer + is expected to respond to #set_reply_to_to_sender + is expected to respond to #max_message_size_kb + is invalid if receive_encrypted_only is nil + is invalid if include_list_headers is nil + is invalid if set_reply_to_to_sender is blank is expected to respond to #include_openpgp_header - is expected to respond to #key_auto_import_from_email is invalid if keep_msgid is blank - is invalid if include_list_headers is blank - is invalid if public_footer includes a non-printable character - is invalid if bounces_notify_admins is blank - is invalid if bounces_drop_on_headers contains special characters - is invalid if forward_all_incoming_to_admins is blank + is invalid if logfiles_to_keep is 0 + is invalid if munge_from is blank + is invalid if receive_authenticated_only is nil + is valid if keywords_admin_only does not contain special characters + is expected to respond to #keywords_admin_notify + is expected to respond to #logfiles_to_keep + is expected to respond to #bounces_notify_admins is invalid when email is nil - is invalid if receive_admin_only is blank + is invalid if headers_to_meta contains special characters + is expected to respond to #subscriptions + is invalid if munge_from is nil + is invalid if deliver_selfsent is blank + is expected to respond to #bounces_drop_on_headers + is expected to respond to #munge_from + is invalid if set_reply_to_to_sender is nil + exports the key with the given fingerprint + is invalid when fingerprint is blank + is expected to respond to #subject_prefix_in + is expected to respond to #fingerprint + is expected to respond to #forward_all_incoming_to_admins + is expected to respond to #receive_encrypted_only + is invalid when email contains a space + is invalid if receive_from_subscribed_emailaddresses_only is blank + is expected to respond to #send_encrypted_only is invalid if log_level is foobar - is invalid if language is jp - is expected to respond to #public_footer - is invalid if munge_from is blank + is invalid if bounces_notify_admins is blank + is invalid if keywords_admin_only contains special characters + is valid if keywords_admin_notify does not contain special characters + is invalid when email is blank is invalid if subject_prefix_out contains a linebreak - is invalid when fingerprint is blank - is invalid if receive_encrypted_only is blank - is invalid if headers_to_meta contains special characters - is valid if subject_prefix_in is nil + has a valid factory + is expected to respond to #key_auto_import_from_email + is invalid when email does not contain an @ + is invalid if receive_admin_only is blank + is invalid if send_encrypted_only is blank + is expected to respond to #keywords_admin_only + is invalid if keep_msgid is nil + is invalid if forward_all_incoming_to_admins is nil + is expected to respond to #openpgp_header_preference is invalid if include_list_headers is nil - is expected to respond to #subject_prefix_out - is expected to respond to #deliver_selfsent is valid if subject_prefix is nil - is valid if headers_to_meta does not contain special characters - is invalid when email is blank - is invalid if receive_encrypted_only is nil - is expected to respond to #openpgp_header_preference - is expected to respond to #max_message_size_kb - is invalid if receive_signed_only is nil + is invalid if receive_encrypted_only is blank + is invalid if max_message_size_kb is 0 is invalid if send_encrypted_only is nil is expected to respond to #receive_from_subscribed_emailaddresses_only - is expected to respond to #forward_all_incoming_to_admins - is expected to respond to #language - is expected to respond to #send_encrypted_only - exports the key with the given fingerprint - is invalid if munge_from is nil - is invalid if set_reply_to_to_sender is nil - is invalid if set_reply_to_to_sender is blank - is invalid if receive_admin_only is nil - is expected to respond to #receive_encrypted_only - is expected to respond to #munge_from - is invalid if bounces_drop_all is nil - is expected to respond to #fingerprint - is invalid if bounces_notify_admins is nil - has a valid factory - is expected to respond to #receive_admin_only - is expected to respond to #subscriptions - #admins - returns subscriptions of admin users - #export_key - exports the key with the fingerprint of the list if no argument is given + is invalid when fingerprint contains invalid characters + is expected to respond to #receive_authenticated_only + is invalid if bounces_drop_all is blank + is invalid if subject_prefix_in contains a linebreak + is invalid if public_footer includes a non-printable character + is invalid if receive_from_subscribed_emailaddresses_only is nil + is valid if headers_to_meta does not contain special characters + is invalid if openpgp_header_preference is foobar + is invalid if receive_signed_only is nil + #import_key + imports a given key #key_minimal_base64_encoded - returns the key with the fingerprint of the list if no argument is given in an Autocrypt-compatible format does not return the key with the fingerprint in an Autocrypt-compatible format if the argument given does not correspond to a key - #logger - calls the ListLogger - #sendkey_address - adds the sendkey keyword to the email address + returns the key with the fingerprint of the list if no argument is given in an Autocrypt-compatible format + send_list_key_to_subscriptions + sends its key to all subscriptions + #set_reply_to_to_sender + is disabled by default + prefers reply_to of the sender over from when existing + sets reply-to to senders from-address when enabled + does not set reply_to mail address when disabled + #fingerprint + removes whitespaces and 0x from the fingerprint + transforms the fingerprint to upper case + #export_key + exports the key with the fingerprint of the list if no argument is given + #secret_key + returns the secret key with the fingerprint of the list + #to_s + returns the email + #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 subscribers if deliver_selfsent is set to 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 + 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 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 #gpg - returns an instance of GPGME::Ctx sets the GNUPGHOME environment variable to the listdir + returns an instance of GPGME::Ctx + #sendkey_address + adds the sendkey keyword to the email address + #owner_address + adds the owner keyword to the email address #munge_from is disabled by default - sets from to munged version when enabled does not munge from address when disabled - #check_keys - adds a message if a key is disabled - 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 + sets from to munged version when enabled + #logger + calls the ListLogger + #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 a given fingerprint if key material is given, too + subscribes and ignores nil-values for admin and delivery_enabled + subscribes and does not set the fingerprint from key material containing multiple keys #logfile returns the logfile path - .configurable_attributes - does not contain the attributes email and fingerprint - returns an array that contains the configurable attributes - #request_address - adds the request keyword to the email address - #owner_address - adds the owner keyword to the email address #refresh_keys + reports errors from refreshing keys updates keys from the keyserver does not import non-self-signatures - reports errors from refreshing keys - #delete_key - returns false if no key with the fingerprint was found - deletes the key with the given fingerprint - #subscribe - 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 sets the fingerprint from key material that contains exactly one key - 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 - #to_s - returns the email - #fingerprint - removes whitespaces and 0x from the fingerprint - transforms the fingerprint to upper case - #send_to_subscriptions - 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 usable keys if send_encrypted_only is true, and a notification to the other subscribers - 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 subscribers if deliver_selfsent is set to false - 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 to all subscribers but not the sender, if deliver_selfsent is false and the mail is correctly signed - sends the message to all subscribers - #key - returns the key with the fingerprint of the list - #bounce_address - adds the bounce keyword to the email address - send_list_key_to_subscriptions - sends its key to all subscriptions #fetch_keys - fetches one key by URL - fetches one key by fingerprint - fetches one key by email address does not import non-self-signatures - #set_reply_to_to_sender - is disabled by default - does not set reply_to mail address when disabled - sets reply-to to senders from-address when enabled - prefers reply_to of the sender over from when existing - #import_key - imports a given key + fetches one key by email address + fetches one key by fingerprint + fetches one key by URL #keys - returns an array with the keys matching the given bracketed email address - it returns an array with the keys of the list returns an array with the keys matching the given 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 bracketed email address + #delete_key + deletes the key with the given fingerprint + returns false if no key with the fingerprint was found + .configurable_attributes + does not contain the attributes email and fingerprint + returns an array that contains the configurable attributes .by_recipient returns the list for a given address - #secret_key - returns the secret key with the fingerprint of the list + #key + returns the key with the fingerprint of the list + #bounce_address + adds the bounce keyword to the email address + #request_address + adds the request keyword to the email address + #admins + returns subscriptions of admin users + #check_keys + adds a message if a key is revoked + 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 disabled + +user sends an encrypted message + from thunderbird being encrypted+signed-inline + from thunderbird being encrypted-inline + from thunderbird being encrypted+signed-mime + from thunderbird being encrypted-mime + +Schleuder::Conf + reads ERB code in config files + +KeywordHandlersRunner + loads additional keyword handlers + notifies admins + returns an error message if keyword is configured as admin-only + requires X-LIST-NAME + rejects X-LIST-NAME with mismatching argument + rejects unknown keywords + does not require mandatory keywords if no keywords are present + stores a keyword that was registered + +user sends emails with different charsets + works with simple_jpiso2022 + works with simple_latin1 + works with simple_jis + works with japanese + works with japanese_attachment + works with signed_utf8 + works with simple_utf8 + works with japanese_attachment_long_name + works with japanese_iso_2022 + works with ks_c_5601-1987 + works with thunderbird-multi-alt-html + works with japanese_shift_jis cli + #commands + exits with a status code of 1 in case the command is not implemented #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 - #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 -status - returns status code 200 - -Schleuder::Subscription - is invalid if admin is blank - is invalid if admin is nil - is expected to respond to #email - is invalid when email is blank - formats email address when email begins with a space - is expected to respond to #delivery_enabled - removes whitespaces and 0x from the fingerprint - is invalid if the given email is already subscribed for the list - is valid when fingerprint is nil - is invalid when email is nil - is invalid if delivery_enabled is nil - is invalid when fingerprint contains invalid characters - is expected to respond to #list_id - has a valid factory - is expected to respond to #fingerprint - is invalid if delivery_enabled is blank - is expected to respond to #admin - is invalid when list_id is blank - is invalid when email does not contain an @ - is valid when fingerprint is empty - downcases all letters of an email address - #fingerprint - transforms the fingerprint to upper case - -Schleuder::KeyFetcher - #fetch - fetches one key from a good URL - fetches one key by fingerprint from VKS if vks_keyserver is set - reports the returned body content when receiving an unexpected HTTP status from the server - fetches one key by email from SKS if vks_keyserver is blank - fetches one key by email from VKS if vks_keyserver is set - reports an error from trying to fetch an URL that doesn't exist - fetches one key by fingerprint from SKS if vks_keyserver is blank - reports an error from trying to import non-key-material - reports an error if both, vks_keyserver and sks_keyserver, are blank - -GPGME::Key - #summary - displays the expected attributes for a revoked key - displays the expected attributes for an expired key - displays the expected attributes for an expiring key - displays the expected attributes for a key that's not capable of encryption - displays the expected basic attributes - .valid_fingerprint? - invalid fingerprints - rejects 59C71FB38AEE22E091C78259D06350440F759BD3A as an invalid fingerprint - rejects 59C71FB38AEE22E091C78259D06350440F759BD as an invalid fingerprint - rejects Z9C71FB38AEE22E091C78259D06350440F759BD3 as an invalid fingerprint - rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint - rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint - rejects 0x59C71FB38AEE22E091C78259D06350440F759B as an invalid fingerprint - valid fingerprints - accepts 0x59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint - accepts 0x59C71FB38AEE22E091C78259D0635044 as a valid fingerprint - accepts 59C71FB38AEE22E091C78259D0635044 as a valid fingerprint - accepts 59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint - #minimal - returns a minimal key - -GPGME::Ctx - #find_keys with un-bracketed email-address - #normalize_key_identifier with some string - #find_keys with un-bracketed wrong email-address - #find_keys with un-prefixed fingerprint - #normalize_key_identifier with bracketed email-address - #find_keys with correctly marked sub-string - #keyimport with unusable data - #find_keys with bracketed email-address - #find_keys with prefixed fingerprint - #find_keys without argument - #gpgcli returns correct data types - #find_keys with un-marked sub-string - #find_keys with correctly marked narrower sub-string - #normalize_key_identifier with un-prefixed fingerprint - #find_keys with bracketed wrong email-address - #normalize_key_identifier with un-bracketed email-address - #keyimport - #normalize_key_identifier with prefixed fingerprint - #normalize_key_identifier with URL - 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 + sends the list's key as reply to -sendkey forwards the message to the admins if extension is -bounce - -user sends an encrypted message - from thunderbird being encrypted-inline - from thunderbird being encrypted+signed-inline - from thunderbird being encrypted-mime - from thunderbird being encrypted+signed-mime - -Schleuder::LoggerNotifications - notifies admins in the clear if their key is unusable - includes a List-Id header in notification mails sent to admins - notifies admins of multiple text-messages and the original message - notifies admins of simple text-message - notifies admins of multiple text-messages - notifies admins encryptedly if their key is usable - return path - sets default superadmin - sets superadmin - -Schleuder::Runner - after keyword parsing - falling back works also with non-ascii content - falls back to default charset per RFC if none is set - #run - 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 that contain other gpg keywords - injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message - 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 emails with broken utf-8 - does not throw an error on emails with large first mime-part - injects pseudoheaders appropriately into a signed multipart/alternative-message (thunderbird+enigmail-1.9) - 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 - 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 - notifies admins about bounces when bounces_notify_admins is set to true - drops all bounces when bounces_notify_admins is set to false - 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 - with a plain text message - includes the internal_footer - has the correct headerlines - does keep the Message-Id as configured - contains the Autocrypt header if include_autocrypt_header is set to true - delivers the incoming message - contains the specified pseudoheaders in the correct order - 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 - contains the open pgp header if include_openpgp_header is set to true - does not deliver content if send_encrypted_only is set to true - doesn't leak the Message-Id as configured - does not include the public_footer - doesn't have unwanted headerlines from the original message - -keys via api - list - doesn't list keys without authentication - does list keys with authentication - export - doesn't export keys without authentication - does list keys with authentication - delete - does delete keys with authentication - doesn't delete keys without authentication - import - doesn't import keys without authentication - does list keys with authentication - returns json with key details about imported keys - returns json with empty array in case of useless input - a key with broken utf8 in uid - does add key - already imported - does delete key - does list this key - does get key - check - doesn't check keys without authentication - does check keys with authorization - -Schleuder::Filters::Runner - is expected to respond to #run - loading filters - loads custom filters from filters_dir and sorts them in, ignores filter not following convention - loads custom filters from filters_dir and sorts them in with missing dir - loads filters from built-in filters_dir sorts them - loads custom filters from filters_dir even with non-2-digit priority - #run - runs the filters - stops on a StandardError and returns error even with bounces_drop_all - stops on a StandardError and returns error - stops on a StandardError and returns error even on headers match - -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 - .key_auto_import_from_autocrypt_header - successfully validates a signature, whose previously unknown key is in the autocrypt-header - .key_auto_import_from_attachments - successfully validates a signature, whose previously unknown key is attached - successfully validates a signature, whose previously unknown key is attached, from an encrypted+signed message - -protected subject - don't block request-messages - is included in mime-headers - is included as mime-part in body - is not leaked - recognizes keywords in mails with protected headers and empty subject - works with mutt protected headers - -Schleuder::Filters - .strip_html_from_alternative - strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data - does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data - does not choke on nor change a message without Content-Type-header - .strip_html_from_alternative_if_keywords_present - does NOT strip HTML-part from multipart/alternative-message that does NOT contain keywords - strips related-part from encapsulated multipart/alternative-part that contains keywords - does not choke on nor change a message without Content-Type-header - strips HTML-part from multipart/alternative-message that contains keywords - .key_auto_import_from_attachments - does not import key if sender address does not match key UID - imports key and reports no change - only imports the one key that matches the sender address if keydata contains more than one key - imports key and reports the change - does not import key if attachment has a different content-type than "application/pgp-keys" - imports key and reports new key - .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 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 - .fix_exchange_messages - fixes pgp/mime-messages that were mangled by Exchange - works with a text/plain message - .key_auto_import_from_autocrypt_header - imports key and reports the change - imports key and reports new key - only imports the one key that matches the sender address if keydata contains more than one key - imports key and reports no change - does not import key if sender address does not match key UID, regardless of Autocrypt addr attribute + forwards the message to the admins if extension is -owner user sends keyword - x-set-fingerprint without email-address and with invalid fingerprint - x-subscribe with one attribute and spaces-separated fingerprint - x-resend with admin-notification - x-fetch-key without arguments - x-set-fingerprint with email-address but without valid fingerprint - x-resend-cc-encrypted-only to 3 addresses with one missing keys - x-list-key with arbitrary email-sub-string - x-unset-fingerprint without argument - x-unsubscribe doesn't unsubscribe last admin - x-fetch-key with URL - resend returns an error about wrong arguments if email content got into the arguments due to no blank line - x-resend with iso-8859-1 body + x-list-keys with one argument + x-subscribe without attributes, but with spaces-separated fingerprint + x-subscribe without attributes + x-fetch-key with unknown fingerprint + x-resend does not include internal_footer + x-unset-fingerprint with own email-address as admin and force + x-get-version with delivery disabled + x-resend-cc to 2 addresses with missing keys + x-list-subscriptions with matching argument + x-unsubscribe + x-list-key with correctly prefixed email-sub-string + x-set-fingerprint without argument + x-sign-this with attachments + x-get-key with empty argument x-subscribe with invalid arguments - x-subscribe with attributes (first one 'false') and spaces-separated fingerprint - x-fetch-key with fingerprint of unchanged key - x-resend-encrypted-only with expired key - x-get-logfile with debug level sends non-empty logfile - x-set-fingerprint with own email-address and valid fingerprint + x-get-version + x-set-fingerprint with other email-address and valid fingerprint + x-fetch-key with invalid input x-fetch-key with email address - x-list-subscriptions with non-matching argument - x-set-fingerprint with other email-address and valid fingerprint as non-admin - x-unset-fingerprint with not-subscribed email-address + x-sign-this with inline text + x-resend-cc-encrypted-only with matching key + x-resend-cc-encrypted-only with expired key + x-list-subscriptions without arguments + x-resend with admin-notification and admin has delivery disabled x-resend-unencrypted with matching key - x-fetch-key with fingerprint - x-resend - x-set-fingerprint with other email-address and valid fingerprint + x-subscribe with attributes x-resend with invalid recipient - x-unset-fingerprint with other email-address as admin - x-unset-fingerprint with other email-address as non-admin - x-resend-cc-encrypted-only with matching key + x-list-keys with two arguments x-subscribe with attributes and spaces-separated fingerprint - x-subscribe without arguments + x-get-logfile with debug level sends non-empty logfile + x-resend-cc-encrypted-only to 2 addresses with matching keys + x-attach-listkey from Thunderbird with protected headers + x-resend-encrypted-only with matching key + x-fetch-key with URL + x-get-logfile with error-level sends empty logfile + x-subscribe with one attribute and spaces-separated fingerprint + x-set-fingerprint with other email-address and valid fingerprint as non-admin + x-fetch-key with invalid URL x-get-key with invalid argument - x-get-key with valid argument - x-set-fingerprint without argument - x-list-keys without arguments - x-resend-cc-encrypted-only with expired key does not parse keywords once the mail body started + x-list-key with prefixed fingerprint + x-resend-cc-encrypted-only to 2 addresses with missing keys + x-list-keys without arguments + x-list-key with arbitrary email-sub-string + x-resend-cc to 2 addresses with one missing keys + resend returns an error about wrong arguments if email content got into the arguments due to no blank line + x-subscribe with attributes (first one 'false') and spaces-separated fingerprint + x-set-fingerprint with own email-address and valid, spaces-separated fingerprint x-attach-listkey + x-set-fingerprint with not-subscribed email-address and valid fingerprint + x-unset-fingerprint with other email-address as admin + x-set-fingerprint without email-address and with invalid fingerprint + x-resend with utf-8 body and umlauts + x-set-fingerprint with email-address but without valid fingerprint + x-resend with iso-8859-1 body + x-get-key with valid argument + x-unset-fingerprint with not-subscribed email-address x-resend-cc-encrypted-only to 2 addresses with one missing keys - x-fetch-key with invalid URL - x-fetch-key with unknown email-address - x-set-fingerprint with own email-address and valid, spaces-separated fingerprint - x-list-key with correctly prefixed email-sub-string - x-list-subscriptions without arguments - x-resend does not include internal_footer - x-get-logfile with error-level sends empty logfile - x-list-subscriptions with matching argument - x-resend-cc to 2 addresses with one missing keys - x-list-keys with one argument - x-subscribe without attributes, but with spaces-separated fingerprint - x-get-key with empty argument - x-sign-this with attachments - x-resend-cc-encrypted-only to 2 addresses with missing keys - x-list-subscriptions without arguments but with admin-notification - x-resend-encrypted-only with two matching keys, one of which is expired x-set-fingerprint with email-address but without fingerprint - x-unsubscribe - x-set-fingerprint with not-subscribed email-address and valid fingerprint - x-sign-this with inline text - x-unset-fingerprint with own email-address as admin and force - x-list-keys with two arguments x-set-fingerprint without email-address and with valid fingerprint - x-list-key with prefixed fingerprint - x-get-version with delivery disabled - x-fetch-key with invalid input - x-subscribe without attributes - x-subscribe with attributes (last one 'true') and spaces-separated fingerprint - x-attach-listkey from Thunderbird with protected headers - x-resend with utf-8 body and umlauts - x-unsubscribe without argument - x-subscribe with attributes - x-resend-encrypted-only with matching key - x-fetch-key with unknown fingerprint - x-resend-cc-encrypted-only to 2 addresses with matching keys - x-resend with admin-notification and admin has delivery disabled x-unsubscribe with invalid argument - x-get-version + x-list-subscriptions with non-matching argument + x-unsubscribe doesn't unsubscribe last admin + x-fetch-key with unknown email-address + x-resend-encrypted-only with expired key + x-fetch-key without arguments + x-unsubscribe without argument + x-resend-encrypted-only with two matching keys, one of which is expired + x-subscribe without arguments + x-set-fingerprint with own email-address and valid fingerprint + x-resend-cc-encrypted-only to 3 addresses with one missing keys + x-resend + x-fetch-key with fingerprint of unchanged key + x-unset-fingerprint without argument + x-list-subscriptions without arguments but with admin-notification x-unset-fingerprint with own email-address as admin but without force - x-resend-cc to 2 addresses with missing keys + x-resend with admin-notification + x-subscribe with attributes (last one 'true') and spaces-separated fingerprint + x-unset-fingerprint with other email-address as non-admin + x-fetch-key with fingerprint with broken utf8 in key x-list-keys works - x-get-key with valid argument x-add-key with inline key-material - -a bounce message is received - from bounce example - -authorization via api - allows authorized access - blocks un-authorized access to other URLs - allows un-authorized access to /status.json - -KeywordHandlersRunner - returns an error message if keyword is configured as admin-only - does not require mandatory keywords if no keywords are present - stores a keyword that was registered - requires X-LIST-NAME - notifies admins - loads additional keyword handlers - rejects X-LIST-NAME with mismatching argument - rejects unknown keywords + x-get-key with valid argument Errors ::DecryptionFailed shows sensible string in response to to_s() ::MessageEmpty shows sensible string in response to to_s() + ::LoadingListSettingsFailed shows sensible string in response to to_s() + ::TooManyKeys shows sensible string in response to to_s() + ::ListNotFound shows sensible string in response to to_s() + ::KeywordAdminOnly 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() + ::MessageUnencrypted shows sensible string in response to to_s() + ::ListdirProblem shows sensible string in response to to_s() ::MessageTooBig shows sensible string in response to to_s() + ::KeyAdduidFailed shows sensible string in response to to_s() ::MessageUnsigned 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() - ::KeyGenerationFailed shows sensible string in response to to_s() - ::ListNotFound shows sensible string in response to to_s() - ::TooManyKeys shows sensible string in response to to_s() - ::MessageUnencrypted shows sensible string in response to to_s() ::MessageNotFromAdmin shows sensible string in response to to_s() - ::KeyAdduidFailed shows sensible string in response to to_s() - ::LoadingListSettingsFailed shows sensible string in response to to_s() - ::KeywordAdminOnly shows sensible string in response to to_s() + ::KeyGenerationFailed 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 +a bounce message is received + from bounce example + +protected subject + works with mutt protected headers + is included in mime-headers + is included as mime-part in body + recognizes keywords in mails with protected headers and empty subject + is not leaked + don't block request-messages Schleuder::Http uses a proxy if one is configured -Schleuder::KeywordHandlers::SignThis - responds to the configured keyword method - signs body content if no attachments are present - signs attachment (even if a body is present) +Schleuder::Runner + #run + delivers a signed error message if a subscription's key is not available on a encrypted-only list + injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message + does not throw an error on emails with an attached pgp key as application/octet-stream + delivers a signed error message if a subscription's key is expired 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 large first mime-part + does not throw an error on emails that contain other gpg keywords + does not throw an error on emails with broken utf-8 + injects pseudoheaders appropriately into a signed multipart/alternative-message (thunderbird+enigmail-1.9) + with a plain text message + contains the list headers if include_list_headers is set to true + delivers the incoming message + does not deliver content if send_encrypted_only is set to true + contains the specified pseudoheaders in the correct order + does keep the Message-Id as configured + includes the internal_footer + contains the Autocrypt header if include_autocrypt_header is set to true + does not include the public_footer + contains the open pgp header if include_openpgp_header is set to true + doesn't have unwanted headerlines from the original message + doesn't leak the Message-Id as configured + does not contain the Autocrypt header if include_autocrypt_header is set to false + has the correct headerlines + 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 + 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 + Quoted-Printable encoding + is handled properly in encrypted+signed emails + is handled properly in cleartext emails + is handled properly in encrypted emails + after keyword parsing + falling back works also with non-ascii content + falls back to default charset per RFC if none is set subscription via api - subscribes an admin user with a truthy value - subscribes an user and unsets delivery flag unsubscribes members + subscribes an user and unsets delivery flag subscribes an admin user doesn't subscribe new member without authentication subscribes new member to a list + subscribes an admin user with a truthy value -Schleuder::KeywordHandlers::Base - stores mail, list and arguments as instance variables - provides methods to register keywords +lists via api + correctly finds a list by email-address that starts with a number + creates a list + shows a list -Finished in 4 minutes 0.6 seconds (files took 2.41 seconds to load) +authorization via api + allows authorized access + blocks un-authorized access to other URLs + allows un-authorized access to /status.json + +Schleuder::KeywordHandlers::KeyManagement + registers keywords + .add_key + imports from attached quoted-printable ascii-armored key-material + rejects garbage + imports a key from attached binary material (without specified encoding) + imports from attached quoted-printable binary key-material (as produced by Mutt 2.0.5) + updates a key + imports from attached quoted-printable key-material (as produced by Thunderbird 115) + imports from an inline mix of ascii-armored key and non-key material + imports a key from attached explicitly base64-encoded binary material + ignores arguments + ignores body if an ascii-armored attachment is present + imports a key from attached acsii-armored material + imports a key from inline ascii-armored material + imports a key from attached quoted-printable binary material + .delete_key + deletes no key if the argument does not match + deletes a key that distinctly matches the argument + returns a string as error message if input message has no content + deletes multiple keys that each distinctly match one argument + sends error message if no argument is given + +Schleuder::KeyFetcher + #fetch + reports an error from trying to import non-key-material + fetches one key by email from SKS if vks_keyserver is blank + fetches one key by email from VKS if vks_keyserver is set + fetches one key by fingerprint from SKS if vks_keyserver is blank + reports an error if both, vks_keyserver and sks_keyserver, are blank + reports the returned body content when receiving an unexpected HTTP status from the server + reports an error from trying to fetch an URL that doesn't exist + fetches one key by fingerprint from VKS if vks_keyserver is set + fetches one key from a good URL + +version + does not return the current schleuder version if not authorized + returns the current schleuder version if authorized + +GPGME::Key + #summary + displays the expected basic attributes + displays the expected attributes for a revoked key + displays the expected attributes for an expired key + displays the expected attributes for an expiring key + displays the expected attributes for a key that's not capable of encryption + #minimal + returns a minimal key + .valid_fingerprint? + valid fingerprints + accepts 59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint + accepts 59C71FB38AEE22E091C78259D0635044 as a valid fingerprint + accepts 0x59C71FB38AEE22E091C78259D06350440F759BD3 as a valid fingerprint + accepts 0x59C71FB38AEE22E091C78259D0635044 as a valid fingerprint + invalid fingerprints + rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint + rejects 0x59C71FB38AEE22E091C78259D06350440F759B as an invalid fingerprint + rejects 59C71FB38AEE22E091C78259D06350440F759BD3A as an invalid fingerprint + rejects Z9C71FB38AEE22E091C78259D0635044 as an invalid fingerprint + rejects Z9C71FB38AEE22E091C78259D06350440F759BD3 as an invalid fingerprint + rejects 59C71FB38AEE22E091C78259D06350440F759BD as an invalid fingerprint + +Schleuder::LoggerNotifications + notifies admins in the clear if their key is unusable + notifies admins encryptedly if their key is usable + includes a List-Id header in notification mails sent to admins + notifies admins of multiple text-messages and the original message + notifies admins of simple text-message + notifies admins of multiple text-messages + return path + sets superadmin + sets default superadmin + +Mail::Message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234210666.txt.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_11.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_22.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 bounce spec/fixtures/mails/bounces/tt_1234285532.txt.eml as normal 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/unknown_code_bounce_01.txt.eml as normal message + recognizes a sudo message with 'Auto-Submitted'-header NOT as automated message + doesn't change the order of mime-parts + 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/Bug_948981-_marked_as_pending_in_schleuder.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211932.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234211024.txt.eml as bounce + verifies an encapsulated (signed-then-encrypted) 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_bounce_07.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_1234285668.txt.eml as normal message + recognizes a cron message with 'Auto-Submitted'-header NOT as automated 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_01.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_bounce_25.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_1234177688.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_23.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_bounce_17.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_08.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_1234211357.txt.eml as normal message + 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_18.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/malformed_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234241665.txt.eml as normal message + recognizes bounce message subject using the bounce_email gem + does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message + adds list#public_footer as last mime-part without changing its value + 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_19.txt.eml as normal message + recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message + recognizes a message sent to listname-bounce@hostname as automated 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_15.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_10.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_03.txt.eml as normal message + .keywords + stops looking for keywords when the first line is already email content + takes the whole rest of the body as keyword argument if blank lines are present + splits lines into words and downcases them in keyword arguments + reads multiple lines as keyword arguments + drops multiple empty lines between keywords and content + stops looking for keywords when a blank line that is not followed by another keyword is met + drops empty lines in keyword arguments parsing + stops looking for keywords when already the first line is blank followed by email content + ignores empty lines before keywords + makes a pseudo header + that a multiline with less than 76 get wrapped correctly on the first line + that a line with less than 76 gets wrapped + that is getting wrapped + with key / value + that single multiline are getting indented + that a multiline with less than 76 get wrapped correctly on the first line and the following lines + with empty value + without value + that multiline are getting wrapped + #add_subject_prefix! + adds a configured subject prefix without subject + does not add a subject prefix if already present + adds a configured subject prefix + +Finished in 2 minutes 52.6 seconds (files took 1.46 seconds to load) 583 examples, 0 failures -Randomized with seed 42861 +Randomized with seed 35696 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2163,12 +2199,35 @@ 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/2995803/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2995803/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 +W: Stray processes left from build: +* system-pbuilder-build-schleuder_5.0.1\x2d2-2995803.slice - Slice /system/pbuilder/build/schleuder_5.0.1-2/2995803 + Loaded: loaded + Active: active since Sat 2025-08-02 21:49:17 +14; 4min 43s ago + Tasks: 30 + Memory: 421.3M + CPU: 2min 27.488s + CGroup: /system.slice/system-pbuilder.slice/system-pbuilder-build.slice/system-pbuilder-build-schleuder_5.0.1\x2d2.slice/system-pbuilder-build-schleuder_5.0.1\x2d2-2995803.slice + `-run-red8fde7b7810436a9a6134b35489c3b9.scope + |-3012340 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list237 --use-standard-socket --daemon + |-3012452 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list239 --use-standard-socket --daemon + |-3012611 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list242 --use-standard-socket --daemon + |-3019738 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list389 --use-standard-socket --daemon + |-3019758 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list391 --use-standard-socket --daemon + |-3019770 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list392 --use-standard-socket --daemon + |-3019793 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list393 --use-standard-socket --daemon + |-3019811 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list394 --use-standard-socket --daemon + |-3020349 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list429 --use-standard-socket --daemon + `-3020364 gpg-agent --homedir /tmp/schleuder-61511fa711af5866828caa34ad1baff6/example.org/list444 --use-standard-socket --daemon + +Aug 02 21:49:17 infom01-amd64 systemd[1]: Created slice system-pbuilder-build-schleuder_5.0.1\x2d2-2995803.slice - Slice /system/pbuilder/build/schleuder_5.0.1-2/2995803. I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2431032 and its subdirectories -I: Current time: Fri Sep 4 02:12:08 -12 2026 -I: pbuilder-time-stamp: 1788531128 +I: removing directory /srv/workspace/pbuilder/2995803 and its subdirectories +I: Current time: Sat Aug 2 21:54:01 +14 2025 +I: pbuilder-time-stamp: 1754121241