Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a lot of passhprase typos #827

Closed
towc opened this issue Apr 4, 2019 · 0 comments · Fixed by #867
Closed

a lot of passhprase typos #827

towc opened this issue Apr 4, 2019 · 0 comments · Fixed by #867

Comments

@towc
Copy link

towc commented Apr 4, 2019

Was trying to figure out how to use rsync/ssh to publish, so I downloaded the repo and looked for instances of them. Sadly most things that came up for ssh seem to be typos of passphrase

$ grep -run ssh | grep -v Test | grep -v stanza | grep -v vendor
man/aptly.1:1429:GPG passhprase for the key (warning: could be insecure)
man/aptly.1:1433:GPG passhprase\-file for the key (warning: could be insecure)
man/aptly.1:1528:GPG passhprase for the key (warning: could be insecure)
man/aptly.1:1532:GPG passhprase\-file for the key (warning: could be insecure)
man/aptly.1:1606:GPG passhprase for the key (warning: could be insecure)
man/aptly.1:1610:GPG passhprase\-file for the key (warning: could be insecure)
man/aptly.1:1671:GPG passhprase for the key (warning: could be insecure)
man/aptly.1:1675:GPG passhprase\-file for the key (warning: could be insecure)
cmd/publish_snapshot.go:224:    cmd.Flag.String("passphrase", "", "GPG passhprase for the key (warning: could be insecure)")
cmd/publish_snapshot.go:225:    cmd.Flag.String("passphrase-file", "", "GPG passhprase-file for the key (warning: could be insecure)")
cmd/publish_update.go:109:      cmd.Flag.String("passphrase", "", "GPG passhprase for the key (warning: could be insecure)")
cmd/publish_update.go:110:      cmd.Flag.String("passphrase-file", "", "GPG passhprase-file for the key (warning: could be insecure)")
cmd/publish_switch.go:150:      cmd.Flag.String("passphrase", "", "GPG passhprase for the key (warning: could be insecure)")
cmd/publish_switch.go:151:      cmd.Flag.String("passphrase-file", "", "GPG passhprase-file for the key (warning: could be insecure)")
cmd/publish_repo.go:40: cmd.Flag.String("passphrase", "", "GPG passhprase for the key (warning: could be insecure)")
cmd/publish_repo.go:41: cmd.Flag.String("passphrase-file", "", "GPG passhprase-file
for the key (warning: could be insecure)")
pgp/gnupg.go:47:// SetPassphrase sets passhprase params
pgp/internal.go:20:     "golang.org/x/crypto/ssh/terminal"
pgp/internal.go:31:     errWrongPasshprase = errors.New("unable to decrypt the key,
passphrase is wrong")
pgp/internal.go:62:// SetPassphrase sets passhprase params
pgp/internal.go:184:                            if err == nil || err != errWrongPasshprase {
pgp/internal.go:211:                    return errWrongPasshprase
completion.d/_aptly:442:                            "-passphrase=[GPG passhprase for the key (warning: could be insecure)]:passphrase: "
completion.d/_aptly:443:                            "-passphrase-file=[GPG passhprase−file for the key (warning: could be insecure)]:passphrase file:_files"
Gopkg.lock:309:    "ssh/terminal"
Gopkg.lock:399:    "golang.org/x/crypto/ssh/terminal",

Might be a good issue for a first contribution

@smira smira closed this as completed in #867 Sep 2, 2019
smira pushed a commit that referenced this issue Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant