Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
@ 2023-02-14  2:52 dkwo
  2023-02-14 18:50 ` dkwo
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dkwo @ 2023-02-14  2:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages w1
https://github.com/void-linux/void-packages/pull/42248

wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
- I tested the changes in this PR: yes
- I built this PR locally for my native architecture, (x86_64-musl)

This allows to use an external file to store passwords.

A patch file from https://github.com/void-linux/void-packages/pull/42248.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-w1-42248.patch --]
[-- Type: text/x-diff, Size: 1312 bytes --]

From 8da6f52393cbda060cd1eec573fc77b87f6120ba Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 13 Feb 2023 21:08:47 -0500
Subject: [PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y

---
 srcpkgs/wpa_supplicant/files/config | 2 +-
 srcpkgs/wpa_supplicant/template     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/wpa_supplicant/files/config b/srcpkgs/wpa_supplicant/files/config
index 9bf3739d1963..b6ee819a17f8 100644
--- a/srcpkgs/wpa_supplicant/files/config
+++ b/srcpkgs/wpa_supplicant/files/config
@@ -531,7 +531,7 @@ CONFIG_WIFI_DISPLAY=y
 # External password backend for testing purposes (developer use)
 #CONFIG_EXT_PASSWORD_TEST=y
 # File-based backend to read passwords from an external file.
-#CONFIG_EXT_PASSWORD_FILE=y
+CONFIG_EXT_PASSWORD_FILE=y
 
 # Enable Fast Session Transfer (FST)
 #CONFIG_FST=y
diff --git a/srcpkgs/wpa_supplicant/template b/srcpkgs/wpa_supplicant/template
index fed83afea8b8..b6fe5dcf479a 100644
--- a/srcpkgs/wpa_supplicant/template
+++ b/srcpkgs/wpa_supplicant/template
@@ -1,7 +1,7 @@
 # Template file for 'wpa_supplicant'
 pkgname=wpa_supplicant
 version=2.10
-revision=1
+revision=2
 build_wrksrc="$pkgname"
 short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
 maintainer="Enno Boland <gottox@voidlinux.org>"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
  2023-02-14  2:52 [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y dkwo
@ 2023-02-14 18:50 ` dkwo
  2023-02-14 18:51 ` dkwo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2023-02-14 18:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/42248#issuecomment-1430222020

Comment:
This allows passwords to be specified in a separate file from the main config using e.g.
```
$ cat wpa_supplicant/wpa_supplicant-wlp4s0.conf 
...
ext_password_backend=file:/etc/wpa_supplicant/wifi-passwords.conf

network={
	ssid="ItsName"
	psk=ext:psk_of_some
}
```
together with
```
doas cat /etc/wpa_supplicant/wifi-passwords.conf 
psk_of_some=the_actual_password
```
According to https://github.com/NixOS/nixpkgs/pull/180872 it doesn't work with WPA3 SAE passwords, but patches have been accepted upstream fixing that.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
  2023-02-14  2:52 [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y dkwo
  2023-02-14 18:50 ` dkwo
@ 2023-02-14 18:51 ` dkwo
  2023-03-16 19:10 ` dkwo
  2023-03-16 19:45 ` [PR PATCH] [Merged]: " leahneukirchen
  3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2023-02-14 18:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/42248#issuecomment-1430223473

Comment:
@Gottox 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
  2023-02-14  2:52 [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y dkwo
  2023-02-14 18:50 ` dkwo
  2023-02-14 18:51 ` dkwo
@ 2023-03-16 19:10 ` dkwo
  2023-03-16 19:45 ` [PR PATCH] [Merged]: " leahneukirchen
  3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2023-03-16 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/42248#issuecomment-1472600094

Comment:
@leahneukirchen anyone :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
  2023-02-14  2:52 [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y dkwo
                   ` (2 preceding siblings ...)
  2023-03-16 19:10 ` dkwo
@ 2023-03-16 19:45 ` leahneukirchen
  3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2023-03-16 19:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

There's a merged pull request on the void-packages repository

wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y
https://github.com/void-linux/void-packages/pull/42248

Description:
- I tested the changes in this PR: yes
- I built this PR locally for my native architecture, (x86_64-musl)

This allows to use an external file to store passwords.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-16 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14  2:52 [PR PATCH] wpa_supplicant: add CONFIG_EXT_PASSWORD_FILE=y dkwo
2023-02-14 18:50 ` dkwo
2023-02-14 18:51 ` dkwo
2023-03-16 19:10 ` dkwo
2023-03-16 19:45 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).