2007/9/23, Tim Ellison <[EMAIL PROTECTED]>:
> 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 dev
> > 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 month.
>
> 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.JCESecr...
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$IDEAAlgorithmParameters.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
>