git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] contrib: add credential helper for libsecret

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Oct 11, 2016, 15:01 UTC
Message-ID
<1476198071.3876.7.camel@kaarsemaker.net>
In-Reply-To
<20161010204654.krj44nk6xbjh4t2v@sigill.intra.peff.net>
On Mon, 2016-10-10 at 16:46 -0400, Jeff King wrote:
Show 20 quoted lines
> On Mon, Oct 10, 2016 at 10:20:50PM +0200, Dennis Kaarsemaker wrote:
> 
> > On Sun, 2016-10-09 at 15:34 +0300, Mantas Mikulėnas wrote:
> > > This is based on the existing gnome-keyring helper, but instead of
> > > libgnome-keyring (which was specific to GNOME and is deprecated), it
> > > uses libsecret which can support other implementations of XDG Secret
> > > Service API.
> > > 
> > > Passes t0303-credential-external.sh.
> > 
> > When setting credential.helper to this helper, I get the following output:
> > 
> > $ git clone https://private-repo-url-removed private
> > Cloning into 'private'...
> > /home/dennis/code/git/contrib/credential/libsecret/ get: 1: /home/dennis/code/git/contrib/credential/libsecret/ get: /home/dennis/code/git/contrib/credential/libsecret/: Permission denied
> > 
> > Looks suboptimal. Am I holding it wrong?
> 
> That looks like a directory name in your error message. How did you set
> up credential.helper?
Doh.
I had done git config --global credential.helper ~/code/git/contrib/credential/libsecret/

After doing it properly (actual path to the binary), it works just fine. The error message above is slightly suboptimal, but there's no solution for pebkac.

D.
Previous: Jeff KingNext: Dennis Kaarsemaker
Message 5 of 13 in “contrib: add credential helper for libsecret”
  1. contrib: add credential helper for libsecretMantas Mikulėnas, Oct 9, 2016
  2. Jeff KingOct 10, 2016
  3. Dennis KaarsemakerOct 10, 2016
  4. Jeff KingOct 10, 2016
  5. Dennis KaarsemakerOct 11, 2016
  6. Dennis KaarsemakerOct 11, 2016
  7. Junio C HamanoOct 11, 2016
  8. Mantas MikulėnasOct 11, 2016
  9. Mantas MikulėnasOct 11, 2016
  10. Dennis KaarsemakerOct 11, 2016
  11. Junio C HamanoOct 11, 2016
  12. Junio C HamanoOct 11, 2016
  13. Dennis KaarsemakerOct 11, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.