Don't print line after reading password

This commit is contained in:
starryuwu 2024-03-06 22:11:33 -08:00
parent 06821a4ce3
commit 1993e9ceb0

View file

@ -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,