Skip to content

Commit

Permalink
fix(cli): Fix keyring implementation
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Moves private key from Keyring to Config (too large) but keeps private key password in Keyring
  • Loading branch information
BirknerAlex committed Apr 18, 2024
1 parent 2ac6094 commit 38b7cc4
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 129 deletions.
13 changes: 5 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.22
require (
buf.build/gen/go/gportal/gpcore/grpc/go v1.3.0-20240410082109-a248fa355710.2
buf.build/gen/go/gportal/gpcore/protocolbuffers/go v1.33.0-20240410082109-a248fa355710.1
github.com/99designs/keyring v1.2.2
github.com/G-PORTAL/gpcore-go v0.0.0-20240122103833-6af7e686f119
github.com/charmbracelet/log v0.4.0
github.com/charmbracelet/ssh v0.0.0-20240401141849-854cddfa2917
Expand All @@ -17,6 +16,7 @@ require (
github.com/melbahja/goph v1.4.0
github.com/spf13/cobra v1.8.0
github.com/stoewer/go-strcase v1.3.0
github.com/zalando/go-keyring v0.2.4
golang.org/x/crypto v0.22.0
google.golang.org/grpc v1.63.2
gopkg.in/op/go-logging.v1 v1.0.0-20160315200505-970db520ece7
Expand All @@ -26,9 +26,9 @@ require (
require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.33.0-20240401165935-b983156c5e99.1 // indirect
code.gitea.io/sdk/gitea v0.17.1 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/Nerzal/gocloak/v13 v13.9.0 // indirect
github.com/alessio/shellescape v1.4.2 // indirect
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/bubbletea v0.25.0 // indirect
Expand All @@ -40,16 +40,13 @@ require (
github.com/creack/pty v1.1.21 // indirect
github.com/danieljoos/wincred v1.2.1 // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-resty/resty/v2 v2.12.0 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-github/v30 v30.1.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
Expand All @@ -59,11 +56,11 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mtibben/percent v0.2.1 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pkg/sftp v1.13.6 // indirect
Expand All @@ -80,7 +77,7 @@ require (
golang.org/x/term v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
)
Loading

0 comments on commit 38b7cc4

Please sign in to comment.