Skip to content

Conversation

@y-yagi
Copy link

@y-yagi y-yagi commented Oct 8, 2021

Because x/crypto/ssh/terminal is deprecated and moved to x/term.
https://pkg.go.dev/golang.org/x/crypto/ssh/terminal#pkg-overview

@hinshun
Copy link
Contributor

hinshun commented Oct 10, 2021

This will break compatibility with Go 1.13 though, is that right?

@y-yagi
Copy link
Author

y-yagi commented Oct 10, 2021

ssh/terminal is just the wrapper of x/term.
https://github.com/golang/crypto/blob/master/ssh/terminal/terminal.go

So the code that was originally working keeps working and doesn't break compatibility with Go 1.13 I think(I could confirm that the updated example code working with Go 1.13).

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

Successfully merging this pull request may close these issues.

2 participants