unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Dominic Martinez <dom@dominicm.dev>
To: sebastien rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr>
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: Mon, 13 Jun 2022 15:31:47 -0400	[thread overview]
Message-ID: <87leu073fs.fsf@dominicm.dev> (raw)
In-Reply-To: <743026325.776697.1655062339837@ichabod.co-bxl>

[-- Attachment #1: Type: text/plain, Size: 2171 bytes --]


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.

> 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).

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2022-06-13 19:46 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 [this message]
2022-06-14 10:36                                   ` Sébastien Rey-Coyrehourcq
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=87leu073fs.fsf@dominicm.dev \
    --to=dom@dominicm.dev \
    --cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    --cc=sebastien.rey-coyrehourcq@univ-rouen.fr \
    /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).