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

Hans-Christoph Steiner hans at guardianproject.info
Wed Dec 18 16:22:42 EST 2013


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
> 

-- 
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/20131218/ff6c5ca3/attachment.pgp>


More information about the Guardian-dev mailing list