minor refactor

This commit is contained in:
ed 2019-12-18 12:28:18 +01:00
parent 4c43773989
commit 9ebd945d4e
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ import (
"io" "io"
"io/ioutil" "io/ioutil"
"os" "os"
// "strings"
"syscall" "syscall"
"golang.org/x/crypto/ssh/terminal" "golang.org/x/crypto/ssh/terminal"
) )
@ -138,7 +137,7 @@ func main() {
fmt.Print("\n") fmt.Print("\n")
key := keyMkr(pw) key := keyMkr(pw)
secret := file2data(fn) secret := file2data(fn)
datafn := fn + "clear" datafn := fn + ".clr"
data := decrypt(secret, key) data := decrypt(secret, key)
data2file(datafn, data) data2file(datafn, data)
} }