harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [general] M3 - code frozen
Date Mon, 24 Sep 2007 10:49:58 GMT

On 24 September 2007 at 11:46, Mark Hindess <mark.hindess@googlemail.com> wrote:
> 
> Maybe we should just replace the IDEAEngine.class with a dummy class
> that generates not implemented exceptions and reports how to get the
> real version.

Looks like someone else had a similar idea (pun intended, sorry ;-):

  https://issues.apache.org/jira/browse/GERONIMO-880

-Mark.
> 
> On 24 September 2007 at 17:31, "Mikhail Loenko" <mloenko@gmail.com> wrote:
> > 2007/9/23, Tim Ellison <t.p.ellison@gmail.com>:
> > > Stepan Mishura wrote:
> > > > According to the plan - Sept. 22 is code freeze date for M3 so let's
> > > > follow policy:
> > > > "no more commits please without agreement from two committers on the de
> v 
> > list."
> > > >
> > > > Let's do more testing and analyze if there any critical/blocker issues
> > > > for consideration.
> > > > Please raise here issues that you think MUST be fixed for M3.
> > >
> > > Agreed, thanks for the reminder.  The focus moves onto testing what we
> > > have got, and raising any regressions or bugs that seriously inhibit
> > > areas of functionality.  The goal is a stable build at the end of the mon
> th
> > .
> > >
> > > A MUST fix is removing the IDEA algorithm from the version of
> > > BouncyCastle that we redistribute -- see HARMONY-4810.
> > 
> > I think the changes are not that simple
> > 
> > We need to modify classes that refer to IDEA, for example
> > org/bouncycastle/jce/provider/BouncyCastleProvider.class
> > 
> > it defines list of properties which specify implemented algorithms:
> > 
> > public class a {
> >     public static void main(String[] args) throws Exception {
> >         java.security.Security.getProvider("BC").list(System.out);
> >     }
> > }
> > 
> > 
> > $ java a | grep -i idea
> > 
> > Alg.Alias.Mac.IDEA=IDEAMAC
> > Cipher.PBEWITHSHAANDIDEA-CBC=org.bouncycastle.jce.provider.JCEBloc...
> > Alg.Alias.AlgorithmParameters.PBEWITHSHAANDIDEA=PKCS12PBE
> > Cipher.IDEA=org.bouncycastle.jce.provider.JCEBloc...
> > KeyGenerator.IDEA=org.bouncycastle.jce.provider.JCEKeyG...
> > Alg.Alias.Mac.IDEA/CFB8=IDEAMAC/CFB8
> > AlgorithmParameters.IDEA=org.bouncycastle.jce.provider.JDKAlgo...
> > Alg.Alias.AlgorithmParameters.PBEWITHSHAANDIDEA-CBC=PKCS12PBE
> > Mac.IDEAMAC/CFB8=org.bouncycastle.jce.provider.JCEMac$...
> > Mac.IDEAMAC=org.bouncycastle.jce.provider.JCEMac$...
> > SecretKeyFactory.PBEWITHSHAANDIDEA-CBC=org.bouncycastle.jce.provider.JCESec
> r.
> > ..
> > AlgorithmParameterGenerator.IDEA=org.bouncycastle.jce.provider.JDKAlgo...
> > 
> > And there are more classes with IDEA in their name:
> > 
> > $ find . | grep -i IDEA
> > ./org/bouncycastle/asn1/misc/IDEACBCPar.class
> > ./org/bouncycastle/crypto/engines/IDEAEngine.class
> > ./org/bouncycastle/jce/provider/JCEBlockCipher$IDEA.class
> > ./org/bouncycastle/jce/provider/JCEBlockCipher$IDEACBC.class
> > ./org/bouncycastle/jce/provider/JCEBlockCipher$PBEWithSHAAndIDEA.class
> > ./org/bouncycastle/jce/provider/JCEKeyGenerator$IDEA.class
> > ./org/bouncycastle/jce/provider/JCEMac$IDEA.class
> > ./org/bouncycastle/jce/provider/JCEMac$IDEACFB8.class
> > ./org/bouncycastle/jce/provider/JCESecretKeyFactory$PBEWithSHAAndIDEA.class
> > ./org/bouncycastle/jce/provider/JCEStreamCipher$IDEA_CFB8.class
> > ./org/bouncycastle/jce/provider/JCEStreamCipher$IDEA_OFB8.class
> > ./org/bouncycastle/jce/provider/JDKAlgorithmParameterGenerator$IDEA.class
> > ./org/bouncycastle/jce/provider/JDKAlgorithmParameters$IDEAAlgorithmParamet
> er
> > s.class
> > 
> > Thanks,
> > Mikhail
> > 
> > >
> > > Shall we track these with an umbrella JIRA issue?
> > >
> > > As part of the code freeze, I'm going to resync the Java 6 branch.
> > >
> > > Regards,
> > > Tim
> > >
> > 
> 



Mime
View raw message