Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRxZK-0003PX-Ls for pgsql-docs@arkaria.postgresql.org; Mon, 03 Jul 2017 09:22:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dRxZJ-0006wD-VU for pgsql-docs@arkaria.postgresql.org; Mon, 03 Jul 2017 09:22:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dRxYx-0006If-TF for pgsql-docs@postgresql.org; Mon, 03 Jul 2017 09:22:35 +0000 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dRxYv-0001E5-RF for pgsql-docs@postgresql.org; Mon, 03 Jul 2017 09:22:35 +0000 Received: by mail-lf0-x22a.google.com with SMTP id h22so99023323lfk.3 for ; Mon, 03 Jul 2017 02:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=weqjCE7m+qhGHQiT50yLSYA++YzKPlWzpRyzv91egkE=; b=fivjmxN7sO5n5xj+k1rFULtyTnCnGVwz/0OeT/ttONQuwxtcj95wJpLfTxzMYMoFBZ qTRSkb5shK9ms+1QPeVCMI1R4SYk4tCzBaLlV6JtJ1N79TKYQr1kErEVpxBuAA1luDKN rM6xRYz9AtRhS2MSkCC/Y9BqM5iL9/9gGHM5Zr8v6QF2G+5LliC6QyKlL1YdlqTotSjr rcNqV0KyZT7liA0/ebVCI2lPeUnctx1xVPCyMfnCQbPZKLulmHexwKh9U+bjYi13DSaL AnzxPxBOqOCVVSDD0KGAPEY8ShRZdd+5opsK4mAyWIq8m1I+Wz5nylh0arJd6lsi0LjA XtTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=weqjCE7m+qhGHQiT50yLSYA++YzKPlWzpRyzv91egkE=; b=FgmpwfOIlsRng+L3nMxBJoebam93qs44L/dqqzyC+gDGR1M4O2/6Ypvu5otFzSmVIs ghbrQ15w/c1cyr8ekbDzrV44lvBBLd4Wqvjya1a4/rlbVGzjLHCiZpOs0vXmuev4TNou +pxuzq8SxNGyGpr0B5KYp7n2w/9F1NUZ6Ln2gVKu7HZgsjtIoOn8nxpT8AqMzipJFr8s QFvfe6nSyE9d/lmL681EA8Ly71nazbT0947EfDHand2wd/fTDc1bPiqsDIkRIDGbMm2S EvT93xI8xC5bP/BHDXkudrHue+seJg691PNdGqgWeBbqcoLsxixXpWvslTX03ffu3DSH rkow== X-Gm-Message-State: AKS2vOzHvsVGtRwMwneDEX/W7U6B9gWF2oKZzUZVQIr8OJCIuVBBSYVS NV+R18yAAoAg2okg X-Received: by 10.46.0.170 with SMTP id e42mr10299934lji.25.1499073751915; Mon, 03 Jul 2017 02:22:31 -0700 (PDT) Received: from [192.168.43.229] (85-76-77-249-nat.elisa-mobile.fi. [85.76.77.249]) by smtp.gmail.com with ESMTPSA id 136sm3097850ljf.29.2017.07.03.02.22.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 02:22:30 -0700 (PDT) Subject: Re: gen_random_uuid security not explicit in documentation To: Michael Paquier References: <20170101232054.10135.50528@wrigleys.postgresql.org> <22b132fc-e7cb-f40b-aa8e-7a54da41bf96@iki.fi> Cc: rightfold@gmail.com, pgsql-docs@postgresql.org From: Heikki Linnakangas Message-ID: <7aff5b9c-a7f2-96cd-0739-d2808cc3508a@iki.fi> Date: Mon, 3 Jul 2017 12:22:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 06/23/2017 04:23 AM, Michael Paquier wrote: > On Fri, Jun 23, 2017 at 3:02 AM, Heikki Linnakangas wrote: >> I'm inclined to change gen_random_uuid() to throw an error if the server is >> built with --disable-strong-random, like gen_random_bytes() does. That way, >> they would behave the same. > > No objections to do that. I guess you don't need a patch. As this is > new to 10, I have added an open item. Ok, pushed a fix to do that. Thanks for bringing this up, Radek! - Heikki -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs