From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58472: [PATCH] Make `message-unique-id' less prone to collisions Date: Thu, 13 Oct 2022 12:10:19 +0000 Message-ID: References: <87tu486j66.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58472@debbugs.gnu.org, Paul Eggert To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 14:23:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oixFh-0004sI-CO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 14:23:53 +0200 Original-Received: from localhost ([::1]:55420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oixFg-0001kZ-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 08:23:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oix3G-0003OK-7J for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 08:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oix3F-0008QJ-Nw for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 08:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oix3F-0002e5-I8 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 08:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58472 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58472-submit@debbugs.gnu.org id=B58472.166566302910111 (code B ref 58472); Thu, 13 Oct 2022 12:11:01 +0000 Original-Received: (at 58472) by debbugs.gnu.org; 13 Oct 2022 12:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:59853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oix2i-0002cz-Ps for submit@debbugs.gnu.org; Thu, 13 Oct 2022 08:10:29 -0400 Original-Received: from mail-oo1-f43.google.com ([209.85.161.43]:45954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oix2h-0002cb-0R for 58472@debbugs.gnu.org; Thu, 13 Oct 2022 08:10:27 -0400 Original-Received: by mail-oo1-f43.google.com with SMTP id s1-20020a4a81c1000000b0047d5e28cdc0so1157399oog.12 for <58472@debbugs.gnu.org>; Thu, 13 Oct 2022 05:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qn3wRAs/PEu3KxmZigE2KUXKOqIhoN7XVuBOqt7t6JQ=; b=HC/m9D/kUrf9OQteUi+tMp9cpNDb3VOJpRrTJiUT7nSLrlJ4X9ZuH7q//yA9NldCZ5 vd03x39jxwSSeVMjM/tIw/pZAa7xuLA1eyrx1MvEqufxm3wMr5uEjwDHdt8NMwIJxTql tRQzWVgzVCXgKIlP8+6lS1g7uPNHsE2Bxd5oolBp4DDZTEVUOdqJlHLDSPNQFF/7cw2V JIMDovpJViU+xPLrTwPZNMAplHXbXeQ0Y0jwNaIdt0p0MXsM8/iDOeAPyCvcGOqYLev0 tVWWTEtIxnyx1VB+K9QVt/HCCuhwpgmfDxRze5V2xMr59DSiuOf0/T7FpnV+cpyIpyNc /Vmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Qn3wRAs/PEu3KxmZigE2KUXKOqIhoN7XVuBOqt7t6JQ=; b=e64T3kgVkIzby3bjBFrduhQKO2cURKT7p2omRzQmU/Gbs07E2HhP4UcR5EZ9r5R3Xn fJ4ADJWZ8R1dpEfF0GaWPiEtDeBLfZ+8HjTsxpcNjhCtY4MqFRQOQx2Rd2XirvW8A3VY ugvjsUdJD+/rFRJwHw5M15e6rfB6heXPJiFOQ4J31Sl6O3p+i/azchmLgX6IK/KsuEo4 WT7GBwtW3MIUvEfWgdEqVPNoGZYHUhBqkolc0cSwYFkTZtIzoAKH4sLqcavvO4qBpV56 hMsqMbcrX+zlAf+dO+VUOBKa/VcEeTRQB5ICux/mfQ/Uonr4i1mca5qtlhd3h1bWnssJ UMQA== X-Gm-Message-State: ACrzQf1GFGvXVLDjVZyvWCrtxK8X41XYy+YcT0xQkk9jP3NII4lCkqqY M6U5qGPnDRr6NTg2D2XyQrWC/dV+KDRG8Fg5f40= X-Google-Smtp-Source: AMsMyM7DEE6Vw6+PpzR1IUCSbegaMi0KL6KOpPpey3ydEGyB1uLoTTTEHfCfLJUblYvt4IKC0rqZYPf+gaQBPj2Euxs= X-Received: by 2002:a9d:4003:0:b0:661:b434:7e95 with SMTP id m3-20020a9d4003000000b00661b4347e95mr4877468ote.224.1665663020201; Thu, 13 Oct 2022 05:10:20 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Oct 2022 12:10:19 +0000 In-Reply-To: <87tu486j66.fsf@gnus.org> X-Hashcash: 1:20:221013:58472@debbugs.gnu.org::6mEUZJxtEA3b9zOY:3AA6 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245299 Archived-At: Lars Ingebrigtsen writes: > It's documented to be this way, though? Hmm, right (from `(message) News Headers'): =E2=80=98Message-ID=E2=80=99 This required header will be generated by Message. A unique ID will be created based on the date, time, user name (for the local part) and the domain part. Actually, the user name is currently only used on MS-DOS, AFAICT. So I guess the documentation is already wrong? > Well, since it is "87" on most machines, it's not very leaky. =F0=9F=98= =80 Until your name is "88", of course. ;-( > That is, we've got tricks like being able to score on References based > on your Message-ID to score up threads you've been a part of, etc. It seems flaky to use it for such scoring purposes though, as almost everyone is named "87"... Do we really have code that does that? Should we care?