From owner-freebsd-fs@freebsd.org Wed Aug 22 03:22:45 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA66F1089E9E; Wed, 22 Aug 2018 03:22:44 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 540D37DCE5; Wed, 22 Aug 2018 03:22:44 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id e23-v6so335180lfc.13; Tue, 21 Aug 2018 20:22:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K4sxYQFtk0zvnwlbCDWB5N32seFVM3EPQZHj3QZsVvc=; b=egcGw2pCFMOrZAgUzOAvGgiy80Qey8XVaQYmXzDhz9k6tqgNnGxG871O1bugqPJsXh E20H81fLbMpqRSPct2XD6I4mbS+HvwtESqgferFA7oYwM09ef8CUMTxKexqJE94/QmeJ vG2MAi8f1qnkuS24KPgZTUuKjOjrqvFLQkYzOAtmSNNLK2kYHgTDF+KB1msMbjgs3qBh PPrlBy+JXtboZqsP3IO4Vy8/oRfgaP+hPxcBibBT6PWXBLPRYzHQzENzUZoTdA+gsaaY iXiR2iu0lMTjgplU0fpQTDRuFhMCS+MfVLA45ItTVZam5ydIn9f0/sBg4RIUQQOl+Wia ltMw== X-Gm-Message-State: AOUpUlHIAxc4bEGqeMEmpk34xDcYUZP0E+hsQbux7xflIZPUn0CvYclP 8R68U9KB1Q4SFEuEmll10LJ4pRx9GvnmB/Rhz6Y= X-Google-Smtp-Source: AA+uWPz94t+P7yEp+c+IKPUUNpMzreD77WvNuc2a2szQz2dqWEhzHqXJ4PhDV5libp7VLnRzJUVCJ5ARSfO0Ky8308U= X-Received: by 2002:a19:c94a:: with SMTP id z71-v6mr12897641lff.34.1534907785971; Tue, 21 Aug 2018 20:16:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Tue, 21 Aug 2018 21:16:14 -0600 Message-ID: Subject: Re: Native Encryption for ZFS on FreeBSD CFT To: Sean Fagan Cc: Matthew Macy , FreeBSD CURRENT , freebsd-fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 03:22:45 -0000 On Tue, Aug 21, 2018 at 9:13 PM Sean Fagan wrote: > On Aug 21, 2018, at 8:11 PM, Alan Somers wrote: > > The last time I looked (which was a long time ago), Oracle's ZFS > encryption looked extremely vulnerable to watermarking attacks. Did > anybody ever fix that? > > This isn=E2=80=99t Oracle=E2=80=99s implementation, but I don=E2=80=99t k= now how compatible or not > it is with it. > > Sean. > It wasn't just an implementation problem, it was in the design. IIRC, Oracle's encryption allowed encrypted blocks to be deduplicated. There's pretty much no way to defend against watermarking attacks with such a design. Does the new encryption design have the same flaw? -Alan