Opened 11 years ago

Closed 10 years ago

#1939 closed defect (fixed) doesn't allow 64-char hex psk

Reported by: wolfgang.rupprecht@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:


If you try to use a 64-char hex psk with wpa2 then /lib/wifi/ thinks you are trying to use
a passphrase, not a literal key. It
generates the /var/run/hostapd-ath0.conf file
with the "wpa_passphrase" keyword not the "wpa_psk" as it should. Appended is a quick fix that looks
for a psk of exactly 64-bytes and then uses the wpa_psk keyword.

Attachments (1)

diff (620 bytes) - added by wolfgang.rupprecht@… 11 years ago.
diff for /lib/wifi/

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by wolfgang.rupprecht@…

diff for /lib/wifi/

comment:1 Changed 10 years ago by b.candler@…

A similar problem also exists in /lib/wifi/ This was reported in ticket #2703, together with a patch suitable for that file, but that ticket has been closed as a "duplicate" of this one.

comment:2 Changed 10 years ago by thepeople

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r10450. add option passphrase '0' to your config and put your key in option key

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.