Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What about a password input in section COMMUNICATION to unlock console during connect? #203

Open
MaBecker opened this issue Mar 30, 2019 · 1 comment

Comments

@MaBecker
Copy link

Hi,

tried E.setPassword(password) and E.lockConsole();

disconnected and connect, and got this as expected ;-)

password>
  Invalid password
Unable to retrieve board information. Connection Error?
Connected to /dev/tty.SLAB_USBtoUART (No response from board)
password>
  Invalid password
password> 

Workaround:

  • enter password
  • disconnect, connect
password>
  Logged in.
Disconnected
>
Found ESP8266_4MB, 2v01.85
>
Connected to /dev/tty.SLAB_USBtoUART
> 
@gfwilliams
Copy link
Member

Yes, sounds like a good plan. I believe the IDE/EspruinoTools has a 'connect' event that you could hook onto to send the password - but I guess you might want to check for a password prompt first so you don't just end up writing the password as plain text on any device you connect to that doesn't want a password!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants