Don't print line after reading password
This commit is contained in:
parent
06821a4ce3
commit
1993e9ceb0
1 changed files with 0 additions and 1 deletions
|
@ -45,7 +45,6 @@ func decrypt(filename string, contents []byte) {
|
|||
for i := 0; i < 3; i++ {
|
||||
fmt.Print("Input password to that file: ")
|
||||
password, _ := term.ReadPassword(int(syscall.Stdin))
|
||||
fmt.Println()
|
||||
if string(password) == "iforgor" {
|
||||
code := Forgorcode{
|
||||
PublicKey: unmarshalled.CiphertextKey,
|
||||
|
|
Loading…
Reference in a new issue