Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-18 Thread Jason Long
 Thomas Goirand tho...@goirand.fr 12/18/08 1:49 AM 

Now, would it be easy for you to rename dkimverify to something else? I
have put the upstream author (Jason) of dkimproxy as a copy of his email
so he can tell what kind of problems we might find if we rename
dkimverify.


I don't know the full context of this conversation, but I'll try to provide
some useful information.

The dkimverify script that is bundled with DKIMproxy is not a component
of the proxy itself. It's just useful in terms of troubleshooting a
signature. It sounds like the dkimverify of python-dkim and the dkimverify
of dkimproxy have similar interfaces.

But as far as dkimproxy is concerned, you can delete the dkimverify script,
move it out of $PATH, or rename it. It won't affect the running of the smtp
proxy itself.
Hope that helps.

Jason



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-18 Thread Scott Kitterman
Yes.  That helps.

The two scripts provide a similar function, but python-dkim only does DKIM 
signing/verification.  It does not implement the policy component, so it's 
dkimverify can't provide a complete equivalent of the one in dkimproxy.

I do think their purposes are slightly different.  The one provided for python-
dkim is not just meant as a troubleshooting tool.  I think it's meant to make 
it easy to integrate DKIM verification into non-Python applications.  

While I'm not aware of any current users of this script (python-dkim is a new 
library), I think it would be better not to rename it since any future 
applications that made use of it would have to be patched when they would be 
packaged for Debian.

Thomas,

I would prefer if you rename the dkimproxy dkimverify since your upstream has 
confirmed it's not a problem.  What do you think?

Scott K



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-18 Thread Thomas Goirand
Scott Kitterman wrote:
 Yes.  That helps.
 
 The two scripts provide a similar function, but python-dkim only does DKIM 
 signing/verification.  It does not implement the policy component, so it's 
 dkimverify can't provide a complete equivalent of the one in dkimproxy.
 
 I do think their purposes are slightly different.  The one provided for 
 python-
 dkim is not just meant as a troubleshooting tool.  I think it's meant to make 
 it easy to integrate DKIM verification into non-Python applications.  
 
 While I'm not aware of any current users of this script (python-dkim is a new 
 library), I think it would be better not to rename it since any future 
 applications that made use of it would have to be patched when they would be 
 packaged for Debian.

That is exactly what I was thinking about as well.

 Thomas,
 
 I would prefer if you rename the dkimproxy dkimverify since your upstream has 
 confirmed it's not a problem.  What do you think?
 
 Scott K

Yes, I'll rename it dkimproxy-verify and keep it in /usr/bin, if that is
a satisfying solution for everyone. Jason, I can only suggest you to do
the same in your upstream sources, as you will have the problem with
some other distributions, that's quite inevitable.

I'll be able to work on that issue tomorrow. Scott, are you able to
upload yourself, or should I ask my usual sponsor (that might be busy)?

Thomas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-17 Thread Ralf Treinen
Package: python-dkim
Version: 0.3-1
Severity: serious

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


Date: 2008-12-16
Architecture: amd64
Distribution: sid
Command: apt-get --assume-yes --allow-unauthenticated install dkimproxy 
python-dkim

Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdb4.5
  libdigest-hmac-perl libdigest-sha1-perl liberror-perl libio-multiplex-perl
  libmail-dkim-perl libmailtools-perl libnet-cidr-perl libnet-dns-perl
  libnet-ip-perl libnet-server-perl libsqlite3-0 libtext-wrapper-perl
  libtimedate-perl mime-support openssl perl perl-modules python
  python-central python-dnspython python-minimal python2.5 python2.5-minimal
Suggested packages:
  libio-socket-ssl-perl ca-certificates libterm-readline-gnu-perl
  libterm-readline-perl-perl python-doc python-tk python-profiler
  python2.5-doc binfmt-support
Recommended packages:
  amavisd-new file perl-doc
The following NEW packages will be installed:
  dkimproxy libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdb4.5
  libdigest-hmac-perl libdigest-sha1-perl liberror-perl libio-multiplex-perl
  libmail-dkim-perl libmailtools-perl libnet-cidr-perl libnet-dns-perl
  libnet-ip-perl libnet-server-perl libsqlite3-0 libtext-wrapper-perl
  libtimedate-perl mime-support openssl perl perl-modules python
  python-central python-dkim python-dnspython python-minimal python2.5
  python2.5-minimal
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.8MB of archives.
After this operation, 59.1MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libdb4.5 mime-support perl-modules perl python2.5-minimal libsqlite3-0
  python2.5 python-minimal python python-central libtext-wrapper-perl
  liberror-perl libtimedate-perl libmailtools-perl libdigest-sha1-perl
  libdigest-hmac-perl libnet-ip-perl libnet-dns-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libmail-dkim-perl
  libio-multiplex-perl libnet-cidr-perl libnet-server-perl openssl dkimproxy
  python-dnspython python-dkim
