unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Sébastien Rey-Coyrehourcq" <sebastien.rey-coyrehourcq@univ-rouen.fr>
To: Dominic Martinez <dom@dominicm.dev>
Cc: "Daniel Meißner" <daniel.meissner-i4k@ruhr-uni-bochum.de>,
	help-guix@gnu.org, "Julien Lepiller" <julien@lepiller.eu>
Subject: Re: Guix home, guix system, channels, some noob questions
Date: Tue, 14 Jun 2022 12:36:14 +0200	[thread overview]
Message-ID: <2245f070-9bfd-9c4b-6e1b-63469f324d84@univ-rouen.fr> (raw)
In-Reply-To: <87leu073fs.fsf@dominicm.dev>


[-- Attachment #1.1.1: Type: text/plain, Size: 3086 bytes --]


Le 13/06/2022 à 21:31, Dominic Martinez a écrit :
>
> sebastien rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr> 
> writes:
>
>> Hi,
>>
>> I jump into guile world by learning and copy/pasting Dominic Martinez 
>> config :)
>
> Nice to know my config helped someone! Sorry it's a bit of a mess, I 
> didn't really document anything.
I'm interested to better understand some Guile snippet of your config, 
if you're ok, is it possible to ask that in another mail or irc ?
>
>> Everything going pretty well but now i'm blocked with yubikey 
>> configuration.
>>
>> And without yubikey that contain your only private key to 
>> sign/decrypt everything, that's a
>> little complicated ...
>>
>> Running "gpg --card-status" my yubikey is correclty detected. That a 
>> good news ... BUT
>> that's all,
>> other command don't work, for example both :
>>
>> gpg --list-secret-keys
>> gpg --list-keys
>
> When you say it doesn't work, do you mean it doesn't list any keys? If 
> you have keys on your Yubikey that you used with GPG on a different 
> system, you'll have to re-export the key stubs for GPG to use the 
> Yubikey for authentication (see 
> https://github.com/drduh/YubiKey-Guide#switching-between-two-or-more-yubikeys).
>
Thanks! This only manipulation seems not enough and i finally found that 
importing public key is required, from server or directly from the key ....

yourkey.asc | gpg --import

After that, everything goes well !

> If you're getting other errors, you might need to enable some system 
> services. For instance, you need the pcscd service 
> (https://guix.gnu.org/manual/devel/en/guix.html#index-pcscd), and also 
> the udev rules appropriate for your Yubikey model 
> (https://github.com/Yubico/libfido2/blob/main/udev/70-u2f.rules). The 
> below snippet should get all Yubikey functionality working:
>
> #+begin_src scheme
> (service pcscd-service-type)
> (udev-rules-service 'yubikey-rules
>                     (udev-rule
>                      "70-u2f.rules"
>                      (string-append
>                       ;; All keys
>                       "ACTION!=\"add|change\",                       
> GOTO=\"u2f_end\"\n"
>                       ;; Yubikey
>                       "KERNEL==\"hidraw*\", "
>                       "SUBSYSTEM==\"hidraw\", "
>                       "ATTRS{idVendor}==\"1050\", "
> "ATTRS{idProduct}==\"0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410\", 
>                        "
>                       "TAG+=\"uaccess\", MODE=\"0660\"\n"
>                       ;; End all keys
>                       "LABEL=\"u2f_end\"")))
> #+end_src

I already copy paste this part from your config :)

Thanks again !

Sébastien RC.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 8861 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-06-14 10:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  9:09 Guix home, guix system, channels, some noob questions Sébastien Rey-Coyrehourcq
2022-05-11 10:47 ` Julien Lepiller
2022-05-11 14:36   ` Sébastien Rey-Coyrehourcq
2022-05-11 14:55     ` Sébastien Rey-Coyrehourcq
2022-05-11 15:48       ` Julien Lepiller
2022-05-12  8:40         ` Sébastien Rey-Coyrehourcq
2022-05-12  9:28           ` Julien Lepiller
2022-05-12 12:32             ` Sébastien Rey-Coyrehourcq
2022-05-17  7:26               ` Daniel Meißner
2022-05-17  8:01                 ` Sébastien Rey-Coyrehourcq
2022-05-17  8:57                   ` Daniel Meißner
2022-05-17  9:20                     ` Sébastien Rey-Coyrehourcq
2022-05-17 10:15                       ` Daniel Meißner
2022-05-17 16:02                         ` Sébastien Rey-Coyrehourcq
2022-05-25 13:34                           ` Daniel Meißner
2022-05-25 18:45                             ` Efraim Flashner
2022-07-11  6:06                             ` Joshua Branson
2022-05-26  0:31                           ` Dominic Martinez
2022-06-01 20:38                             ` Sébastien Rey-Coyrehourcq
2022-06-12 19:32                               ` sebastien rey-coyrehourcq
2022-06-13 19:31                                 ` Dominic Martinez
2022-06-14 10:36                                   ` Sébastien Rey-Coyrehourcq [this message]
2022-05-11 21:56       ` Mekeor Melire

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=2245f070-9bfd-9c4b-6e1b-63469f324d84@univ-rouen.fr \
    --to=sebastien.rey-coyrehourcq@univ-rouen.fr \
    --cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
    --cc=dom@dominicm.dev \
    --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).