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

Re: [PATCH v2] credential: new attribute oauth_refresh_token

From
Jeff King <peff@peff.net>
Date
May 2, 2023, 10:25 UTC
Message-ID
<20230502102512.GB1180695@coredump.intra.peff.net>
In-Reply-To
<CAGJzqsmAESKYd5AYoZ17pg0F9Oe2sK_Odwpk4niQK9njtpCkTg@mail.gmail.com>
On Tue, Apr 25, 2023 at 08:19:40PM +0100, M Hickford wrote:
Show 10 quoted lines
> > > Add support for the new attribute to credential-cache. Eventually, I
> > > hope to see support in other popular storage helpers.
> >
> > At least your optimism is documented. :)
> 
> I have a draft patch for credential-libsecret
> https://github.com/gitgitgadget/git/pull/1524 which I could add to
> this patch series if you like. Helpers credential-wincred and
> credential-osxkeychain would be easy to update following the same
> approach.

Good, thanks for doing that work. I don't think it needs to be part of this series. Knowing that it's being worked on gives a sense that this patch is going in a useful direction.

I do find the "shove extra data into the password field" strategy a little gross, but that may be the best that can be done when interfacing with existing stores. And at least the details are all contained inside the helper itself (though I guess a user looking at it with other wallet management tools would see the weird field).

-Peff
Previous: M HickfordNext: Felipe Contreras
Message 7 of 8 in “credential: new attribute oauth_refresh_token”
  1. credential: new attribute oauth_refresh_tokenM Hickford via GitGitGadget, Mar 14, 2023
  2. credential: new attribute oauth_refresh_tokenM Hickford via GitGitGadget, Apr 21, 2023
  3. Junio C HamanoApr 21, 2023
  4. M HickfordApr 24, 2023
  5. Jeff KingApr 25, 2023
  6. M HickfordApr 25, 2023
  7. Jeff KingMay 2, 2023
  8. Felipe ContrerasMay 2, 2023

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.