Authentication warning overridden.
Get:1 http://localhost sid/main libdb4.5 4.5.20-13 [555kB]
Get:2 http://localhost sid/main mime-support 3.44-1 [33.3kB]
Get:3 http://localhost sid/main perl-modules 5.10.0-18 [3189kB]
Get:4 http://localhost sid/main perl 5.10.0-18 [5249kB]
Get:5 http://localhost sid/main python2.5-minimal 2.5.2-14 [1290kB]
Get:6 http://localhost sid/main libsqlite3-0 3.5.9-6 [253kB]
Get:7 http://localhost sid/main python2.5 2.5.2-14 [3038kB]
Get:8 http://localhost sid/main python-minimal 2.5.2-3 [13.5kB]
Get:9 http://localhost sid/main python 2.5.2-3 [139kB]
Get:10 http://localhost sid/main python-central 0.6.8 [40.4kB]
Get:11 http://localhost sid/main libtext-wrapper-perl 1.02-1 [11.0kB]
Get:12 http://localhost sid/main liberror-perl 0.17-1 [23.6kB]
Get:13 http://localhost sid/main libtimedate-perl 1.1600-9 [32.9kB]
Get:14 http://localhost sid/main libmailtools-perl 2.04-1 [96.9kB]
Get:15 http://localhost sid/main libdigest-sha1-perl 2.11-2+b1 [25.6kB]
Get:16 http://localhost sid/main libdigest-hmac-perl 1.01-7 [10.5kB]
Get:17 http://localhost sid/main libnet-ip-perl 1.25-2 [30.2kB]
Get:18 http://localhost sid/main libnet-dns-perl 0.63-2 [267kB]
Get:19 http://localhost sid/main libcrypt-openssl-bignum-perl 0.04-1+b1 [27.4kB]
Get:20 http://localhost sid/main libcrypt-openssl-rsa-perl 0.25-1+b1 [31.3kB]
Get:21 http://localhost sid/main libmail-dkim-perl 0.32-1 [105kB]
Get:22 http://localhost sid/main libio-multiplex-perl 1.10-1 [23.8kB]
Get:23 http://localhost sid/main libnet-cidr-perl 0.11-3 [14.8kB]
Get:24 http://localhost sid/main libnet-server-perl 0.97-1 [141kB]
Get:25 http://localhost sid/main openssl 0.9.8g-14 [1043kB]
Get:26 http://localhost sid/main dkimproxy 1.0.1-7 [34.4kB]
Get:27 http://localhost sid/main python-dnspython 1.6.0-1.1 [94.4kB]
Get:28 http://localhost sid/main python-dkim 0.3-1 [14.6kB]
Fetched 15.8MB in 4s (3549kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libdb4.5.
(Reading database ... 7932 files and directories currently installed.)
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.44-1_all.deb) ...
Selecting previously deselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.10.0-18_all.deb) ...
Selecting previously deselected package perl.
Unpacking perl (from .../perl_5.10.0-18_amd64.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.2-14_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking 

Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-17 Thread Scott Kitterman
I guess the first question is are they suitable as alternatives?  If not, 
I'll rename.

The python-dkim dkimverify takes a message in on stdin and let's you know 
if it verified by the exit code

How does dkimproxy's work?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#509045: python-dkim: tries to overwrite file owned by dkimproxy

2008-12-17 Thread Thomas Goirand
Scott Kitterman wrote:
 I guess the first question is are they suitable as alternatives?  If not, 
 I'll rename.
 
 The python-dkim dkimverify takes a message in on stdin and let's you know 
 if it verified by the exit code
 
 How does dkimproxy's work?

Hi,

I'm the maintainer of dkimproxy. dkimproxy works as ... a proxy! :)

More seriously, it's 2 independents SMTP proxy. Postfix sends all email
it receives to dkimproxy.in, then dkimproxy forwards it back to either
amavis for further filtering or postfix. When a mail is sent to the
outside, then it goes by dkimproxy.out.

Now, would it be easy for you to rename dkimverify to something else? I
have put the upstream author (Jason) of dkimproxy as a copy of his email
so he can tell what kind of problems we might find if we rename dkimverify.

Thomas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org