unofficial mirror of help-guix@gnu.org 
 help / color / mirror / 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-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

* 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-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

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
2020-07-29 19:41 Jesse Gibbons
2020-08-03  0:52 ` LaFreniere, Joseph

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git