summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cecb63f)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
+@item Release 5.3
+@cindex Release 5.3
+@itemize
+@item Fixed minor bug with @code{newclient.sh} that caught
+"Passphrase:" prompt and inserted it into example YAML output.
+Just replaced stdout output to stderr for that prompt.
+@end itemize
+
@item Release 5.2
@cindex Release 5.2
@itemize
@item Release 5.2
@cindex Release 5.2
@itemize
"strings"
"github.com/agl/ed25519"
"strings"
"github.com/agl/ed25519"
var err error
var pass string
if path == "" {
var err error
var pass string
if path == "" {
- fmt.Print("Passphrase:")
+ os.Stderr.Write([]byte("Passphrase:"))
p, err = terminal.ReadPassword(0)
p, err = terminal.ReadPassword(0)
+ os.Stderr.Write([]byte("\n"))
pass = string(p)
} else {
p, err = ioutil.ReadFile(path)
pass = string(p)
} else {
p, err = ioutil.ReadFile(path)