[Biojava-l] biojava digital signature

Andreas Prlic ap3 at sanger.ac.uk
Fri Jun 29 13:18:35 UTC 2007


The latest checkout from BioJava CVS can now be digitally signed.
This is optional.

try the following:

ant clean;  ant sign;
jarsigner -verify ant-build/biojava.jar

Andreas




On 29 Jun 2007, at 12:50, Mark Schreiber wrote:

> By we, do you mean you?
>
> : )
>
> On 6/29/07, Andreas Prlic <ap3 at sanger.ac.uk> wrote:
>> we could provide an ant task that would sign it and the default would
>> be not to have it signed.
>>
>> Andreas
>>
>>
>> On 29 Jun 2007, at 09:49, Mark Schreiber wrote:
>>
>> > In this case then maybe the best solution is to provide a "How to  
>> sign
>> > your biojava.jar" page on the wiki.
>> >
>> > Possibly it could go into a "How to make a BioJava empowered Applet"
>> > recipe for the cookbook. Does anyone feel motivated to provide a
>> > trivial (or even not so trivial) example?
>> >
>> > - Mark
>> >
>> > On 6/29/07, Andy Yates <ayates at ebi.ac.uk> wrote:
>> >> Hey,
>> >>
>> >> Normally digitally signing a jar can cause problems for people who
>> >> want
>> >> to uncompress our jar & re-compress into a distribution for  
>> themselves
>> >> (a one shot executable jar scenario). Applets are very strange as  
>> I'm
>> >> sure it's possible to load resources from the server and applet is
>> >> created from (I did it ages ago for an applet which worked with  
>> blast
>> >> output). So it's a bit of a shock that the applet sandbox doesn't
>> >> allow
>> >> us to call a getResourceAsStream() method (well I say surprise ...  
>> it
>> >> doesn't really).
>> >>
>> >> It's probably not a bad thing to offer a digitally signed version  
>> of
>> >> the
>> >> JAR for people wanting to use it in applets but if the main
>> >> distribution
>> >> could continue with unsigned JARs I think that would be the best.
>> >>
>> >> Andy
>> >>
>> >> Mark Schreiber wrote:
>> >> > Hi -
>> >> >
>> >> > Is there any reason why we shouldn't digitally sign the  
>> biojava.jar
>> >> as
>> >> > part of our distribution? It would save other people doing it.
>> >> >
>> >> > I think we would just use a self generated certificate as a third
>> >> > party one is expensive and doesn't really proove anything anyway.
>> >> >
>> >> > Just a thought,
>> >> >
>> >> > - Mark
>> >> >
>> >> > On 6/28/07, Andreas Prlic <ap3 at sanger.ac.uk> wrote:
>> >> >> Did you try signing your applet using jarsigner?
>> >> >>
>> >> >> e.g. see
>> >> >> http://www.raditha.com/java/sandbox/index.php
>> >> >>
>> >> >> Andreas
>> >> >>
>> >> >>
>> >> >>> Kavita Agarwal wrote:
>> >> >>>> hi!
>> >> >>>>
>> >> >>>> I have downloaded the latest version of biojava and i have
>> >> included
>> >> >>>> all
>> >> >>>> the jar files in the
>> >> >>>>
>> >> >>>> (java home)/jre/lib/ext  folder. Problem is that my code runs
>> >> fine
>> >> >>>> when
>> >> >>>> I run it in an application but it is not working in the  
>> applet.
>> >> >>>>
>> >> >>>> One thing which I have noticed is that functions defined in
>> >> DNATools
>> >> >>>> are
>> >> >>>> static and I am calling a static function from a non-static  
>> one
>> >> , is
>> >> >>>> this any bug?
>> >> >>>>
>> >> >>>> Thanks a lot for ur reply.
>> >> >>>>
>> >> >>>>
>> >>  
>> ----------------------------------------------------------------------
>> >> >>>> --
>> >> >>>> Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge
>> >> >>>>
>> >> <http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/
>> >> >>>> 222>to
>> >> >>>> see what's on, when.
>> >> >>> -----BEGIN PGP SIGNATURE-----
>> >> >>> Version: GnuPG v1.4.2.2 (GNU/Linux)
>> >> >>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>> >> >>>
>> >> >>>  
>> iD8DBQFGg4Pi4C5LeMEKA/QRArpHAJ91uzlAlJ0qeTMiRMtWahdT5TCYVACeKpVh
>> >> >>> 6hY3O3WqoZT85IqqdBBhsXI=
>> >> >>> =3NlO
>> >> >>> -----END PGP SIGNATURE-----
>> >> >>> _______________________________________________
>> >> >>> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
>> >> >>> http://lists.open-bio.org/mailman/listinfo/biojava-l
>> >> >>>
>> >> >>>
>> >> >>
>> >>  
>> ----------------------------------------------------------------------
>> >> -
>> >> >>
>> >> >> Andreas Prlic      Wellcome Trust Sanger Institute
>> >> >>                               Hinxton, Cambridge CB10 1SA, UK
>> >> >>                         +44 (0) 1223 49 6891
>> >> >>
>> >> >>
>> >>  
>> ----------------------------------------------------------------------
>> >> -
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> The Wellcome Trust Sanger Institute is operated by Genome  
>> Research
>> >> >> Limited, a charity registered in England with number 1021457  
>> and a
>> >> >> company registered in England with number 2742969, whose  
>> registered
>> >> >> office is 215 Euston Road, London, NW1 2BE.
>> >> >> _______________________________________________
>> >> >> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
>> >> >> http://lists.open-bio.org/mailman/listinfo/biojava-l
>> >> >>
>> >> > _______________________________________________
>> >> > Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
>> >> > http://lists.open-bio.org/mailman/listinfo/biojava-l
>> >>
>> >
>> >
>> ---------------------------------------------------------------------- 
>> -
>>
>> Andreas Prlic      Wellcome Trust Sanger Institute
>>                                Hinxton, Cambridge CB10 1SA, UK
>>                          +44 (0) 1223 49 6891
>>
>> ---------------------------------------------------------------------- 
>> -
>>
>>
>>
>> --
>> The Wellcome Trust Sanger Institute is operated by Genome Research
>> Limited, a charity registered in England with number 1021457 and a
>> company registered in England with number 2742969, whose registered
>> office is 215 Euston Road, London, NW1 2BE.
>>
>
>
-----------------------------------------------------------------------

Andreas Prlic      Wellcome Trust Sanger Institute
                               Hinxton, Cambridge CB10 1SA, UK
			 +44 (0) 1223 49 6891

-----------------------------------------------------------------------



-- 
The Wellcome Trust Sanger Institute is operated by Genome Research 
Limited, a charity registered in England with number 1021457 and a 
company registered in England with number 2742969, whose registered 
office is 215 Euston Road, London, NW1 2BE.



More information about the Biojava-l mailing list