From nobody Wed Aug 02 21:58:12 2023 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 4RGQpG6LXbzZq68 for ; Wed, 2 Aug 2023 21:58:14 +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 4RGQpF3VHYz3j2N for ; Wed, 2 Aug 2023 21:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691013493; a=rsa-sha256; cv=none; b=xTVT7KifxoZYqpoOspPX51c2P4j8/UBkjAcp9eaoPwP7ciG7YXtyQ/qOTefC1FvUVHo3IH lR6VeN4RBhUXfw4fvsEFJh3LvUWLljFQ17L6qKDRYocmx9rCPcv6mbF9iYHGmsgW8ny6cT w9vKlBHXLyE24CCFXwmgk9Om4ru2wU0vTelqqRBATxeYyYU4XK7E9b3b0cJJ9556fW9Aak eWyHY00xaXMn4sPEyRgxx0fXxwZQ5+LKN54qYMahlAyf92TWCuSDp5B9AULQeTD2jUdtjc nRw5Fcg5FcZnPcW94/LGTyBKAyRpnSe2GxDGvyatJdTeiZyXal+Qr2fyEmN1hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691013493; 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; bh=3KXtoo17of1yWTLv4tnHz+EZ1mWI1WYhWc3oZvWmMqc=; b=WrMuP93WVYbj7Ne94wYLWrayCsNhIKmw8AsaZ+i1O3Ro90MgItpCjeZRFbbYkyMXW1xO6H WyC94Lnkfzk5AQUjhMxUk9fWHX42D+6iuMnqtVD6suCyCZl+kxmUyBHBHtiqgpMIl7jSXW 21PXp/cGlDRLw1yPkoTVWoFazc2XpLxQzMZGNUbJrWyVcjbocplsKVFfFjfT5ZHxdAyiRM j8vUr0MHnNtTkPt2SI1GgRSXcooF7zyt8sHMMTRu4/3ZNv0QmI+14dtOjyTIF4xQWYfytZ /apgfW0AluZyCBrsa39okcex5k7mqvlbK/leoaJPoCOHNihj09b7aDQTG/wBxw== 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 4RGQpF1f7jzbNw for ; Wed, 2 Aug 2023 21:58:13 +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 372LwBXH048792 for ; Wed, 2 Aug 2023 21:58:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 372LwBID048791 for bugs@FreeBSD.org; Wed, 2 Aug 2023 21:58:11 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 272902] Security: allow passphrases for WPA-EAP to be saved without using clear text in a world-readable file Date: Wed, 02 Aug 2023 21:58:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272902 Bug ID: 272902 Summary: Security: allow passphrases for WPA-EAP to be saved without using clear text in a world-readable file Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com % ls -hln /etc/wpa_supplicant.conf -rwxrw-r-x 1 0 0 1.4K 2 Aug 11:15 /etc/wpa_supplicant.conf %=20 Connection to eduroam works if a clear text password is saved in this world-readable file. wpa_passhrase(8) can generate a 256-bit pre-shared WPA key, for example:=20 wpa_passphrase eduroam If the key (and not the clear text password) is saved in wpa_supplicant.con= f(5) then there will be no connection to eduroam.=20 Keyword: security, however there's no need to obscure this bug report; the clear text issue is well-known.=20 Bug severity: minimal, because this is an enhancement request. --=20 You are receiving this mail because: You are the assignee for the bug.=