Skip to content

Deleting client gives: panic: secret not found in keyring #22

Open
@berenddeboer

Description

@berenddeboer

When I try to delete a client I get:

./xoauth delete dummy
? Are you sure you want to delete this connection? Yes
panic: secret not found in keyring

goroutine 1 [running]:
github.com/XeroAPI/xoauth/pkg/config.ConfirmDelete(0xc0000cb100, 0x7fffaed9815d, 0x5)
        /home/runner/work/xoauth/xoauth/pkg/config/delete.go:30 +0x286
github.com/XeroAPI/xoauth/cmd.init.0.func6(0xc0000f1340, 0xc0000cb0a0, 0x1, 0x1)
        /home/runner/work/xoauth/xoauth/cmd/root.go:127 +0x52
github.com/spf13/cobra.(*Command).execute(0xc0000f1340, 0xc0000cb080, 0x1, 0x1, 0xc0000f1340, 0xc0000cb080)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:846 +0x2aa
github.com/spf13/cobra.(*Command).ExecuteC(0xd1f720, 0x0, 0x8815a0, 0xc000098058)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:950 +0x349
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:887
github.com/XeroAPI/xoauth/cmd.Execute(...)
        /home/runner/work/xoauth/xoauth/cmd/root.go:254
main.main()
        /home/runner/work/xoauth/xoauth/xoauth.go:13 +0x47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions