open-vault/sdk/helper/password/password.go
Jeff Mitchell fe18b6f9e0
Swap out sdk/helper libs with implementations in go-secure-stdlib (#12088)
* Swap out sdk/helper libs with implementations in go-secure-stdlib

* Fix transit batch test
2021-07-15 01:56:37 -04:00

15 lines
293 B
Go

// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
package password
import (
"os"
extpassword "github.com/hashicorp/go-secure-stdlib/password"
)
var ErrInterrupted = extpassword.ErrInterrupted
func Read(f *os.File) (string, error) {
return extpassword.Read(f)
}