2021-07-15 05:56:37 +00:00
|
|
|
// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
|
2015-03-04 08:31:35 +00:00
|
|
|
package password
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
2021-07-15 05:56:37 +00:00
|
|
|
|
|
|
|
extpassword "github.com/hashicorp/go-secure-stdlib/password"
|
2015-03-04 08:31:35 +00:00
|
|
|
)
|
|
|
|
|
2021-07-15 05:56:37 +00:00
|
|
|
var ErrInterrupted = extpassword.ErrInterrupted
|
2015-04-02 00:27:29 +00:00
|
|
|
|
2015-03-04 08:31:35 +00:00
|
|
|
func Read(f *os.File) (string, error) {
|
2021-07-15 05:56:37 +00:00
|
|
|
return extpassword.Read(f)
|
2018-12-12 20:06:10 +00:00
|
|
|
}
|