Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqYlq-006rCD-4T for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 14:33:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tqYlo-006Gt8-Qm for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 14:33:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqYlo-006Gsu-Fk for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 14:33:48 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tqYlm-001VQ8-10 for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 14:33:47 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-ac25313ea37so178045466b.1 for ; Fri, 07 Mar 2025 06:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1741358025; x=1741962825; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=TEwc332KEY0+ZLgF+WJz4owWH7gg8ZMesGGcnxKy6i8=; b=UuY7kG4Jb9AaQlyIBlaIys/yIRNMh9QrA6ZhESNfa16EVLnRz1OibftxbZdT29I+3H CkUTHJZlP6Lf3dqP+c76l65P+VQaFfCtQDKopFJBgOB/8YPyc2hrssJOg9NdQoamTlHe 85RNmB9WGC3VzXCuhihuhql0vwgBFlMGO65UV2WgS59UAF037dIaqtFkb1hApqMAep01 myD9OxRKMg28fBp3uncmPMsFKop102Lo+3ZequN+7gN9MW6UXfp0c5bSLTpFE0IkSqWU Q97Gzmb7kz/nOEGeJ5orY79T4xM1o133oyFNbLDZdGCfLJYkxelvGmhFMOZaUymAL4yA hZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741358025; x=1741962825; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TEwc332KEY0+ZLgF+WJz4owWH7gg8ZMesGGcnxKy6i8=; b=TexdFXmzGUGrRZBg9ywjWGRhQO4sbQxxTtvENsyFPV2OYPBLRDH4wMHRQmkuZfU/XT SAQJDGVwX09I04KJJcXYO05JHk5OMA7uWL2RCE4sBIp9k89Rqa/C90+9Vh0X9iwdsmQq Dugv9r0pF6szDHWm/m94brQXzI1W3nbFf2AAH4/A8orieVGJynW7RSLXVTPOWV8menbz KhrZdrjvtIU5Qmw8YnJfj1r2fa6CVA0MkWDlFIHjX5me5JYOROzf6D6ldzcZ5V6GIHbj sbSRGz8t6T2dr7BIjGzfiWXPh04Fnd/Azhrv6Gu8z4QmmOHI2MP/Jh2UnQrAikeFHnJM MlKw== X-Forwarded-Encrypted: i=1; AJvYcCXf3NeQQkMCa0LwZvd/54wKnGmMU2uVbTa8GnWEQ+aZFmiZTfIu6OrdhbyED9NlTTCUEdu95tsv42wFZhWN@lists.postgresql.org X-Gm-Message-State: AOJu0YzbteCWoqN/Ft/qyndMBHUM9ZrXGTkbzoXnPOhiwHShBkJlZXn4 cFU9JHXgIMrJR8ih76RpY7Ui8dD0kWNAUEuoAqeLE5Ds44dj180XcJOsljuPC28= X-Gm-Gg: ASbGncui9vLpf9t3OyEvK8+8OYk74Z48yXbaonS4wW+39XtHGL/4/ljHOggf4pOX3qm yaJCCQ0J2yzHQcc0QbdD7NXpWnYkPldf/82nJSuXNyWnfvdKFfDuZiPA6WBJYY00lEj+MUtU3CA i7VlyF8Tfjv7hZIyEeP2+dFAesa7pVejsd+Aqw0x44XUBAzsrURtwyVbiuaZSf1pkCwznGJO95p BZlfcMjBHkV7BkcHY30NOoypVYi+V7um1Yvw1w2gXnTpWdsZ6Sx1sRM336UjqN7mfUMaYZHGbqQ g9RTxvjsJyYNkakiYTAV4SCCKKMWmACzH10k42hDS7PkX/NvoK2Jm7Q38n+xavEG X-Google-Smtp-Source: AGHT+IHaUckE/Tc4hEJ6EP7dArFYbObixXwieZTe85J7w3n0rRbERuqCalohcaI62STgUfqdYzQsMg== X-Received: by 2002:a17:907:97c6:b0:abf:4c82:22b1 with SMTP id a640c23a62f3a-ac252738126mr389338566b.32.1741358024984; Fri, 07 Mar 2025 06:33:44 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:e9fd:b68f:5322:ef8f:d286]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac2394feddbsm280934066b.76.2025.03.07.06.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 06:33:44 -0800 (PST) Message-ID: Subject: Re: [PATCH] New predefined role pg_manage_extensions From: Laurenz Albe To: Robert Haas , Jelte Fennema-Nio Cc: Michael Banck , PostgreSQL Hackers Date: Fri, 07 Mar 2025 15:33:43 +0100 In-Reply-To: References: <65a1524e.050a0220.49266.7670@mx.google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2025-03-07 at 09:17 -0500, Robert Haas wrote: > On Fri, Mar 7, 2025 at 9:02=E2=80=AFAM Jelte Fennema-Nio wrote: > > The reason why I walked back my comment was that cloud providers can > > simply choose which extensions they actually add to the image. If an > > extension is marked as not trusted by the author, then with this role > > they can still choose to add it without having to make changes to the > > control file if they think it's "secure enough". >=20 > Hmm. It would be easy to do dumb things here, but I agree there are > probably a bunch of debatable cases. Maybe it would be smart if we > labelled our untrusted extensions somehow with why they're untrusted, > or documented that. >=20 > Why wouldn't the cloud provider just change add 'trusted =3D true' to > the relevant control files instead of doing this? That's quite true. Perhaps the patch should be rejected after all. Yours, Laurenz Albe