Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 12:40 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jul 18, 2017 9:46 pm 
Offline

Joined: Tue Feb 24, 2015 1:09 am
Posts: 3
Hi there.

I am trying to use GPG key from my Yubi4 for SSH authentication.
gpg-agent (GnuPG) 2.1.21/libgcrypt 1.7.6 installed from "Simple installer for the current GnuPG", not Gpg4win.

I have enable-ssh-support in C:\Users\[user]\.gnupg\gpg-agent.conf
C:\Users\[user]\AppData\Roaming\gnupg\sshcontrol contains keygrip of a key, I want to use.

I am starting the agent with gpg-connect-agent.exe /bye
It goes start and creates set of sockets:

I manually set SSH_AUTH_SOCK to C:\Users\[user]\AppData\Roaming\gnupg\S.gpg-agent.ssh
...and that is where I am getting stuck.

ssh-add.exe -l
gives me "Error connecting to agent: Bad file descriptor"

What am I doing wrong?
Thank you.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Wed Jul 19, 2017 12:14 am 
Offline
Yubico Moderator
Yubico Moderator

Joined: Tue Jan 05, 2016 5:03 pm
Posts: 27
Hello Nipp,

First ensure you are running in a elevated command prompt you should see "Administrator:Command Prompt" at the top of the window if you just see "Command Prompt" that than you are running in a non-elevated command prompt and do not have the required permissions to access the agent. If you're running in an elevated command prompt it maybe prudent to post in the GnuPG community forums for connecting to the agent.

Best Regards,
Matthew
Yubico Support


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group