<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=26&amp;t=2783" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-11-15T01:41:10+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2783</id>
<entry>
<author><name><![CDATA[lightpedals]]></name></author>
<updated>2017-11-15T01:41:10+01:00</updated>
<published>2017-11-15T01:41:10+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2783&amp;p=10005#p10005</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2783&amp;p=10005#p10005"/>
<title type="html"><![CDATA[Import existing GPG key fails]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2783&amp;p=10005#p10005"><![CDATA[
Hello.  Looking for advice/next steps please.  Thank you in advance for your support.  <br /><br />Following <a href="https://forum.yubico.com/viewtopic.php?f=26&amp;t=1344" class="postlink">https://forum.yubico.com/viewtopic.php?f=26&amp;t=1344</a> directions and appear to have an error message moving the application to the key <br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">#  LD_LIBRARY_PATH=/usr/local/lib gpshell gpinstall.txt<br />mode_211<br />enable_trace<br />establish_context<br />card_connect<br />select -AID a000000003000000<br />Command --&gt; 00A4040008A000000003000000<br />Wrapped command --&gt; 00A4040008A000000003000000<br />Response &lt;-- 6F658408A000000003000000A5599F6501FF9F6E06479112103800734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000<br />open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f<br />Command --&gt; 80CA006600<br />Wrapped command --&gt; 80CA006600<br />Response &lt;-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000<br />Command --&gt; 8050000008F3C6C2CDC1162A6700<br />Wrapped command --&gt; 8050000008F3C6C2CDC1162A6700<br />Response &lt;-- 0000431904101093281202020001C9BF790CAA61212540D1962D3ACD9000<br />mutual_authentication() returns 0x80302000 (The verification of the card cryptogram failed.)<br /><br /><br /># gpg-connect-agent --hex &quot;scd apdu 00 f1 00 00&quot; /bye<br />gpg-connect-agent: no running gpg-agent - starting '/usr/bin/gpg-agent'<br />gpg-connect-agent: waiting for the agent to come up ... (5s)<br />gpg-connect-agent: connection to agent established<br />D&#91;0000&#93;  01 00 11 90 00                                     .....           <br />OK<br /><br /><br /># gpg2 --card-status<br />Reader ...........: 1050:0111:X:0<br />Application ID ...: D2760001240102000006063451650000<br />Version ..........: 2.0<br />Manufacturer .....: Yubico<br />Serial number ....: 06345165<br />Name of cardholder: &#91;not set&#93;<br />Language prefs ...: &#91;not set&#93;<br />Sex ..............: unspecified<br />URL of public key : &#91;not set&#93;<br />Login data .......: &#91;not set&#93;<br />Signature PIN ....: forced<br />Key attributes ...: rsa2048 rsa2048 rsa2048<br />Max. PIN lengths .: 127 127 127<br />PIN retry counter : 3 3 3<br />Signature counter : 0<br />Signature key ....: &#91;none&#93;<br />Encryption key....: &#91;none&#93;<br />Authentication key: &#91;none&#93;<br />General key info..: &#91;none&#93;<br /><br /><br />r# gpg2 --edit-key 60F09683<br />gpg (GnuPG) 2.1.11; Copyright (C) 2016 Free Software Foundation, Inc.<br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.<br /><br />Secret key is available.<br /><br />sec  rsa2048/60F09683<br />     created: 2017-11-15  expires: 2021-01-01  usage: SC  <br />     trust: unknown       validity: ultimate<br />ssb  rsa2048/ED0017E3<br />     created: 2017-11-15  expires: 2021-01-01  usage: E   <br />&#91;ultimate&#93; (1). xxxxxxxxxxxxxxxxxxxxx &lt;xxxxxxx@xxxxxx.com&gt;<br /><br />gpg&gt; toggle<br /><br />sec  rsa2048/60F09683<br />     created: 2017-11-15  expires: 2021-01-01  usage: SC  <br />     trust: unknown       validity: ultimate<br />ssb  rsa2048/ED0017E3<br />     created: 2017-11-15  expires: 2021-01-01  usage: E   <br />&#91;ultimate&#93; (1). xxxxxxxxxxxxxxxxxxxxx &lt;xxxxxxx@xxxxxx.com&gt;<br /><br /><br />gpg&gt; key 1<br /><br />sec  rsa2048/60F09683<br />     created: 2017-11-15  expires: 2021-01-01  usage: SC  <br />     trust: unknown       validity: ultimate<br />ssb* rsa2048/ED0017E3<br />     created: 2017-11-15  expires: 2021-01-01  usage: E   <br />&#91;ultimate&#93; (1). xxxxxxxxxxxxxxxxxxxxx &lt;xxxxxxx@xxxxxx.com&gt;<br /><br /><br />gpg&gt; keytocard<br />Please select where to store the key:<br />   (2) Encryption key<br />Your selection? 2<br />gpg: KEYTOCARD failed: Operation cancelled<br /><br />gpg&gt; </div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4978">lightpedals</a> — Wed Nov 15, 2017 1:41 am</p><hr />
]]></content>
</entry>
</feed>