From nobody Wed Jul 27 01:25:39 2022 X-Original-To: doc@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 4Lsx1H3fKlz4Xrk6 for ; Wed, 27 Jul 2022 01:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lsx1H2BlGz3ngd for ; Wed, 27 Jul 2022 01:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lsx1H14sdzysW for ; Wed, 27 Jul 2022 01:25:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26R1Pd3n070177 for ; Wed, 27 Jul 2022 01:25:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26R1Pd5F070176 for doc@FreeBSD.org; Wed, 27 Jul 2022 01:25:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 265433] In geli section, add explanation to data integrity management Date: Wed, 27 Jul 2022 01:25:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: clear.screen@orange.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658885139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fis897wYyShDDPVE99KmdK1n7ETPGfNbN2INRZ5AgKk=; b=OHJOWQb4RCb/yrwBHdR2LxUQJKaPcRlNNhs8L7Sd4JKqjXXvLsVOjWZy5zaT0PSMRwv4e5 0kKVOfYb1Zz1HMuSx/65Fg5SRMSU/MzI6ge94+Qodeuj1uhjOpngKld8BRhaxHERg7QhAe pRq43pq6XkFdtP5tI5HUn93UPY+m5vXBI+vsUVTXWJbFSTr8DtoS+50ydxIMvEjKhrJzoz x270JiAdN4N3t/H/G1v5F/iw4NUuFwIeHvSZZQmtH3GtwYbkGQCxkG9EvZnSIqa3WrqLiD UtfVCXlOzcaUqFr+mMhxT8iz6vwzWgDMN+cKJvwDISetKtOTg3gPERAfpRTdyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658885139; a=rsa-sha256; cv=none; b=B9Ix+Zd7t9HOIWaZPmVyC/BOk4ubb1qj7hmFAiRX85zUbNAFCWWYCo3hxX0O8nZQaZT8wu 0h0xGW1gai4T2VIodM040zPgymBDTt9scHL3WRTokcfIJam1CkhYo5t3yR+0qj7fg3Pbgu +QuFtb+4UvaP3wCHs+Bkc8+/CpOxjRzK/K0+GiSAhDhNuJ5z/ZKqDheVLhsHXw9ihsdihm rnOsPjWfhkQ9qugIScox9IwTjulHOJsldSFQfsp90AIZt9GGsHiKR4p/Ul4Kn1YYTrlmVS eEegV7qteoJUmCXo7Ehs56GZLsKOK5zCMtieImN6/26mBQj7LQ0Kd4jGmEwW0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265433 --- Comment #2 from clear.screen@orange.fr --- As the GELI manual page [GELI(8)] say : the additional option -a "Enable da= ta integrity verification" [...] "If the option is not given, there will be no authentication, only encryption." The encryption/decryption process provide confidentiality (prevent non-authorized people to grant access to the data). Such algorithm with cryptographic mechanism ensure that encrypted data with genuine encryption/decryption key(s) will be decrypted but could not offer any guarantee against data corruption at storage layer or during computation. The whole data integrity process can rely (in sequence) on=20 - checking and correction mechanism of the hardware storage unit (in case o= f a silent hardware failure) - data integrity checking mechanism of the cryptographic layer (in case of failure in hardware or software implementation) - finally, on the data integrity checking and correction mechanism of the filesystem Any failure on this dependency chain will lead to data corruption which is = not related to an attacker but to hardware/software failure. In the case of the media itself does not report errors (damaged flash devic= es for example), altered encrypted blocks will lead to corrupted data output.= =20 Thus, retrieving data (if it's possible) will only rely on the filesystem capacities. Having data authentication enabled on the encryption/decryption layer would allow warning at early and low-level stage. --=20 You are receiving this mail because: You are the assignee for the bug.=