ssh-add does not see PGP key

Clash Royale CLAN TAG#URR8PPP up vote
1
down vote
favorite
I have my PGP key on my YubiKey and it works well on my MacBook, but it isn't working correctly on my Ubuntu 18.04 laptop. I am able to use gpg --card-status and it correctly shows the key along with the public data from my key ring, but ssh-add -l does not list anything. I am also able to sign data using gpg --clearsign. I have included my gp-agent.conf and scdaemon.conf files below.
gpg-agent.conf
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
scdaemon.conf
reader-port Yubico Yubikey
gpg --card-status
Reader ...........: Yubico Yubikey 4 OTP U2F CCID 00 00
Application ID ...: D2760001240102010006050203140000
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05020314
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : https://keybase.io/x/x.asc
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 3
Signature counter : 44
Signature key ....:
created ....: 2017-12-27 19:26:18
Encryption key....:
created ....: 2017-12-27 19:33:31
Authentication key:
created ....: 2017-12-27 21:42:43
General key info..: sub rsa2048/ 2017-12-27 Some Person <x@x.x>
sec# rsa4096/ created: 2017-12-27 expires: 2019-12-27
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssh gnupg yubikey
add a comment |Â
up vote
1
down vote
favorite
I have my PGP key on my YubiKey and it works well on my MacBook, but it isn't working correctly on my Ubuntu 18.04 laptop. I am able to use gpg --card-status and it correctly shows the key along with the public data from my key ring, but ssh-add -l does not list anything. I am also able to sign data using gpg --clearsign. I have included my gp-agent.conf and scdaemon.conf files below.
gpg-agent.conf
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
scdaemon.conf
reader-port Yubico Yubikey
gpg --card-status
Reader ...........: Yubico Yubikey 4 OTP U2F CCID 00 00
Application ID ...: D2760001240102010006050203140000
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05020314
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : https://keybase.io/x/x.asc
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 3
Signature counter : 44
Signature key ....:
created ....: 2017-12-27 19:26:18
Encryption key....:
created ....: 2017-12-27 19:33:31
Authentication key:
created ....: 2017-12-27 21:42:43
General key info..: sub rsa2048/ 2017-12-27 Some Person <x@x.x>
sec# rsa4096/ created: 2017-12-27 expires: 2019-12-27
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssh gnupg yubikey
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have my PGP key on my YubiKey and it works well on my MacBook, but it isn't working correctly on my Ubuntu 18.04 laptop. I am able to use gpg --card-status and it correctly shows the key along with the public data from my key ring, but ssh-add -l does not list anything. I am also able to sign data using gpg --clearsign. I have included my gp-agent.conf and scdaemon.conf files below.
gpg-agent.conf
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
scdaemon.conf
reader-port Yubico Yubikey
gpg --card-status
Reader ...........: Yubico Yubikey 4 OTP U2F CCID 00 00
Application ID ...: D2760001240102010006050203140000
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05020314
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : https://keybase.io/x/x.asc
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 3
Signature counter : 44
Signature key ....:
created ....: 2017-12-27 19:26:18
Encryption key....:
created ....: 2017-12-27 19:33:31
Authentication key:
created ....: 2017-12-27 21:42:43
General key info..: sub rsa2048/ 2017-12-27 Some Person <x@x.x>
sec# rsa4096/ created: 2017-12-27 expires: 2019-12-27
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssh gnupg yubikey
I have my PGP key on my YubiKey and it works well on my MacBook, but it isn't working correctly on my Ubuntu 18.04 laptop. I am able to use gpg --card-status and it correctly shows the key along with the public data from my key ring, but ssh-add -l does not list anything. I am also able to sign data using gpg --clearsign. I have included my gp-agent.conf and scdaemon.conf files below.
gpg-agent.conf
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
scdaemon.conf
reader-port Yubico Yubikey
gpg --card-status
Reader ...........: Yubico Yubikey 4 OTP U2F CCID 00 00
Application ID ...: D2760001240102010006050203140000
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05020314
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : https://keybase.io/x/x.asc
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 3
Signature counter : 44
Signature key ....:
created ....: 2017-12-27 19:26:18
Encryption key....:
created ....: 2017-12-27 19:33:31
Authentication key:
created ....: 2017-12-27 21:42:43
General key info..: sub rsa2048/ 2017-12-27 Some Person <x@x.x>
sec# rsa4096/ created: 2017-12-27 expires: 2019-12-27
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssb> rsa2048/ created: 2017-12-27 expires: 2018-04-06
card-no: 0006 05020314
ssh gnupg yubikey
asked May 14 at 22:25
Some Person
62
62
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036296%2fssh-add-does-not-see-pgp-key%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password