From nobody Wed Sep 13 11:33:39 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RlyyF6mtKz4t263 for ; Wed, 13 Sep 2023 11:33:41 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4RlyyF0JrMz3CqN for ; Wed, 13 Sep 2023 11:33:40 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from [192.168.1.178] (host86-167-39-89.range86-167.btcentralplus.com [86.167.39.89]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 38DBXepR095655 for ; Wed, 13 Sep 2023 12:33:40 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <5d265cdf-00df-fc80-638b-84b13f1cbbbf@fjl.co.uk> Date: Wed, 13 Sep 2023 12:33:39 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: Is ZFS native encryption safe to use? Content-Language: en-GB To: questions@freebsd.org References: <0e7d2657-f857-01a8-f764-33b9c62c11f1@netfence.it> <6b741e03-732e-f1b8-6340-0a8897fb8235@gmx.at> From: Frank Leonhardt In-Reply-To: <6b741e03-732e-f1b8-6340-0a8897fb8235@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-Spamd-Result: default: False [-0.14 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.96)[0.959]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196:c]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MLMMJ_DEST(0.00)[questions@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[86.167.39.89:server fail,84.45.41.196:server fail]; DMARC_NA(0.00)[fjl.co.uk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4RlyyF0JrMz3CqN On 24/08/2023 13:08, infoomatic wrote: > On 24.08.23 00:43, Dewayne wrote: >> Thx for the performance hint.  Were you using the same cipher on each? > > Yes, I have tried various combinations, but the difference was so huge > that I did not let the benchmarks finish cause I felt it was wasted time > and resources! > > >> On 23/08/2023 5:34 pm, infoomatic wrote: >>> last time (when 13.0 was released) I compared them: >>> >>> *) GELI + normal zfs was significantly faster than encrypted-zfs >>> *) encrypted zfs to share files between Linux and FreeBSD did not work >>> properly, resulting in Files non-readable on FreeBSD >>> Might be obvious, but I should make the point that if you use GELI to encrypt anything on FreeBSD, Linux won't be able to read it so it's just as much of a cross-platform problem as ZFS encryption not being portable. Another observation on the use cases - if you're backing up encrypted ZFS datasets the backups are encrypted; if you backup from GELI they will be clear unless you encrypt them again.