I had troubles setting up forge to use Unix password store for a private GitLab instance. What was unclear to me is to where to put the path (e.g., /api/v4) of the gitlab host in the password store. What works for me: omitting it altogether.
Please add this to the page on common mistakes. Perhaps also to the documentation of ghub.
Just to clarify, a working example (with private information replaced):
I had troubles setting up forge to use Unix password store for a private GitLab instance. What was unclear to me is to where to put the path (e.g.,
/api/v4
) of the gitlab host in the password store. What works for me: omitting it altogether.Please add this to the page on common mistakes. Perhaps also to the documentation of
ghub
.Just to clarify, a working example (with private information replaced):
Init file:
~/.password-store/git.example.com/ziggy^forge.gpg
decrypted:This is the analogue an example form
ghub
's documetation, except that/api/v4
is omitted. It only appears inforge-alist
.Init file:
~/.authinfo: