[guardian-dev] shared Java lib for accessing OpenPGP keyservers

Hans-Christoph Steiner hans at guardianproject.info
Fri Dec 20 09:34:49 EST 2013


Apache 2.0 is fine by me.  In this dev sprint of GPGA, we won't have time to
do much on the keyserver support, so I'm just taking the code from OpenPGP
Keychain and integrating it.  In the next dev sprint, we plan on doing full
Tor support, and I'd like to support HKPS, then we can also split out the code
into a nicely shareable package.

It might be simplest to just have it as a separate repo and we release a jar,
but I'm open to other arrangements.

.hc

On 12/20/2013 06:27 AM, Dominik Schürmann wrote:
> Would be perfect to have it somewhere as an android library project for
> sharing code between the projects.
> 
> Just a git repo with the android plugin source that can be included by
> all via git submodules if you are okay with that.
> I would propose Apache v2 as the license as the main code is already
> under Apache v2.
> 
> Regards
> Dominik
> 
> On 12/18/2013 10:22 PM, Hans-Christoph Steiner wrote:
>>
>> Ok, I started in on this, looks pretty straightforward.  Once I get this
>> integrated, I'd like to start work on adding Orbot support to HkpKeyServer,
>> and also HkpsKeyServer class that includes Orbot support too.
>>
>> Parts of that code look a bit crufty, I took a stab at cleaning up the
>> hex/keyid stuff.  It'll be included straight in gnupg-for-android for now,
>> then we can work out how best to ship it as a standalone project.
>>
>> .hc
>>
>>
>> On 12/06/2013 05:38 AM, Dominik Schürmann wrote:
>>> Sure, good idea.
>>>
>>> Just break out the parts you need from OpenPGP Keychain and put them in
>>> a library. I think most of keyserver parts are pretty simple code
>>> contributed by senecaso under Apache v2 [0]
>>> I would then alo switch to this lib to share it between both projects.
>>>
>>> I would keep the code without any dependencies on activities, so that
>>> every project can build upon that using their own gui.
>>>
>>> [0]
>>> https://github.com/dschuermann/openpgp-keychain/blob/master/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/HkpKeyServer.java
>>> and
>>> https://github.com/dschuermann/openpgp-keychain/blob/master/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/KeyServer.java
>>>
>>> Regards
>>> Dominik
>>>
>>> On 12/06/2013 05:28 AM, Hans-Christoph Steiner wrote:>
>>>> So I've recently realized that a lot of the complexity in the GnuPG
>>> suite is
>>>> the keyserver stuff for both OpenPGP and S/MIME.  S/MIME is pretty low
>>>> priority for us, so I was thinking of ignoring the GnuPG keyserver stuff
>>>> (dirmngr, etc) and using a Android-native Java implementation.
>>>>
>>>> That would be much easier to add Tor support to, and to integrate into
>>> the UI.
>>>>  I figure this code already exists to some degree in APG and OpenPGP
>>> Keychain,
>>>> its just a matter of restructuring it into a shared library so we can
>>> share
>>>> the code.
>>>>
>>>> How does this sound?
>>>>
>>>> .hc
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> 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/dominik%40dominikschuermann.de
>>
>> You are subscribed as: dominik at dominikschuermann.de
>>
> 
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 969 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20131220/59b5cc5a/attachment.pgp>


More information about the Guardian-dev mailing list