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 { if opts.clip {
passgo.Clip(p) passgo.Clip(p)
} else { } else {
fmt.Print(p) fmt.Println(p)
} }
default: default:
usage() usage()

View File

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

View File

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