<div dir="ltr">Hello, I tried using the library libldap_r-2.4.so.2 included in the package (under /app_opt/lib) to search a specific public ldap keyserver, but I got a strange segfault in the "<span style="color:rgb(0,128,0)">ldap_search_ext_s</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">error()" function, (the same code works fine under ubuntu 12.04). According to the stack it segfaults right after a strlen() call, it tries to dereference the value returned from strlen() as if it were a pointer.. does this has something to do with the fact that it's not possible to set a specific keyserver to work from command-line, a security check of some kind?</span><div><span style="color:rgb(0,128,0)"><br></span></div><div><span style="color:rgb(0,128,0)">Thanks if anyone can help</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 8:40 AM, Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@guardianproject.info" target="_blank">hans@guardianproject.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
You can set the keyserver in the Android settings, but that won't apply to the<br>
command line tools, only the "Find Keys" tab in the app itself.<br>
<br>
I've never tried anything using LDAP, it might not work.  I believe that<br>
OpenLDAP is still included in the app.<br>
<br>
.hc<br>
<div><div class="h5"><br>
Davi wrote:<br>
> Hello<br>
><br>
> I've tried to --search-keys from the gpg command line using the following<br>
> methods to set an random ldap key server:<br>
> -gpg.conf<br>
> -app_opt/etc/openldap/ldap.conf<br>
> -app_opt/etc/gnupg/ldapservers.conf<br>
> -app_gnupghome/uid=0(root)/dirmngr_ldapservers.conf<br>
> -info.guardianproject.gpg_preferences.xml<br>
> -dirmngr --ldapserverlist-file ...<br>
> -gpgconf --change-options ...<br>
> and the --keyserver option<br>
><br>
> None of which worked, my question is: is it possible to configure it to<br>
> search keys only in a specific ldap/hkp server? Workarounds?<br>
> if so, what's the correct way to do it?<br>
><br>
> Thanks in advance!<br>
> davi<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Guardian-dev mailing list<br>
><br>
> Post: <a href="mailto:Guardian-dev@lists.mayfirst.org">Guardian-dev@lists.mayfirst.org</a><br>
> List info: <a href="https://lists.mayfirst.org/mailman/listinfo/guardian-dev" target="_blank">https://lists.mayfirst.org/mailman/listinfo/guardian-dev</a><br>
><br>
> To Unsubscribe<br>
>  Â  Â  Â  Â Send email to:  <a href="mailto:Guardian-dev-unsubscribe@lists.mayfirst.org">Guardian-dev-unsubscribe@lists.mayfirst.org</a><br>
>  Â  Â  Â  Â Or visit: <a href="https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info" target="_blank">https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info</a><br>
><br>
> You are subscribed as: <a href="mailto:hans@guardianproject.info">hans@guardianproject.info</a><br>
><br>
<br>
--<br>
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81<br>
_______________________________________________<br>
Guardian-dev mailing list<br>
<br>
Post: <a href="mailto:Guardian-dev@lists.mayfirst.org">Guardian-dev@lists.mayfirst.org</a><br>
List info: <a href="https://lists.mayfirst.org/mailman/listinfo/guardian-dev" target="_blank">https://lists.mayfirst.org/mailman/listinfo/guardian-dev</a><br>
<br>
To Unsubscribe<br>
  Â  Â  Â  Send email to:  <a href="mailto:Guardian-dev-unsubscribe@lists.mayfirst.org">Guardian-dev-unsubscribe@lists.mayfirst.org</a><br>
  Â  Â  Â  Or visit: <a href="https://lists.mayfirst.org/mailman/options/guardian-dev/el.lopan%40gmail.com" target="_blank">https://lists.mayfirst.org/mailman/options/guardian-dev/el.lopan%40gmail.com</a><br>
<br>
You are subscribed as: <a href="mailto:el.lopan@gmail.com">el.lopan@gmail.com</a><br>
</blockquote></div><br></div>