all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Yubikey setup for GPG
@ 2020-07-28 23:31 LaFreniere, Joseph
  2020-08-16 18:10 ` pukkamustard
  0 siblings, 1 reply; 4+ messages in thread
From: LaFreniere, Joseph @ 2020-07-28 23:31 UTC (permalink / raw)
  To: help-guix

Does anyone have a working guide for setting up a Yubikey for use 
with GnuPG in Guix System?  It seems that the packaged gpg is 
built with pcsc-lite rather than scdaemon, so much of the 
information in e.g. the Arch wiki is not applicable.

The specific error I'm getting when running `gpg2 --card-status` 
is

> gpg: selecting card failed: No such device
> gpg: OpenPGP card not available: No such device

--
Joseph LaFreniere


^ permalink raw reply	[flat|nested] 4+ messages in thread

* re: Yubikey setup for GPG
@ 2020-07-29 19:41 Jesse Gibbons
  2020-08-03  0:52 ` LaFreniere, Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Gibbons @ 2020-07-29 19:41 UTC (permalink / raw)
  To: joseph; +Cc: help-guix

I had a similar problem with my Librem key. I fixed it by including 
(service pcscd-service-type) in my system configuration, reconfiguring 
my guix system, and making sure I have one of the pinentry packages 
installed and configured.

See 
https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html#index-pcscd



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Yubikey setup for GPG
  2020-07-29 19:41 Jesse Gibbons
@ 2020-08-03  0:52 ` LaFreniere, Joseph
  0 siblings, 0 replies; 4+ messages in thread
From: LaFreniere, Joseph @ 2020-08-03  0:52 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: help-guix


Jesse Gibbons <jgibbons2357@gmail.com> writes:
> I had a similar problem with my Librem key. I fixed it by 
> including (service
> pcscd-service-type) in my system configuration, reconfiguring my 
> guix system,
> and making sure I have one of the pinentry packages installed 
> and configured.
>
> See
> https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html#index-pcscd

Thanks for the tip!  I'm reconfiguring right now.  If I don't 
respond in this thread again, any future readers should assume the 
default configuration was sufficient for a YubiKey 5 NFC.

--
Joseph LaFreniere


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Yubikey setup for GPG
  2020-07-28 23:31 Yubikey setup for GPG LaFreniere, Joseph
@ 2020-08-16 18:10 ` pukkamustard
  0 siblings, 0 replies; 4+ messages in thread
From: pukkamustard @ 2020-08-16 18:10 UTC (permalink / raw)
  To: LaFreniere, Joseph; +Cc: help-guix


Hello Joseph,

I'm using a Yubikey with GnuPG on Guix, but don't remember the 
exact
steps I had to do to make it work.

I do have the pcscd-service started with following entry:

(service pcscd-service-type)

I didn't find any other special configuration anywhere else.

Hope that helps,
-pukkamustard

LaFreniere, Joseph <joseph@lafreniere.xyz> writes:

> Does anyone have a working guide for setting up a Yubikey for 
> use with GnuPG in
> Guix System?  It seems that the packaged gpg is built with 
> pcsc-lite rather than
> scdaemon, so much of the information in e.g. the Arch wiki is 
> not applicable.
>
> The specific error I'm getting when running `gpg2 --card-status` 
> is
>
>> gpg: selecting card failed: No such device
>> gpg: OpenPGP card not available: No such device



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-16 18:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-28 23:31 Yubikey setup for GPG LaFreniere, Joseph
2020-08-16 18:10 ` pukkamustard
  -- strict thread matches above, loose matches on Subject: below --
2020-07-29 19:41 Jesse Gibbons
2020-08-03  0:52 ` LaFreniere, Joseph

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.