From nobody Wed Dec 15 11:37:52 2021 X-Original-To: bugs@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 4F41318F0693 for ; Wed, 15 Dec 2021 11:37:53 +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 4JDYC50f9tz3Dpd for ; Wed, 15 Dec 2021 11:37:53 +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 E6C4F1B5A9 for ; Wed, 15 Dec 2021 11:37:52 +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 1BFBbqZZ025109 for ; Wed, 15 Dec 2021 11:37:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BFBbqFL025108 for bugs@FreeBSD.org; Wed, 15 Dec 2021 11:37:52 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: bugs@FreeBSD.org Subject: [Bug 260138] TPM2 Support in bootloader / kernel in order to retrieve GELI passphrase Date: Wed, 15 Dec 2021 11:37:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: feature, loader, patch-ready, security, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: s.adaszewski@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639568273; 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=NNgFdPGk0ArziiMxWTSRbIm7yfdi5M2ZRs2p7alGUEo=; b=NX3ENtBoJc0gfP+XXD800PC4aVYEEDERwxtBLpOGO2Sau7EqyHIocDQJ4Jhhi/1uVM3OsF W2g42ySU2Ff6vlepfWWcrghVsQZYgI8tOEm9PPIIbtZvoDw+d+KMw+dBf23vg95RDvW9xc ZPoh0ySh0zQkP3N+PpzgIsfS/qNgcO3hRzuUoYs0iP4Tp6ud7mUsS0b5AGAAVZ8RDB9N8Y RQ25BN/q0H+xumRuXmggJL0P9qOkOqAP2KReNzitsiVN3TwuHtHu6bigHTzekdgH6R6zx7 hgtKQRVorV5l+8xq8sq4Jfnu+9YXHathjREeOH3s6P7uWkigVhsKkdQnj3+VRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639568273; a=rsa-sha256; cv=none; b=nNSJ+H3buBxIPIYnCsWOwRqppJznYIODtJM+1XKgcuAM3c12CjwqCwLgJ33QfviG4ghsQ/ Ex0YVGwTg6+DyvFCcZPc2mVI5Osl/aXHuuiGk5W6QTyLems+t1Rmmk943IHdItYenktE07 5zbCG6B3pkDb8HwDjG5xjnUKgE0JBrQjXXBuX080J0J7lXf0UEMi2QTlSjSJJoJ64A8++N y+jhnqInqwdERE41HzFZn+sTFuZYcYUcGY0bSyA7aGUlqthbKwUSm/2Flqc8IRjmvHaA/v dZQd3Pjfwfj9EB4IHCFmlR/5kdg6zyM+SrplLI49zw+BczSTRCFfT7xn+hR5YQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260138 --- Comment #1 from s.adaszewski@gmail.com --- Added hard-coded PCR Extend on PCR8 to secure the case when the passphrase = is stored in the TPM but not retrieved. Bootloader permits the boot of an arbitrary environment if the passphrase is not retrieved (i.e. no /.passphrase_marker check), therefore it needs to be ensured that the policy protecting the passphrase NVIndex includes PCR8 and therefore denies future access in such a case. --=20 You are receiving this mail because: You are the assignee for the bug.=