NetBSD Problem Report #55949
From adrian@mx.aik.onl Sat Jan 23 11:12:52 2021
Return-Path: <adrian@mx.aik.onl>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9F4B51A923C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Jan 2021 11:12:52 +0000 (UTC)
Message-Id: <20210123110745.4DBF527221@www3.kiess.onl>
Date: Sat, 23 Jan 2021 12:07:45 +0100 (CET)
From: adrian@mx.aik.onl
Reply-To: adrian@kiess.onl
To: gnats-bugs@NetBSD.org
Subject: The Profanity XMPP/Jabber client has wrong certpath set for default
X-Send-Pr-Version: 3.95
>Number: 55949
>Category: pkg
>Synopsis: The Profanity XMPP/Jabber client has wrong certpath set for default
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 23 11:15:00 +0000 2021
>Closed-Date: Mon Jan 25 10:11:26 +0000 2021
>Last-Modified: Mon Jan 25 10:11:26 +0000 2021
>Originator: Adrian Immanuel Kiess
>Release: NetBSD 9.1
>Organization:
>Environment:
System: NetBSD www3.kiess.onl 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
The Profanity XMPP/Jabber clients SSL/TLS ca certpath for the ca certs is set to /etc/ssl as default. It should point to /etc/openssl/certs, as mozilla-rootcerts{-openssl} installs the ca rootcerts to /etc/openssl/certs. One has to set the ca certpath manually with the command /tls certpath set /etc/openssl/certs inside Profinaty, to make TLS secure connections possible.
Without this modification, Profanity aborts the TLS connection with: "Cannot get local issuer".
For a better user experience, please set a reasonable default ca certpath for Profanity for the default installtion. I also tested on FreeBSD where the default installation works without this modification.
I tested with Profanity profanity-0.9.5nb2 on NetBSD 9.1/amd64 from the pkgsrc-2020Q4 binaries.
Thank you for your kind attention.
Adrian Kiess
>How-To-Repeat:
Install Profanity from the current pkgsrc quarterly binaries and try to connect with TLS encryption to a XMPP/Jabber server without making modifications to the default configuration. It aborts the connection with: "Cannot get local issuer"
>Fix:
/tls certpath set /etc/openssl/certs inside the Profanity client
>Release-Note:
>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55949 CVS commit: pkgsrc/chat/profanity
Date: Sat, 23 Jan 2021 11:43:40 +0000
Module Name: pkgsrc
Committed By: nia
Date: Sat Jan 23 11:43:40 UTC 2021
Modified Files:
pkgsrc/chat/profanity: Makefile distinfo
Added Files:
pkgsrc/chat/profanity/patches: patch-src_config_preferences.c
Log Message:
profanity: Add explicit dependency on mozilla-rootcerts
Point profanity at the certificates directory installed by the package.
Should help with PR pkg/55949
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/chat/profanity/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/profanity/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/chat/profanity/patches/patch-src_config_preferences.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Adrian Immanuel =?ISO-8859-1?Q?Kie=DF?= <adrian@kiess.onl>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: PR/55949 CVS commit: pkgsrc/chat/profanity
Date: Sat, 23 Jan 2021 13:48:17 +0100
--=-8nJzupMZ8pG+EJSg0caE
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Dear Nia,
thank you for your reply.
I've rebuild Profanity from pkgsrc-current, but it still does not work.
The default ca certpath is now /usr/pkg/share/mozilla-rootcerts, but it
won't work for me with that setting.
Profanity does seem to need mozilla-rootcerts-openssl. When I install
mozilla-rootcerts-openssl and set Profanitys certpath to
/etc/openssl/certs, it works fine.
Thank you for your kind attention.
Sincerely,
Adrian Kiess
Le samedi 23 janvier 2021 =C3=A0 11:45 +0000, Nia Alarie a =C3=A9crit=C2=A0=
:
> The following reply was made to PR pkg/55949; it has been noted by
> GNATS.
>=20
> From: "Nia Alarie" <nia@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:=20
> Subject: PR/55949 CVS commit: pkgsrc/chat/profanity
> Date: Sat, 23 Jan 2021 11:43:40 +0000
>=20
> =C2=A0Module Name:=C2=A0=C2=A0=C2=A0pkgsrc
> =C2=A0Committed By:=C2=A0=C2=A0nia
> =C2=A0Date:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Sa=
t Jan 23 11:43:40 UTC 2021
> =C2=A0
> =C2=A0Modified Files:
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0pkgsrc/chat/profanity: Ma=
kefile distinfo
> =C2=A0Added Files:
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0pkgsrc/chat/profanity/pat=
ches: patch-src_config_preferences.c
> =C2=A0
> =C2=A0Log Message:
> =C2=A0profanity: Add explicit dependency on mozilla-rootcerts
> =C2=A0
> =C2=A0Point profanity at the certificates directory installed by the
> package.
> =C2=A0
> =C2=A0Should help with PR pkg/55949
> =C2=A0
> =C2=A0
> =C2=A0To generate a diff of this commit:
> =C2=A0cvs rdiff -u -r1.6 -r1.7 pkgsrc/chat/profanity/Makefile
> =C2=A0cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/profanity/distinfo
> =C2=A0cvs rdiff -u -r0 -r1.1 \
> =C2=A0=C2=A0=C2=A0=C2=A0 pkgsrc/chat/profanity/patches/patch-src_config_p=
references.c
> =C2=A0
> =C2=A0Please note that diffs are not public domain; they are subject to
> the
> =C2=A0copyright notices on the relevant files.
> =C2=A0
--=-8nJzupMZ8pG+EJSg0caE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEE9UJkhUvo8iOqz0LX1CpGptGZGuAFAmAMGxEACgkQ1CpGptGZ
GuDJrwf+NWsuy+H+kEb4iU+aXRN8R3wPmQgzaBZlzVANmlaLVM2iYla+NAxnqnpA
/I1nsD4r7LrgGP5y+SRdHKUmkDEu49mcqvVpxouBwtxowivOQ56KqGqzpIHENLiB
XszcnSC4FM7vRGf5que30Aam7siokxonMIbjA4zgobndTzSYYEtHqa71JdxgXxbm
OlT6gnJUU/D4xC4QmzHdIrn5pDyp/Vhn3SqfcuIPV/xmspZlSoFYF80Q5A7CB5bD
e0vW6tOcblqtHUMYzkNM4XUItv0oOXHjm5e7jvlEzKT1/ut4oCP3zwR6eQWBUoVB
VVWaavnP5mtx5Q93320TmDASXERVIA==
=GKum
-----END PGP SIGNATURE-----
--=-8nJzupMZ8pG+EJSg0caE--
State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sat, 23 Jan 2021 14:55:14 +0000
State-Changed-Why:
Adrian, can you please retest with profanity-0.9.5nb4?
Thanks!
From: Adrian Immanuel =?ISO-8859-1?Q?Kie=DF?= <adrian@kiess.onl>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, leot@NetBSD.org
Cc:
Subject: Re: pkg/55949 (The Profanity XMPP/Jabber client has wrong certpath
set for default)
Date: Sat, 23 Jan 2021 16:13:57 +0100
Dear Leot,
I recompiled from pkgsrc-current and the profanity-0.9.5nb4 package
works fine.
The "Cannot get local issuer" error, because Profanity cannot find the
ca rootcerts directory, is gone.
Thank you a lot.
Sincerely,
Adrian Kiess
Le samedi 23 janvier 2021 à 14:55 +0000, leot@NetBSD.org a écrit :
> Synopsis: The Profanity XMPP/Jabber client has wrong certpath set for
> default
>
> State-Changed-From-To: open->feedback
> State-Changed-By: leot@NetBSD.org
> State-Changed-When: Sat, 23 Jan 2021 14:55:14 +0000
> State-Changed-Why:
> Adrian, can you please retest with profanity-0.9.5nb4?
>
> Thanks!
>
>
>
State-Changed-From-To: feedback->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Mon, 25 Jan 2021 10:11:26 +0000
State-Changed-Why:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.