WPA-PSK requires a sequence between 8 and 63 ASCII characters, so if a user uses this prompt to change their password to something shorter, then they won't be able to access hotspot (due to the conveniences added by https://github.com/monome/norns/pull/1570).
to help guardrail, this commit adds:
an on-screen textentry check which shows a countdown to 8 characters and a warning if the password goes beyond 63
a character count check to m.passdone, which will only change all passwords if the string length is >= 8 and < 64, otherwise it prints warnings to maiden that the password has not been changed
(built after a super helpful troubleshooting support ticket from raja!)
WPA-PSK requires a sequence between 8 and 63 ASCII characters, so if a user uses this prompt to change their password to something shorter, then they won't be able to access hotspot (due to the conveniences added by https://github.com/monome/norns/pull/1570).
to help guardrail, this commit adds:
textentry
check which shows a countdown to 8 characters and a warning if the password goes beyond 63m.passdone
, which will only change all passwords if the string length is >= 8 and < 64, otherwise it prints warnings to maiden that the password has not been changed(built after a super helpful troubleshooting support ticket from raja!)