[DRE-maint] Bug#1068332: marked as done (schleuder: throws a traceback if told to import a key, but a key can't be found)

2024-04-09 Thread Debian Bug Tracking System
Your message dated Tue, 09 Apr 2024 16:47:10 +
with message-id 
and subject line Bug#1068332: fixed in schleuder 4.0.3-7+deb12u1
has caused the Debian Bug report #1068332,
regarding schleuder: throws a traceback if told to import a key, but a key 
can't be found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1068332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068332
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: schleuder
Version: 4.0.3-7
Forwarded: https://0xacab.org/schleuder/schleuder/-/issues/526
Tags: bookworm fixed-upstream upstream

Super admins receive the following error via mail if a user tries to
import a key via a request mail with x-add-key, but no key:

undefined method `compact' for "Your message did not contain any attachments 
nor text content. Therefore no key could be imported.":String

import_stati = results.compact.collect(&:imports).flatten
  
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers/key_management.rb:21:in 
`add_key'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:67:in 
`run_handler'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:34:in `block in 
run'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:32:in `map'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:32:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/filters/post_decryption/10_request.rb:16:in 
`request'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:14:in `block in run'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:12:in `map'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:12:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/runner.rb:127:in `run_filters'
/usr/lib/ruby/vendor_ruby/schleuder/runner.rb:56:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/cli.rb:38:in `work'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/command.rb:27:in 
`run'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
 `invoke_command'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor.rb:392:in 
`dispatch'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/base.rb:485:in 
`start'
/usr/bin/schleuder:13:in `'
--- End Message ---
--- Begin Message ---
Source: schleuder
Source-Version: 4.0.3-7+deb12u1
Done: Georg Faerber 

We believe that the bug you reported is fixed in the latest version of
schleuder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georg Faerber  (supplier of updated schleuder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 04 Apr 2024 18:15:10 +
Source: schleuder
Architecture: source
Version: 4.0.3-7+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Ruby Team 

Changed-By: Georg Faerber 
Closes: 1068330 1068331 1068332 1068333 1068334 1068335
Changes:
 schleuder (4.0.3-7+deb12u1) bookworm; urgency=medium
 .
   * debian/patches:
 - x-subscribe: fix parsing of arguments. Optional flags provided at the
   end are only taken into account if there is a valid fingerprint, and
   they are checked to be "true", or "false". Before, due to insufficient
   validation, an email address might have been erroneously subscribed with
   'admin' permissions. (Closes: #1068330)
 - x-add-key: fix importing keys from attachments as Thunderbird sends
   them. Before, such attachments were ignored. This regression was
   introduced in 4.0.0. (Closes: #1068331)
 - x-add-key: fix handling of emails without further content or
   attachments. A proper error message is returned. Before, a traceback was
   thrown. (Closes: #1068332)
 - Stop looking for keywords if email starts with other content. This
   allows to send usage instructions including keywords within an email to
   a Schleuder list. Before, these keywords would have been stripped, which
   limited the value of such an email. This change matches documentation,
   which tells that keywords require that they are written in the beginning

[DRE-maint] Bug#1068332: marked as done (schleuder: throws a traceback if told to import a key, but a key can't be found)

2024-04-03 Thread Debian Bug Tracking System
Your message dated Wed, 03 Apr 2024 14:54:53 +
with message-id 
and subject line Bug#1068332: fixed in schleuder 4.0.3-11
has caused the Debian Bug report #1068332,
regarding schleuder: throws a traceback if told to import a key, but a key 
can't be found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1068332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068332
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: schleuder
Version: 4.0.3-7
Forwarded: https://0xacab.org/schleuder/schleuder/-/issues/526
Tags: bookworm fixed-upstream upstream

Super admins receive the following error via mail if a user tries to
import a key via a request mail with x-add-key, but no key:

undefined method `compact' for "Your message did not contain any attachments 
nor text content. Therefore no key could be imported.":String

import_stati = results.compact.collect(&:imports).flatten
  
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers/key_management.rb:21:in 
`add_key'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:67:in 
`run_handler'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:34:in `block in 
run'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:32:in `map'
/usr/lib/ruby/vendor_ruby/schleuder/keyword_handlers_runner.rb:32:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/filters/post_decryption/10_request.rb:16:in 
`request'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:14:in `block in run'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:12:in `map'
/usr/lib/ruby/vendor_ruby/schleuder/filters_runner.rb:12:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/runner.rb:127:in `run_filters'
/usr/lib/ruby/vendor_ruby/schleuder/runner.rb:56:in `run'
/usr/lib/ruby/vendor_ruby/schleuder/cli.rb:38:in `work'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/command.rb:27:in 
`run'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
 `invoke_command'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor.rb:392:in 
`dispatch'
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/base.rb:485:in 
`start'
/usr/bin/schleuder:13:in `'
--- End Message ---
--- Begin Message ---
Source: schleuder
Source-Version: 4.0.3-11
Done: Georg Faerber 

We believe that the bug you reported is fixed in the latest version of
schleuder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georg Faerber  (supplier of updated schleuder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Wed, 03 Apr 2024 14:05:09 +
Source: schleuder
Architecture: source
Version: 4.0.3-11
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 

Changed-By: Georg Faerber 
Closes: 1068330 1068331 1068332 1068333 1068334 1068335
Changes:
 schleuder (4.0.3-11) unstable; urgency=medium
 .
   * debian/patches:
 - x-subscribe: fix parsing of arguments. Optional flags provided at the
   end are only taken into account if there is a valid fingerprint, and
   they are checked to be "true", or "false". Before, due to insufficient
   validation, an email address might have been erroneously subscribed with
   'admin' permissions. (Closes: #1068330)
 - x-add-key: fix importing keys from attachments as Thunderbird sends
   them. Before, such attachments were ignored. This regression was
   introduced in 4.0.0. (Closes: #1068331)
 - x-add-key: fix handling of emails without further content or
   attachments. A proper error message is returned. Before, a traceback was
   thrown. (Closes: 1068332)
 - Stop looking for keywords if email starts with other content. This
   allows to send usage instructions including keywords within an email to
   a Schleuder list. Before, these keywords would have been stripped, which
   limited the value of such an email. (Closes: #1068333)
 - receive_from_subscribed_emailaddresses_only(): check downcased email
   address. This follows and mirrors changes