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

x/term: ReadPassword not supported on plan9 #14441

Open
ncw opened this issue Feb 21, 2016 · 3 comments
Open

x/term: ReadPassword not supported on plan9 #14441

ncw opened this issue Feb 21, 2016 · 3 comments
Labels
Milestone

Comments

@ncw
Copy link
Contributor

ncw commented Feb 21, 2016

x/crypto/ssh/terminal doesn't provide terminal.ReadPassword on plan9.

Related #13085

@minux
Copy link
Member

minux commented Feb 21, 2016 via email

@9nut
Copy link

9nut commented Feb 22, 2016

yes; echo rawon >/dev/consctl does it; from cons(3)

      "If the string rawon has been written to the consctl file and
      the file is still open, cons is in raw mode: characters are
      not echoed as they are typed, backspace, `^U' and `^D' are
      not treated specially, and characters are available to read
      as soon as they are typed.  Ordinary mode is reentered when
      rawoff is written to consctl or this file is closed."

@bradfitz bradfitz modified the milestone: Unreleased Apr 7, 2016
@bradfitz bradfitz changed the title x/crypto/ssh/terminal ReadPassword() not supported on plan9 x/crypto/ssh/terminal: ReadPassword not supported on plan9 Jun 7, 2017
@tklauser tklauser changed the title x/crypto/ssh/terminal: ReadPassword not supported on plan9 x/term: ReadPassword not supported on plan9 Jun 25, 2021
@tklauser
Copy link
Member

The golang.org/x/crypto/ssh/terminal package is deprecated and moved to golang.org/x/term, so support for ReadPassword on plan9 should be implemented in that package.

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

No branches or pull requests

5 participants