Debian Bug report logs - #863414
coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority

version graph

Package: src:coyim; Maintainer for src:coyim is (unknown);

Reported by: Adrian Bunk <bunk@debian.org>

Date: Fri, 26 May 2017 15:03:02 UTC

Severity: serious

Tags: patch

Found in version coyim/0.3.7-2

Fixed in version coyim/0.3.7-3

Done: Sascha Steinbiss <satta@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Fri, 26 May 2017 15:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Sascha Steinbiss <satta@debian.org>. (Fri, 26 May 2017 15:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Fri, 26 May 2017 17:59:31 +0300
Source: coyim
Version: 0.3.7-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/testing/amd64/coyim.html

...
----------------------------------------------------------------------
FAIL: connection_go16_test.go:50: ConnectionXmppSuite.Test_Dial_worksIfTheHandshakeSucceeds

connection_go16_test.go:73:
    c.Assert(err, Equals, io.EOF)
... obtained *errors.errorString = &errors.errorString{s:"xmpp: failed to verify TLS certificate: x509: certificate has expired or is not yet valid"} ("xmpp: failed to verify TLS certificate: x509: certificate has expired or is not yet valid")
... expected *errors.errorString = &errors.errorString{s:"EOF"} ("EOF")


----------------------------------------------------------------------
FAIL: connection_go16_test.go:110: ConnectionXmppSuite.Test_Dial_worksIfTheHandshakeSucceedsButSucceedsOnValidCertHash

connection_go16_test.go:133:
    c.Assert(err, Equals, io.EOF)
... obtained *errors.errorString = &errors.errorString{s:"xmpp: failed to verify TLS certificate: x509: certificate has expired or is not yet valid"} ("xmpp: failed to verify TLS certificate: x509: certificate has expired or is not yet valid")
... expected *errors.errorString = &errors.errorString{s:"EOF"} ("EOF")

2018/06/28 18:47:23 xmpp: sending closing stream tag
2018/06/28 18:47:23 xmpp: TCP closed
2018/06/28 18:47:23 xmpp: received closing stream tag
OOPS: 126 passed, 2 FAILED
--- FAIL: Test (0.18s)
FAIL
exit status 1
FAIL	github.com/twstrike/coyim/xmpp	0.192s
?   	github.com/twstrike/coyim/xmpp/data	[no test files]
?   	github.com/twstrike/coyim/xmpp/errors	[no test files]
?   	github.com/twstrike/coyim/xmpp/interfaces	[no test files]
=== RUN   Test
OK: 3 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/twstrike/coyim/xmpp/utils	0.009s
dh_auto_test: go test -v -p 1 github.com/twstrike/coyim github.com/twstrike/coyim/cli github.com/twstrike/coyim/cli/terminal github.com/twstrike/coyim/cli/terminal/real github.com/twstrike/coyim/client github.com/twstrike/coyim/config github.com/twstrike/coyim/config/importer github.com/twstrike/coyim/digests github.com/twstrike/coyim/event github.com/twstrike/coyim/gui github.com/twstrike/coyim/gui/definitions github.com/twstrike/coyim/gui/settings github.com/twstrike/coyim/gui/settings/definitions github.com/twstrike/coyim/i18n github.com/twstrike/coyim/net github.com/twstrike/coyim/roster github.com/twstrike/coyim/sasl github.com/twstrike/coyim/sasl/digestmd5 github.com/twstrike/coyim/sasl/plain github.com/twstrike/coyim/sasl/scram github.com/twstrike/coyim/servers github.com/twstrike/coyim/session github.com/twstrike/coyim/session/access github.com/twstrike/coyim/session/events github.com/twstrike/coyim/session/mock github.com/twstrike/coyim/tls github.com/twstrike/coyim/ui githu
 b.com/twstrike/coyim/xmpp github.com/twstrike/coyim/xmpp/data github.com/twstrike/coyim/xmpp/errors github.com/twstrike/coyim/xmpp/interfaces github.com/twstrike/coyim/xmpp/utils returned exit code 1
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



It failed with the same error when I tried to rebuild it locally.



Information forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Fri, 26 May 2017 22:00:06 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Sascha Steinbiss <satta@debian.org>. (Fri, 26 May 2017 22:00:06 GMT) (full text, mbox, link).


Message #10 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 863414@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Fri, 26 May 2017 22:57:00 +0100
Hi,

> coyim FTBFS: xmpp: failed to verify TLS certificate: x509:
> certificate signed by unknown authority

See:

 http://sources.debian.net/src/coyim/0.3.7-2/xmpp/dns_test.go/#L46


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Fri, 26 May 2017 22:00:08 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Sascha Steinbiss <satta@debian.org>. (Fri, 26 May 2017 22:00:08 GMT) (full text, mbox, link).


Message #15 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 863414@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Fri, 26 May 2017 22:58:30 +0100
Chris Lamb wrote:

>  http://sources.debian.net/src/coyim/0.3.7-2/xmpp/dns_test.go/#L46

Sorry, that should have been:

  http://sources.debian.net/src/coyim/0.3.7-2/xmpp/connection_go16_test.go/#L124


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Sat, 27 May 2017 22:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Sascha Steinbiss <satta@debian.org>. (Sat, 27 May 2017 22:03:04 GMT) (full text, mbox, link).


Message #20 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 863414@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Sat, 27 May 2017 22:59:14 +0100
Hi,

> coyim FTBFS: xmpp: failed to verify TLS certificate: x509:
> certificate signed by unknown authority

Adding `ca-certificates` to Build-Depends works, but then I get different
test failures in the same area (so not tagging as patch).

(Not that the package should really be accessing the internet in the first
place...)



Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Sun, 28 May 2017 09:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Sascha Steinbiss <satta@debian.org>. (Sun, 28 May 2017 09:09:02 GMT) (full text, mbox, link).


Message #25 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 863414@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Sun, 28 May 2017 10:04:18 +0100
[Message part 1 (text/plain, inline)]
tags 863414 + pending patch
thanks

I've uploaded coyim 0.3.7-2.1 to DELAYED/5:
  
  coyim (0.3.7-2.1) unstable; urgency=medium
  
    * Non-maintainer upload.
    * Skip tests that require internet access to avoid FTBFS. Whilst this was
      proximately caused by missing Build-Depends on "ca-certificates", the
      testsuite would remain brittle due to it requiring an internet connection
      and a valid remote SSL certificate at www.olabini.se:443.
      (Closes: #863414)

The full debdiff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[coyim_0.3.7-2.1_amd64.debdiff.txt (text/plain, attachment)]

Added tag(s) patch and pending. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Sun, 28 May 2017 09:09:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#863414; Package src:coyim. (Mon, 29 May 2017 08:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sascha Steinbiss <satta@debian.org>:
Extra info received and forwarded to list. (Mon, 29 May 2017 08:27:06 GMT) (full text, mbox, link).


Message #32 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Sascha Steinbiss <satta@debian.org>
To: Chris Lamb <lamby@debian.org>
Cc: 863414@bugs.debian.org
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Mon, 29 May 2017 10:23:44 +0200
[Message part 1 (text/plain, inline)]
Hi Chris,

[...]
> I've uploaded coyim 0.3.7-2.1 to DELAYED/5:

Many thanks for taking care of this! I was unfortunately not able to
respond to the bug in time due to traveling :/

Cheers
Sascha

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Sascha Steinbiss <satta@debian.org>:
Bug#863414; Package src:coyim. (Mon, 29 May 2017 08:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Sascha Steinbiss <satta@debian.org>. (Mon, 29 May 2017 08:30:03 GMT) (full text, mbox, link).


Message #37 received at 863414@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Sascha Steinbiss <satta@debian.org>
Cc: 863414@bugs.debian.org
Subject: Re: coyim FTBFS: xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority
Date: Mon, 29 May 2017 09:27:20 +0100
Hi Sascha,

> Many thanks for taking care of this! I was unfortunately not able to
> respond to the bug in time due to traveling :/

No problem; and feel free to upload your own version now to avoid the
ickiness of having to incorporate an NMU into your packaging repo. :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Reply sent to Sascha Steinbiss <satta@debian.org>:
You have taken responsibility. (Mon, 29 May 2017 09:21:06 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Mon, 29 May 2017 09:21:06 GMT) (full text, mbox, link).


Message #42 received at 863414-close@bugs.debian.org (full text, mbox, reply):

From: Sascha Steinbiss <satta@debian.org>
To: 863414-close@bugs.debian.org
Subject: Bug#863414: fixed in coyim 0.3.7-3
Date: Mon, 29 May 2017 09:18:43 +0000
Source: coyim
Source-Version: 0.3.7-3

We believe that the bug you reported is fixed in the latest version of
coyim, 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 863414@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sascha Steinbiss <satta@debian.org> (supplier of updated coyim 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 29 May 2017 10:31:46 +0200
Source: coyim
Binary: coyim
Architecture: source amd64
Version: 0.3.7-3
Distribution: unstable
Urgency: medium
Maintainer: Sascha Steinbiss <satta@debian.org>
Changed-By: Sascha Steinbiss <satta@debian.org>
Description:
 coyim      - safe and secure XMPP chat client
Closes: 863414
Changes:
 coyim (0.3.7-3) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * Skip tests that require internet access to avoid FTBFS. Whilst this was
     proximately caused by missing Build-Depends on "ca-certificates", the
     testsuite would remain brittle due to it requiring an internet connection
     and a valid remote SSL certificate at www.olabini.se:443.
     (Closes: #863414)
Checksums-Sha1:
 d83c87e5c130f140267ef69aa6d689a8bf015db5 1819 coyim_0.3.7-3.dsc
 29bcef8956a9a28e3212690d1f7d33b4c2c90431 8248 coyim_0.3.7-3.debian.tar.xz
 fd2fc717aa30729a78a78349379c4f1688ba866d 2476646 coyim-dbgsym_0.3.7-3_amd64.deb
 2d1a7470eedfd40ed9d5b8e032db3b77c9043c8e 13936 coyim_0.3.7-3_amd64.buildinfo
 b3edfe749e94f2d97b96bf148138df97cfb11645 3887392 coyim_0.3.7-3_amd64.deb
Checksums-Sha256:
 6e8125161fc17e1425bb61617dec1b476b06afc98254f494979e98c0fefe251a 1819 coyim_0.3.7-3.dsc
 286fbc5d0c711aefd4b0631d5a50368543b0a5ae69ddc7c30fed8c97e8affde8 8248 coyim_0.3.7-3.debian.tar.xz
 28a476ba5958b45106e75d06538d43647eb9242fb749a456f604560c55840ee8 2476646 coyim-dbgsym_0.3.7-3_amd64.deb
 00d196a71c6190a9c4b9b867b2f673f566f0841265acfb8ccaee2525ff13cfa3 13936 coyim_0.3.7-3_amd64.buildinfo
 a3612f7021256aa3c95157e1e88aee497143f32c2936a5a3752c96ba9f0158e4 3887392 coyim_0.3.7-3_amd64.deb
Files:
 24c9e63c124b0392c7b2638957ca784b 1819 net optional coyim_0.3.7-3.dsc
 d4c737e97c6a2d9a0d8999e5c7e3a1f4 8248 net optional coyim_0.3.7-3.debian.tar.xz
 f42d8ba8e9735d2aaa5f9cd37a13b21f 2476646 debug extra coyim-dbgsym_0.3.7-3_amd64.deb
 16af6076d7496c97b4d47289ad9f7a59 13936 net optional coyim_0.3.7-3_amd64.buildinfo
 bd44335a02f761ecb7f5ab61d4e18516 3887392 net optional coyim_0.3.7-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhFH5F4Fy5+Lcc/eVUfhKj+zKfgkFAlkr5ToACgkQUfhKj+zK
fgmjNwgAhS0eil7qNzVgW7dLX87OsfiX61Ah9m9R+jZVk1aXOwPWwI46BHx0T98E
eV4JgIs57cX731gdDy8pw9qpOG8hshaU4r4izVx07jCO6XFO1tZCTRmB4oIzy4I2
9SLizewNefWBLvddslylgHXOcnui8keAHn+7rcNH1gIO8ILG871l+v14l+Rt71FR
NHF7xAQDjKB1SU8BZL2fdL+OJXPgxWJxWAdT0JiEy4NPKo/wLazMJ2njBGOXraaI
jaurSHbqMyoH3GuWItvhiLCB76At9VNuBobRSX/9SaDTHwpN5JTfMSNgQv/F6NZy
jLk4zLEgnmHW4kvVkYBTIu9j2CndFg==
=PglK
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 08 Jul 2017 07:25:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:53:58 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.