Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

PGP (Or GnuGP) under Java

Thread view: 
Luc The Perverse - 28 Nov 2005 00:19 GMT
If the only needed functionalities were message encryption and decryption -
how difficult would it be to write a PGP client under Java?

It seems like most (all?) of the algorithms used are available in Java.
Yet I see no mention anywhere of a PGP client made in Java, and I don't know
why.

Signature

ALEX TAYLOR

Paul Rubin - 28 Nov 2005 00:21 GMT
> If the only needed functionalities were message encryption and
> decryption - how difficult would it be to write a PGP client under Java?

Just what we call a "simple matter of programming".  The message formats
are documented in RFC 2440.

> It seems like most (all?) of the algorithms used are available in
> Java.  Yet I see no mention anywhere of a PGP client made in Java,
> and I don't know why.

Nobody has wanted one enough to bother writing one.  Maybe you will be
the first.

Actually, I think hushmail.com uses PGP message formats in their web
applet, but that's maybe short of a complete implementation.
Sebastian Gottschalk - 28 Nov 2005 01:28 GMT
>> If the only needed functionalities were message encryption and
>> decryption - how difficult would it be to write a PGP client under Java?
>
> Just what we call a "simple matter of programming".  The message formats
> are documented in RFC 2440.

J2SE already includes all necessary crypto algorithms and a powerful key
management system. Through Xerxes, you also got a Base64 coder. HTTP
support is already there, so it's just upon gluing all the components
together and interface with a usable GUI. However, as shown below, it's not
such a good idea.

>> It seems like most (all?) of the algorithms used are available in
>> Java.  Yet I see no mention anywhere of a PGP client made in Java,
>> and I don't know why.
>
> Nobody has wanted one enough to bother writing one.  Maybe you will be
> the first.

Actually, there is no need for such a thing. We already got a JNI interface
for GnuPG's library GPGme, whereas GnuPG is an multiplatform, stable and
long-term proven software. Which is also way faster than Java when
incoporating cryoptographic operations, and supports OS specific protection
mechanisms like page locking, memory protection, random number generation,
...

> Actually, I think hushmail.com uses PGP message formats in their web
> applet, but that's maybe short of a complete implementation.

Guess what they use...
Signature

Dieser Schrieb stellt eine private Meinungsäußerung des Verfassers im
Sinne der gesetzlich garantierten Meinungsfreiheit dar. Wem das nicht
passt, der wende sich an das Bundesverfassungsgericht. Viel Erfolg!
Key: 0xA0E28D18 FP: 83AE 1136 1E2B 9767 8FB2 7594 4128 1A9E A0E2 8D18

Will Dickson - 29 Nov 2005 01:29 GMT
>> If the only needed functionalities were message encryption and
>> decryption - how difficult would it be to write a PGP client under Java?
[quoted text clipped - 8 lines]
> Nobody has wanted one enough to bother writing one.  Maybe you will be
> the first.

For the crypto "backend", http://www.bouncycastle.org/

The user interface is up to you!

Will.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.