<?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=2512" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-01-20T11:18:33+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2512</id>
<entry>
<author><name><![CDATA[Mathieulh]]></name></author>
<updated>2017-01-20T11:18:33+01:00</updated>
<published>2017-01-20T11:18:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9290#p9290</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9290#p9290"/>
<title type="html"><![CDATA[Re: Windows Kleopatra and decrypting / signing email?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9290#p9290"><![CDATA[
<div class="quotetitle">jero0en wrote:</div><div class="quotecontent"><br />Hi,<br /><br />I want to decrypt and sign email and use my NEO for SSH logons. I've mostly used the tutorial @&lt;https://github.com/drduh/YubiKey-Guide&gt;. Actions and results:<br /><br /><ul>- Created key material on an airgapped PC.<br />- Keys:<br /><ul>   - Master key on secure offline media.<br />   - Encryption key on NEO.<br />   - Signing key on NEO.<br />   - Authentication key on NEO.<br /></ul>- SSH:<br /><ul>   - Configured SSH on Ubuntu.<br />   - Installed Kleopatra and GPG agent on Windows 10.<br />   - Logons to Ubuntu with PuTTY and NEO work: success!<br /></ul>- Mail GPG:<br /><ul>   - gpg --import publickey.asc: success.<br />   - gpg --card-status etc.: success.<br />   - gpg encryptedmessage.asc: success. So the NEO is used for decryption.<br /></ul></ul> <br />In short: the setup seems to work perfectly fine.<br /><br />However I've got a problem: I cannot get Kleopatra to work with the NEO setup. What I've tried - similar to above but in Kleopatra:<br /><br /><ul>- Import publickey.asc (same file as above): &quot;Total number of processed:1, Imported: 0&quot;.<br />- Decrypt encryptedmessage.asc (same file as above): &quot;Verification failed: general error&quot;.<br /></ul><br />Question: how can I get Kleopatra to work with my NEO?<br /><br />Thanks,<br /><br />Jeroen<br /></div><br /><br />-----BEGIN PGP SIGNED MESSAGE-----<br />Hash: SHA512<br /><br /><br />You clearly need to read up on PGP.<br />Encrypting is done with the public key (which you did import, though you could have done this an easier way using the fetch command along with the gpg --card-edit if you did set url to your key)<br />Decrypting is however done with the private subkey (which is supposed to be stored on your card<br /><br />Try doing the following:<br /><br />Upload your public key somewhere (preferably a keyserver such as pgp.mit.edu or keybase.io)<br />Set the url to your pgp card/yubikey using the gpg --card-edit command, then the admin command and finally the url command.<br /><br />Delete your key entirely from your computer (public and private stubs)<br /><br />Use gpg --card-edit command then fetch command<br />Finally use the gpg --card-status command<br />-----BEGIN PGP SIGNATURE-----<br /><br />iQFfBAEBCgBJQhxNYXRoaWV1IEhFUlZBSVMgKEdlbmVyYXRlZCBmb3IgWXViaWtl<br />eSBORU8pIDxtYXRoaWV1bGhAZ21haWwuY29tPgUCWIHjqwAKCRCmuJwc9wJSCM+D<br />B/9GoHl7sycgDcHke3FwfTr1YI65EZb34HepmkcPxUnwHxRykTHbGU3PK27x0vOV<br />UzfNNc/C3bvWm2UXfaM2b00vDws1n/L8TN63dm6AY42RM2MWjB9MEd2AsMn8zIMR<br />wpZQAoqKgMgTCFQTuC11P4gMAGzzrMzjm2WebqD3oCnTNRrvBLLiyS7e08BTRGKN<br />6zYRu+aDU2PJfRk8C0x3UBWfPtrcAOncNf/4a3yKKyFV4B7DotAgKaHvGT4Wbnre<br />67Aerkl0LENGLb5iDJa46ZvAkpGOI1FMleEmf+oZ/bP2lZ2OiX3D3WIhMm6mdKN5<br />XLAt7/qufEsy9l3k7bIUmtZ4<br />=yF3X<br />-----END PGP SIGNATURE-----<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3608">Mathieulh</a> — Fri Jan 20, 2017 11:18 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jero0en]]></name></author>
<updated>2016-12-29T20:11:26+01:00</updated>
<published>2016-12-29T20:11:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9244#p9244</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9244#p9244"/>
<title type="html"><![CDATA[Windows Kleopatra and decrypting / signing email?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2512&amp;p=9244#p9244"><![CDATA[
Hi,<br /><br />I want to decrypt and sign email and use my NEO for SSH logons. I've mostly used the tutorial @&lt;https://github.com/drduh/YubiKey-Guide&gt;. Actions and results:<br /><br /><ul>- Created key material on an airgapped PC.<br />- Keys:<br /><ul>   - Master key on secure offline media.<br />   - Encryption key on NEO.<br />   - Signing key on NEO.<br />   - Authentication key on NEO.<br /></ul>- SSH:<br /><ul>   - Configured SSH on Ubuntu.<br />   - Installed Kleopatra and GPG agent on Windows 10.<br />   - Logons to Ubuntu with PuTTY and NEO work: success!<br /></ul>- Mail GPG:<br /><ul>   - gpg --import publickey.asc: success.<br />   - gpg --card-status etc.: success.<br />   - gpg encryptedmessage.asc: success. So the NEO is used for decryption.<br /></ul></ul> <br />In short: the setup seems to work perfectly fine.<br /><br />However I've got a problem: I cannot get Kleopatra to work with the NEO setup. What I've tried - similar to above but in Kleopatra:<br /><br /><ul>- Import publickey.asc (same file as above): &quot;Total number of processed:1, Imported: 0&quot;.<br />- Decrypt encryptedmessage.asc (same file as above): &quot;Verification failed: general error&quot;.<br /></ul><br />Question: how can I get Kleopatra to work with my NEO?<br /><br />Thanks,<br /><br />Jeroen<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4592">jero0en</a> — Thu Dec 29, 2016 8:11 pm</p><hr />
]]></content>
</entry>
</feed>