Hi
Seems like you need to configure GNU Crypto to not check for weak keys
see
http://www.gnu.org/software/gnu-crypto/#configuration, property
gnu.crypto.with.check.for.weak.keys
"Default value: true
true: Indicates that an additional check for so-called weak keys will
be carried out when generating the cipher sub-keys from user-defined
initial key material. Such checks may cause a
gnu.crypto.cipher.WeakKeyException (a subclass of
java.security.InvalidKeyException) to be thrown."
Hope that helps
Regards
Raj