Your message dated Thu, 13 Oct 2011 01:24:05 +0200
with message-id <[email protected]>
and subject line Re: [pkg-wpa-devel] Bug#644251: wpasupplicant: please make it
possible to query for passphrases
has caused the Debian Bug report #644251,
regarding wpasupplicant: please make it possible to query for passphrases
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
644251: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644251
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wpasupplicant
Version: 0.7.3-4
Severity: wishlist
Tags: patch
Hi,
it would be nice to be able to let wpa-supplicant query for PSKs /
passphrases / whatever when configuring a network in interfaces(5). This
is useful, for example, on shared notebooks or similar.
The attached patch allows to specify 'wpa-ask-pass yes' or 'wpa-ask-psk
yes' in interfaces(5). The passphrase / PSK will then be read from stdin
when running 'ifup <iface>'.
The querying could also be done using zenity/kdialog/whatever -- if the
general approach is fine for you, I'd be happy to modify the patch
accordingly.
TIA,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
--- a/debian/ifupdown/functions.sh
+++ b/debian/ifupdown/functions.sh
@@ -651,6 +651,20 @@
if [ -n "$IF_WPA_PASSPHRASE" ]; then
IF_WPA_PSK="$IF_WPA_PASSPHRASE"
fi
+
+ if [ "$IF_WPA_ASK_PASS" = "yes" ]; then
+ echo -n "Password: "
+ stty -echo
+ read IF_WPA_PASSWORD
+ stty echo
+ fi
+
+ if [ "$IF_WPA_ASK_PSK" = "yes" ]; then
+ echo -n "PSK: "
+ stty -echo
+ read IF_WPA_PSK
+ stty echo
+ fi
if [ -n "$IF_WPA_PSK" ]; then
wpa_key_check_and_set "$IF_WPA_PSK" \
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Hi
On Thursday 13 October 2011, Sebastian Harl wrote:
> On Fri, Oct 07, 2011 at 01:55:29PM +0200, Stefan Lippers-Hollmann wrote:
> > On Friday 07 October 2011, Sebastian Harl wrote:
> > > On Tue, Oct 04, 2011 at 04:47:08PM +0200, Stefan Lippers-Hollmann wrote:
> > > > On Tuesday 04 October 2011, Sebastian Harl wrote:
[...]
> While I think this could be handled by a note in the documentation, this
> might still cause some unnecessary noise by users not reading the
> documentation (I've been told such people exist ;-)). So, please feel
> free to close the bug or tag it wontfix (I'll leave that up to you, else
> I'd have closed the bug already).
[...]
I don't expect too many duplicates, so I guess we can close it.
Don't hesitate to report any issues, if you experience problems by
using wpasupplicant's own roaming mode or with scripting wpa_cli.
Regards
Stefan Lippers-Hollmann
--- End Message ---