This commit is contained in:
Greg 2019-09-10 11:36:03 -04:00
parent 2c4c708b3a
commit 12b57d263f
5 changed files with 51 additions and 53 deletions

View File

@ -69,7 +69,7 @@ func main() {
if opts.clip {
passgo.Clip(p)
} else {
fmt.Print(p)
fmt.Println(p)
}
default:
usage()

View File

@ -22,4 +22,3 @@ func (s *Store) nativeEncrypt(pw string) ([]byte, error) {
func nativeIdentities() ([]string, error) {
return nil, fmt.Errorf("NOT IMPLEMENTED")
}

View File

@ -11,14 +11,14 @@ import (
"os/exec"
"os/user"
"path"
"strings"
"strconv"
"strings"
"sync"
"golang.org/x/crypto/openpgp"
"github.com/jcmdev0/gpgagent"
"github.com/fsnotify/fsnotify"
"github.com/jcmdev0/gpgagent"
)
func (s *Store) nativeDecrypt(name string) (string, error) {
@ -211,4 +211,3 @@ func Clip(x string) {
cmd.Stdin = b
cmd.Run()
}