From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 09 Jun 2026 00:47:36 -0700 Received: from mail-oa1-f59.google.com ([209.85.160.59]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1wWrBQ-0001zl-2k for bitcoindev@gnusha.org; Tue, 09 Jun 2026 00:47:36 -0700 Received: by mail-oa1-f59.google.com with SMTP id 586e51a60fabf-441d7a137d1sf2658847fac.0 for ; Tue, 09 Jun 2026 00:47:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1780991249; cv=pass; d=google.com; s=arc-20240605; b=CbykUVrV/Efp3CqmWhi8Qe5hnp7BNJf1VyCuL2xpGbXkn7GYjTJWqsF4UYrargSQOa YB7JK9hnOMBCnPkYnBpIdQQDa+5iMIeDASk+oD3Uq6pDkJdVAQuQYhCHRMHWV0DsDWu3 XzVck8QJt/Mp/T5zlRnkc5KDMfI3U1D7ANm6kcJbgiIqihvJfrmFYIHWW0Hy9MFgWkA/ 5l/R7gnNmLVh2Jbgyp6OpmRuKnAM9bzpzcnoSLIWw/yQFEnE8TPkqZqAhxrkUk4xEmMA t3V8qZfEsVSMhYNuFQCmP9ujFHZwGKFVyNyK9NdV5tUfBd2GVhvXm4y/3sg3CTm/mKf+ kF/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:subject:content-language:from:to :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=xOMsfFK1aTX1i8LonZIUvS0RujUC/Vi6F6f6t+NPz20=; fh=t2vowHKszdHyYPiqAbapSDtsfIkYdFwEdWSRnwj70Pw=; b=Wiof4iuAxQsn3olG9LV9d+Y+k5r9yI6qlHSs6Tb1LDNubOPfqRDcxsFzT8k8UTuodg Q8A/gca4nEz0IZpmMdLNpqei4adcePqkwf2cqghKd5a2XhKrs8bge88xapLQyCIP98Wm UEsq0On+bUYjra8NQlevgY0XmW9Vsa7tTRMXSll8G6a9OGyCulTvSdVhDSAu/vKqvPIx wkzbG5gWAxztdo5Jlj37Ttnz6d3Jk9UnsNPELNdANwpfTCpKWmIIoBihaL7niIwtMMnX JvlwO3jC+5VZSueVJSTzT+pFcMXyDA54miSSpHdXfT6jdJmSgaJDodgYrY1xaLputC9k +fgA==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@msgilligan-com.20251104.gappssmtp.com header.s=20251104 header.b=XsmLGj70; spf=none (google.com: sean@msgilligan.com does not designate permitted sender hosts) smtp.mailfrom=sean@msgilligan.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1780991249; x=1781596049; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:subject:content-language:from:to:user-agent :mime-version:date:message-id:sender:from:to:cc:subject:date :message-id:reply-to; bh=xOMsfFK1aTX1i8LonZIUvS0RujUC/Vi6F6f6t+NPz20=; b=C/yVyEhNVAHBOnewQWgEuPWEFqfGhRV8jP3Kd7XemGiG7wro9Ds2zulelJg+RvAJkJ 6Zr65Wd8wrXQaRxN3FxWFCIPiQrNkVPHNTO6EmkIXqM+UaPjSFIQIq+mTqtUYXoMSGRj LhYp3UIOYj2mPBnG5L5NEn9kWq7dmr+3u8q+8TsCTuKRSyF9iP9J/P/dfyoLwqFtKtKZ 2EAyu5a6MKldwdmxfAyRymgB4KiaOw7hQ7mEIVRcCUP2wGa9e9etYG1Gqeu5PiJd8F4V Xd8Yqd4nU3gFZUloK9hFZBfJviovavxWpjqdc6xXdCNWKUKucL4MNYivYBmH+PCYq/9h ZRVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780991249; x=1781596049; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:subject:content-language:from:to:user-agent :mime-version:date:message-id:x-gm-gg:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=xOMsfFK1aTX1i8LonZIUvS0RujUC/Vi6F6f6t+NPz20=; b=AknY00dumrKbuYne3nbtmc2CJAIV5SYL6Z+nTeeXRpnaGzJFqYWnhv3/5+Yqnwrq4v P+mzlsF6tRhMqjkZ+prPg92/r8DGzmNOImofVZVd8M93Y/fToAw34u9bn6pAQK703b7O DkcN9SnyXPvNwHlqz+8fT+ilf0JkXduvhPPJmD/xScER0TeNb3Og2+L5fkUENs7cL2Kw +0PbpgFbhqwO4P2NOuEFdQwxN8LfTCJDFBOsLOD5RmiiE+SRKxOf5yZdhyIc0in1d9cp Z4mEa5D1Fydnwhf93q4fFDpxGBfuMKE8R75Y69OfwLEw0CqfBAJ/oLg8KzchjAPN6JlN 6skg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ8I6SassHHz3TomQl3YAnJScODwzWayNaAU8ddSLESBrjHwVPs5SPDzbsF1csmQZs53nPfcRqgSzAfZ@gnusha.org X-Gm-Message-State: AOJu0YwW3C/ZlKidZdS+jyqFCSCC2zzPtbAWI3P/dwlpCr8P1OZMKSLA 8pE4v/8Do+VUANQwfKz2NuMYLG1MRxclFeNhJmnykZYPpGvakmS9XlGx X-Received: by 2002:a05:6870:55d3:b0:43d:31dc:a6e2 with SMTP id 586e51a60fabf-4413dc00ed4mr10299888fac.24.1780991249543; Tue, 09 Jun 2026 00:47:29 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="AX0PUUey2BtYPjfkCJTFcQvrZ5KE8PbYbV+GOXSGX90AwnBZKw==" Received: by 2002:a05:6870:d614:b0:43d:8cd:b99f with SMTP id 586e51a60fabf-44109ef138bls4416365fac.2.-pod-prod-03-us; Tue, 09 Jun 2026 00:47:23 -0700 (PDT) X-Received: by 2002:a05:6808:1442:b0:486:560d:aa91 with SMTP id 5614622812f47-4868def71fcmr11073253b6e.19.1780991243853; Tue, 09 Jun 2026 00:47:23 -0700 (PDT) Received: by 2002:a05:6808:668d:20b0:486:3611:b101 with SMTP id 5614622812f47-4868fa6ca2dmsb6e; Tue, 9 Jun 2026 00:02:57 -0700 (PDT) X-Received: by 2002:a17:90b:390b:b0:36b:3ecd:88d2 with SMTP id 98e67ed59e1d1-370eeb1bebamr19837960a91.3.1780988576450; Tue, 09 Jun 2026 00:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780988576; cv=none; d=google.com; s=arc-20240605; b=G1bWkO/OOBbMLsHWPIZuK2cQkCArmmgkrH3+QsO96qrpz2pYYFPugcnao1l4dve9zs 5YaCVDuS0It0teaWyUDPyFcxhpdL53YDizOgqgpglQgMDp6llKEhdefvstYu1AV0zo21 CHf8QX0ajw/jENqgE/lD0xNvHjTMrJp4uK9xX/WZxDoYORW+MKx4RIhmYTOQ8yB5KDiV Zu4HFTLMvUvc40F+oQUCSoMLvADZM7Lrpcc0XKmdUhI3EF76JkuIRL5OT5PSQIgo/fIm T9kYR3OoRq9LGbGilDE+4J/PT3HNeuVu1dIihm5KG9N2nRAVNJu6LHj6+N+o1cTzcrg7 W3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:subject:content-language:from:to :user-agent:mime-version:date:message-id:dkim-signature; bh=crDARRCdU9mtTDTG/7ON1HIvK3zWVPvvMSCudOj+5LM=; fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=; b=BuFGUOD2j5kwoel0Tw+Nj7ZlrHsk24rEJzVLZrfTd/VmaounqYQ9qNgHoYq2T9tOpH aWsJDrrlFpg49fNJsoUQu4BMkOl7RjafBAxj6Jr0cI3ExFmZJDU8M2trLiq8ciARaHwt dXM3jz2sogDKHRfb8qFpyIEFlkXR4/lAe86Q5dQNa17mcLN8eRhi2ubd2fpaWpeE5NGM XOaxkXaSs9hY7KPRAjY83u/AwCGmUyZMYh+3SVKdmF/9LCtjN+GE5oyIKutCRhco7Z7H EKOBTFmNl5idM9vcUazXtMbjPVPK6Fe5xyiHXCYCEpCMwkgGBn5euDztv7z6LQu+POjz NdWQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@msgilligan-com.20251104.gappssmtp.com header.s=20251104 header.b=XsmLGj70; spf=none (google.com: sean@msgilligan.com does not designate permitted sender hosts) smtp.mailfrom=sean@msgilligan.com; dara=pass header.i=@googlegroups.com Received: from mail-dl1-x1244.google.com (mail-dl1-x1244.google.com. [2607:f8b0:4864:20::1244]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-36f69f85cadsi534093a91.0.2026.06.09.00.02.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jun 2026 00:02:56 -0700 (PDT) Received-SPF: none (google.com: sean@msgilligan.com does not designate permitted sender hosts) client-ip=2607:f8b0:4864:20::1244; Received: by mail-dl1-x1244.google.com with SMTP id a92af1059eb24-137dd3b29d5so289605c88.0 for ; Tue, 09 Jun 2026 00:02:56 -0700 (PDT) X-Gm-Gg: Acq92OFshQiWBoGDqx8rvpLxWHhy21BuLQ5TwGr/XpGIwVq0wjNiRkzbswX4N9xIDyd 0z2EcoTl9cDEob+85XrDqyGAgHRxu0O9yinkJHHNg56k2XrMNmWz3NwCVWwa1B9vWhAJzY+Zjhj 2Y6lqjTuuEuKWUUQrbH4p5Z2iTFewO3nhcCOFgPJVFUEW2+p36Kk05/Ki0WCWLDFg8khwGy2c2p uhu3uv2rabIJhXLRrw1s7qzSr7wiiyRADsRoWg9zoa3S9v6JZj/m7OXwIetdeVER0iEvwphVBCz dthNUiYrfUW3XtkRITHbqW5eGsl5O/DRpkdfvoaK7CLxyLXdxQVjNmY0XGOpPYNJ5Yk9I7Icwsi sRAh5nUmH+JmxGI6xy1ZHTUx1jPyz4Xl+skJHDDxZN9SX6Tn2E2Z8hiI9K9Ky6oXHeomtXs9ga4 PhuGFsDNN0pnSTAgVrEJh4C88udHZhlDgAcqE+eLOOYUVHmLJs5Y8M1xJAFmQXMnh5BwdaMIRDd NaYJuN8gCF6Hnt83gZMKQOFj7rXBwkqeluR94EHq4RN X-Received: by 2002:a05:7022:2523:b0:137:fc2b:1ed6 with SMTP id a92af1059eb24-1383087502amr589457c88.3.1780988575461; Tue, 09 Jun 2026 00:02:55 -0700 (PDT) Received: from ?IPV6:2600:1700:87f0:a6e0:a92e:968f:d438:631d? ([2600:1700:87f0:a6e0:a92e:968f:d438:631d]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-137f549bbefsm14828898c88.4.2026.06.09.00.02.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jun 2026 00:02:54 -0700 (PDT) Message-ID: <44b6bccc-c34f-491c-9f8f-fac5045290de@msgilligan.com> Date: Tue, 9 Jun 2026 00:02:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bitcoindev@googlegroups.com From: Sean Gilligan Content-Language: en-US Subject: [bitcoindev] [BIP Proposal] Informational BIP on Low-R Signature Grinding Content-Type: text/plain; charset="UTF-8"; format=flowed X-Original-Sender: sean@msgilligan.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@msgilligan-com.20251104.gappssmtp.com header.s=20251104 header.b=XsmLGj70; spf=none (google.com: sean@msgilligan.com does not designate permitted sender hosts) smtp.mailfrom=sean@msgilligan.com; dara=pass header.i=@googlegroups.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: 2.3 (++) Hi Everyone, I would like to propose a new informational BIP to formally document the Low-R signature algorithm used by Bitcoin Core and many other wallets. It was implemented in 2018 in Bitcoin Core by PR 1366 [0]. The Low-r grinding page on Bitcoin Optech [1] references several other implementations. While working on secp256k1-jdk [2] (a new wrapper for secp256k1 for Java/JDK/JVM-languages) we ended up looking at the C++ implementation for reference and at rust-secp256k1 for a test vector. Since all wallets should implement the algorithm identically (for privacy reasons) it would be helpful to have the behavior clearly documented in an informational BIP. I have spoken with a handful of developers who think having a BIP would be a good idea and it was suggested on PR 13666. It should be short and relatively simple and also have a nice collection of test vectors. What do people think? Any suggestions on what should be included or pointers to test vectors? Thanks, Sean [0] https://github.com/bitcoin/bitcoin/pull/13666 [1] https://bitcoinops.org/en/topics/low-r-grinding/ [2] https://github.com/bitcoinj/secp256k1-jdk -- You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/44b6bccc-c34f-491c-9f8f-fac5045290de%40msgilligan.com.