From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: julien@lepiller.eu,help-guix@gnu.org
Subject: Re: How to configure gitolite service?
Date: Tue, 5 Dec 2023 12:33:51 +0000 [thread overview]
Message-ID: <25lbnk.s571kh.ruvr47-qmf@localhost> (raw)
In-Reply-To: <12EAAF1A-98CC-45CA-A1FE-FC83889CE801@lepiller.eu>
Thank you.
I confused the last part of the SSH key file with how a PGP key has a corresponding email.
I understand it now as the following:
The (plain-file ...) function is supposed to reflect the contents of the remote administrator's id_ed*.pub file.
I am not sure if the name files have to match too, but that is testable easily enough.
Email z Wtorek, 5 grudnia 2023 od Julien Lepiller:
> This is the public key that corresponds to the private key the admin uses to pull/push the configuration repo with:
>
> git clone git@server:gitolite-admin
>
> I don't understand why you talk about mail here, plain-file is a file-like object which creates a file in the store from a string. This is just the content of the pub key file. Here's what I use, where the pub key is available in the same directory as the guix configuration (typically, /etc/julien.pub):
>
> (admin-pubkey (local-file "julien.pub"))
>
> Le 5 décembre 2023 12:56:27 GMT+01:00, "Marek Paśnikowski" <marek@marekpasnikowski.pl> a écrit :
> >Dear all.
> >
> >I am in the process of setting up Gitolite. My strategy is based on the principles of Test Driven Development.
> >
> >Following the system reconfiguration errors, I have questions regarding the minimal required code:
> >
> >(service gitolite-service-type
> > (gitolite-configuration
> > (admin-pubkey
> > (plain-file "user.pub" "key" "mail"))))
> >
> >1. Which system user does the .pub file correspond to - git or (in my case) marek? In other words, is the key owner the /git/ account which serves the Gitolite instance; or is it the remote administrator account which logs into the service?
> >
> >If it is the /git/ user, how do I inject the private key into the server's profile?
> >
> >2. Does the mail address correspond to the same account as above?
>
prev parent reply other threads:[~2023-12-05 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 11:56 How to configure gitolite service? Marek Paśnikowski
2023-12-05 12:12 ` Julien Lepiller
2023-12-05 12:33 ` Marek Paśnikowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25lbnk.s571kh.ruvr47-qmf@localhost \
--to=marek@marekpasnikowski.pl \
--cc=help-guix@gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).