zalando / go-keyring

Cross-platform keyring interface for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not possible to access objects which do not have username and service parameters

heppu opened this issue · comments

At least in with git gnome keyring helper the github credentials are stored with user, server and protocol parameter so it's not possible to access password with hard coded username and service search parameters.

I was planning to overcome this issue by extending current interface with FreeGet and FreeSet functions which take instead of username and service the map of parameters.
What do you think about this approach?

@heppu Did you get around to implementing this? I noticed the same when trying to get the Github.com credentials for some git stuff I was doing using credential-osxkeychain...