<div dir="ltr">Thank you, Tobias!<div><br></div><div>I merged your changes and was able to connect using only the credentials on the smart card.</div><div><br></div><div>Now I will continue my work of enabling the use of a pkcs11 module on Android (my company makes a smart card in a microSD).</div>

<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Cheers,</div><div>  Stephen<br><font face="arial, sans-serif" size="3"><p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(102,102,102)">

<i>--</i></p>
<p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><i>Stephen Wilcox</i></p>
<p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(102,102,102)"><i>Sr. Software Engineer - Tyfone, Inc.</i></p>
<p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(102,102,102)"><i>Portland | Bangalore | Taipei</i></p>
<p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(16,65,112)"><span style="text-decoration:underline"><a href="http://www.tyfone.com/" target="_blank"><i>www.tyfone.com</i></a></span></p>


<p style="border-collapse:collapse;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(102,102,102)"><i>Mobile: +1.971.226.3497</i></p></font></div></div></div>
<br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 4:31 AM, Tobias Brunner <span dir="ltr"><<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Stephen,<br>
<br>
>   loaded plugins: charon *pkcs11* aes des rc2 sha1 sha2 md5 random nonce<br>
> *x509* revocation constraints pubkey *pkcs1* pkcs7 pkcs8 pkcs12 pgp<br>
> dnskey sshkey *pem* fips-prf gmp xcbc cmac hmac attr kernel-netlink<br>
<div class="">> resolve socket-default stroke updown xauth-generic<br>
<br>
</div>In general, the order in which plugins are loaded is not important<br>
anymore.  The plugin features provided by each plugin should declare<br>
their dependencies sufficiently.  But there might still be some<br>
scenarios where this is not the case yet.  In particular, the x509<br>
plugin has failed to declare its dependency on the KEY_ANY public key<br>
decoder, so it fails to actually decode the public key.  The last two<br>
commits in the x509-dep-fix branch [1] should address this.<br>
<br>
As a workaround, you could try moving the pkcs11 plugin near the end of<br>
the list.<br>
<br>
Regards,<br>
Tobias<br>
<br>
[1]<br>
<a href="http://git.strongswan.org/?p=strongswan.git;a=shortlog;h=refs/heads/x509-deps-fix" target="_blank">http://git.strongswan.org/?p=strongswan.git;a=shortlog;h=refs/heads/x509-deps-fix</a><br>
<br>
</blockquote></div><br></div></div>