From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=goffi.org (client-ip=51.15.21.97; helo=cete.goffi.org; envelope-from=goffi@goffi.org; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=goffi.org header.i=@goffi.org header.a=rsa-sha256 header.s=cete-goffi-org header.b=K1I2oytB Received: from cete.goffi.org (cete.goffi.org [51.15.21.97]) by mail.toke.dk (Postfix) with ESMTPS id E4F9BA7B0E5 for ; Mon, 22 Jul 2024 20:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=goffi.org; s=cete-goffi-org; h=Subject:Content-Type:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=705noJGYTkGOTwWYbdjE3RLQYdgpkvqf8Q6c9Uwie6s=; b=K1I2oytBwyPmsnig1HjcfSn18L IGJPLTMMM924EDBKf8r67WEh/X/8VkJN3C+RQE3zAZlAKDHKvcYZ+gQR61ZWV50FfvoFjo7yGnBnw WsYx4DjUrHQvf2l7L1jlDqqlfyGqE74wx0w/GRR1PlN6DSIGEnlRfSYe8nh8FM9+w83k=; From: Goffi To: galene@lists.galene.org Date: Mon, 22 Jul 2024 20:02:54 +0200 Message-ID: <3313364.aeNJFYEL58@tazar3> In-Reply-To: <871q3le2l3.wl-jch@irif.fr> References: <172167026848.994.7816686770190093792@gauss.local> <871q3le2l3.wl-jch@irif.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3319694.44csPzL39Z"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-SA-Exim-Mail-From: goffi@goffi.org X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on goffi.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL autolearn=no autolearn_force=no version=4.0.0 X-SA-Exim-Version: 4.2.1 (built Wed, 06 Jul 2022 17:57:39 +0000) X-MailFrom: goffi@goffi.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: WYY3ABZTKXD2HSUMPHGFI6VUSKOOGWYV X-Message-ID-Hash: WYY3ABZTKXD2HSUMPHGFI6VUSKOOGWYV X-Mailman-Approved-At: Mon, 22 Jul 2024 20:21:04 +0200 X-Mailman-Version: 3.3.9 Precedence: list Subject: [Galene] Re: Need explanation on protocol List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --nextPart3319694.44csPzL39Z Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Goffi To: galene@lists.galene.org Subject: Re: [Galene] Re: Need explanation on protocol Date: Mon, 22 Jul 2024 20:02:54 +0200 Message-ID: <3313364.aeNJFYEL58@tazar3> In-Reply-To: <871q3le2l3.wl-jch@irif.fr> MIME-Version: 1.0 Hi Juliusz, thanks for your quick answer. > [SNIP] > > But as you can see, the ID is the same, `06cf28c8-95b5-4c22-9444-1f0d4e= 5a2938`. >=20 > The ID is chosen by the sending client, and should be chosen so as to not > collide. The simplest solution is to choose it randomly: >=20 > https://github.com/jech/galene/blob/master/static/protocol.js#L45 >=20 > How are you generating your ids? I'm choosing it randomly, but the only time I'm sending an ID is when I'm s= ending my initial offer to Gal=C3=A8ne, and later on when Louise connects, = it re-use the same ID. My code is available there: https://repos.goffi.org/libervia-backend/file/tip/libervia/backend/plugins/= plugin_comp_conferences/__init__.py#l130 The `session["id"]` used there is generated randomly with `str(uuid.uuid4()= )` (https://repos.goffi.org/libervia-backend/file/tip/libervia/backend/plugins= /plugin_xep_0166/__init__.py#l572) How can I specify the ID to use for downstream, i.e. the offers that Gal=C3= =A8ne pushes to me? Thanks, Goffi --nextPart3319694.44csPzL39Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEsNZvWyEnjW9SVudbKqmcu6xuKwwFAmaens4ACgkQKqmcu6xu Kwwc+wf/Zp+Q6F91UehqRTiq6eA+zpk0/ATTrSFYgDdsalNI2vQKdmlYidUaI3SN 8+jOW75E3PgDn88yu76TL3SdbyEc1n7zWSJM5+OPC1EjNCcAHevX8iRc2II2rv8A cJ5MMYsLjZ/pZcEdDo3xqLQk4K9Wyv8yBozofiMjic5VZvlS4LQH7yMeLWo1JT7O B2W6AdemN5AE8mpYT+Ar1a2s7+EHENj0SwWbUPTpt3SIksONXBskWZcSA446yNuu /QcSXgO3fRY9RVqwH+rq8/E0027p+OpvKMyDEYJ8basTHrq4Q9bMHktJhJMhwRZj lbxQyWMXRrwXfo8zrBcuZnnLhtabLg== =tzcS -----END PGP SIGNATURE----- --nextPart3319694.44csPzL39Z--