From nobody Sun Sep 29 15:57:11 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XGpk0121yz5XqrF for ; Sun, 29 Sep 2024 15:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XGpjz4dHXz4tZ5 for ; Sun, 29 Sep 2024 15:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727625431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K2Uxm0gH9X5EmLnKLuN02i4JOWs7Aj/5w8JG+fpz5ZI=; b=GUCesmSvYkOzqgoWlQElBIOO8AipBZVEariXszMxbBCJlMWuCZER6dPWAb2v6MUC+emqZN xclecaA0BMAseDHJcI5uMWmD2OtwvQOhmcDWG/B3pMDUij7MHMd7vuXE6OEfreb4s12G/m JUwQ+jhTHG7+qz3FbQu4Vm8Fb975YF20wJ+eoQoqOuCAsI0tni6Tlc0DUKU1viouks5Kdp erxnVjI87Gt4WXQC9nQ3Y70LmRvGhbxXJRqIN9sXu0R/D/H0f4kB850PK8htRbKeQOhgy9 dJygmevgqe9xcovGzHtNuuKXv50elF5ttvF8j/WMKU7KlfL6qLx9oTKHfwrdVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727625431; a=rsa-sha256; cv=none; b=htv0R67yQBlAI1QA9tOPtGIOTffrwSvqsRCS8K3oj1Us5ARToAri2lcoWosmvNvaJxUu4b pZu/4rB1qi0XPnvz91jj7khe09MB7Wx/n4GHEkAK9QlNGh7gDMVAUOivTmBx7Grhg/HWas F9X+LUYvtgqfXUNFH9GsAJjr39PVy7T+AP8M4piPVbzohNX43HumdLxKBY7gtZ+KOGSdHg lrhE0ZQAqlh/YlnHwwxFMJBnKrpL5YCs6Ly02DzuodaKWPoyt2vEBxmYOP+2sDBhCmy92X rHdh36Yxw6cok8eroyIMRyDJLl6SO4XCSTh/wH6p6xmmIlvq5EO0aN4oM976+A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XGpjz41JVzFJs for ; Sun, 29 Sep 2024 15:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48TFvBsq076610 for ; Sun, 29 Sep 2024 15:57:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48TFvBHJ076609 for ports-bugs@FreeBSD.org; Sun, 29 Sep 2024 15:57:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281761] net-im/libpurple: add patch to handle ssl certificate chain on libpurple / pidgin Date: Sun, 29 Sep 2024 15:57:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rodrigo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: marcus@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281761 Bug ID: 281761 Summary: net-im/libpurple: add patch to handle ssl certificate chain on libpurple / pidgin Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: marcus@FreeBSD.org Reporter: rodrigo@FreeBSD.org Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org Created attachment 253890 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253890&action= =3Dedit use the SSL_PeerCertificateChain function, instead of SSL_PeerCertificate Hi, The ssl_nss_get_peer_certificates function in libpurple 2.x.y assumes that = all intermediate certificates from the peer's presented chain can be found in t= he NSS certificate DB. This is not the case in NSS 3.103. This patch is required in order to add a new port for *MS teams* support in pidgin. This patch[1] replaces a call to ssl_nss_get_peer_certificates by SSL_PeerCertificateChain who retrieves the certificates presented by the SSL peer.SSL_PeerCertificateChain has been in NSS since version 3.15.4 released= in 2014. Additional references: https://bugzilla.mozilla.org/show_bug.cgi?id=3D19130= 47 [1] https://issues.imfreedom.org/issue/PIDGIN-17886/Certificate-verification-er= rors-with-NSS-3.103 Cheers, -- rodrigo --=20 You are receiving this mail because: You are the assignee for the bug.=