[guardian-dev] Using an specific keyserver with GnuPg for Android
Hans-Christoph Steiner
hans at guardianproject.info
Mon Nov 24 06:28:58 EST 2014
My first guess is that some part of openldap or GnuPG's LDAP support needs to
be ported to Android, since Android's libc (aka Bionic) is very minimal.
Patches are most very welcome. Feel free to post questions here or in IRC.
.hc
Davi:
> 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 "ldap_search_ext_s 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?
>
> Thanks if anyone can help
>
> On Fri, Nov 7, 2014 at 8:40 AM, Hans-Christoph Steiner <
> hans at guardianproject.info> wrote:
>
>>
>> You can set the keyserver in the Android settings, but that won't apply to
>> the
>> command line tools, only the "Find Keys" tab in the app itself.
>>
>> I've never tried anything using LDAP, it might not work. I believe that
>> OpenLDAP is still included in the app.
>>
>> .hc
>>
>> Davi wrote:
>>> Hello
>>>
>>> I've tried to --search-keys from the gpg command line using the following
>>> methods to set an random ldap key server:
>>> -gpg.conf
>>> -app_opt/etc/openldap/ldap.conf
>>> -app_opt/etc/gnupg/ldapservers.conf
>>> -app_gnupghome/uid=0(root)/dirmngr_ldapservers.conf
>>> -info.guardianproject.gpg_preferences.xml
>>> -dirmngr --ldapserverlist-file ...
>>> -gpgconf --change-options ...
>>> and the --keyserver option
>>>
>>> None of which worked, my question is: is it possible to configure it to
>>> search keys only in a specific ldap/hkp server? Workarounds?
>>> if so, what's the correct way to do it?
>>>
>>> Thanks in advance!
>>> davi
>>>
>>>
>>>
>>> _______________________________________________
>>> Guardian-dev mailing list
>>>
>>> Post: Guardian-dev at lists.mayfirst.org
>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>
>>> To Unsubscribe
>>> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
>>> Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
>>>
>>> You are subscribed as: hans at guardianproject.info
>>>
>>
>> --
>> PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
>> Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/el.lopan%40gmail.com
>>
>> You are subscribed as: el.lopan at gmail.com
>>
>
--
PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81
More information about the Guardian-dev
mailing list