GNU Crypto

2002-07-21 Thread Raif S. Naffah
hi there, Is therre an interest in incorporating the GNU Crypto library http://www.gnu.org/software/classpathx/crypto/crypto.html in other GNU project(s)? cheers; rsn ___ Classpath mailing list [EMAIL PROTECTED]

Re: GNU Crypto

2002-07-22 Thread Raif S. Naffah
hello Mark, Mark Wielaard wrote: Hi, On Sun, 2002-07-21 at 22:14, Raif S. Naffah wrote: Is therre an interest in incorporating the GNU Crypto library http://www.gnu.org/software/classpathx/crypto/crypto.html in other GNU project(s)? Yes that would be nice. GNU Classpath (which

Re: [PATCH] java.security miscellany

2003-03-08 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello Casey, On Sunday 09 March 2003 08:07, Casey Marshall wrote: Attached are the java.security patches I posted earlier... some of thoses clash/overlap with the patches i'm in the process of testing (writing Mauve test cases) and committing

Re: classpath ./ChangeLog ./THANKYOU ./configure.in...

2003-03-29 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Sunday 30 March 2003 02:18, Brian Jones wrote: Raif S. Naffah [EMAIL PROTECTED] writes: On Saturday 29 March 2003 18:27, Brian Jones wrote: Tom Tromey [EMAIL PROTECTED] writes: Brian == Brian Jones [EMAIL PROTECTED] writes

Re: classpath ./ChangeLog ./THANKYOU ./configure.in...

2003-03-30 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello David, On Monday 31 March 2003 06:13, David P Grove wrote: All of the java.security tests are passing on Jikes RVM with the cvs head of classpath mauve... can you post the build/test script, or point me to its location. i tried

running GNU Classpath with Jikes RVM

2003-03-30 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello there, i finally got the above combo to work. here is what i did with the usual caveat YMMV. the main difference with Julian's step-by step posted some time earlier on the list has to do with configuration values in step #3 below: 1.

Re: running GNU Classpath with Jikes RVM

2003-03-30 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Monday 31 March 2003 08:02, Raif S. Naffah wrote: ... i finally got the above combo to work... if you set a mauve-security input file for Mauve to only exercise the java.security packages, rvm completes normally with: 0 of 163 tests

Re: new jalopy available

2003-11-21 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Tue, 18 Nov 2003 12:19 pm, Tom Tromey wrote: ... I made a new release with these improvements. Once again, it is here: ftp://sources.redhat.com/pub/java/jalopy-console-1.0.4.tar.gz jalopy is able to handle grouping, and sorting, of

gnu-crypto.m4. was: new jalopy available

2003-11-21 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello Dalibor, (i'm cc-ing GNU Crypto) On Sat, 22 Nov 2003 10:51 am, Dalibor Topic wrote: ... p.s. is there some kind of gnu-crypto.m4 file for automake to add a --with-gnu-crypto option to it? I'd love having a simple way to chuck in GNU

Re: [GNU Crypto] Re: gnu-crypto.m4. was: new jalopy available

2003-11-24 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello Dalibor, On Mon, 24 Nov 2003 05:16 am, Dalibor Topic wrote: Raif S. Naffah wrote: On Sat, 22 Nov 2003 10:51 am, Dalibor Topic wrote: ... p.s. is there some kind of gnu-crypto.m4 file for automake to add a --with-gnu-crypto option

Re: Merging crypto into classpath

2004-07-18 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello Casey, On Mon, 19 Jul 2004 05:09, Casey Marshall wrote: We've recently gotten an OK to merge the parts of the Java class library implemented by GNU Crypto [1] and Jessie [2] into GNU Classpath... any reason why javax.security.sasl.*

Re: [GNU Crypto] RFC: merging GNU Crypto and Jessie

2005-12-07 Thread Raif S. Naffah
On Wednesday 07 December 2005 04:49, Casey Marshall wrote: On Dec 6, 2005, at 1:14 AM, Raif S. Naffah wrote: On Tuesday 06 December 2005 18:42, Casey Marshall wrote: A few of us have been throwing around the idea of merging GNU Crypto and Jessie into GNU Classpath, so Classpath will have

Re: [GNU Crypto] RFC: merging GNU Crypto and Jessie

2005-12-08 Thread Raif S. Naffah
On Thursday 08 December 2005 08:21, Casey Marshall wrote: On Dec 6, 2005, at 11:57 PM, Raif S. Naffah wrote: On Wednesday 07 December 2005 04:49, Casey Marshall wrote: On Dec 6, 2005, at 1:14 AM, Raif S. Naffah wrote: On Tuesday 06 December 2005 18:42, Casey Marshall wrote: A few of us

Re: [GNU Crypto] Re: [Jessie-discuss] Re: RFC: merging GNU Crypto and Jessie

2005-12-12 Thread Raif S. Naffah
On Monday 12 December 2005 01:45, Anthony Green wrote: On Sun, 2005-12-11 at 15:19 +0100, Mark Wielaard wrote: If there are situations where you are not able to (re)distribute the GNU Classpath source code and/or follow the the BIS/ENC notification procedures as done by the various

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Raif S. Naffah
On Friday 23 December 2005 06:34, Tom Tromey wrote: I've checked in the Eclipse jar builder to Classpath head, and now my fakejdk project is available. This means you can easily start playing with an in-workspace VM in Eclipse. To do this, follow the wiki instructions to check out and build

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Raif S. Naffah
hello Mark, On Friday 23 December 2005 21:56, Mark Wielaard wrote: On Fri, 2005-12-23 at 19:56 +1100, Raif S. Naffah wrote: Now, go to Window-Preferences-Java-Installed JREs and choose 'Add...' to add a new one. I named mine Cacao. For the JRE home directory, choose $workspace/fakejdk

JUnit

2005-12-23 Thread Raif S. Naffah
hello all, soon the GNU Crypto classes will be moving to Classpath. i thought now is the right time to bring this subject since it makes it easier for those involved in this work. the proposal is to port the GNU Crypto Mauve tests to use JUnit instead. this would make it easier to test

Re: JUnit

2005-12-24 Thread Raif S. Naffah
On Saturday 24 December 2005 09:15, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif the proposal is to port the GNU Crypto Mauve tests to use JUnit Raif instead. this would make it easier to test using an IDE such as Raif the Native Eclipse. Raif is this idea worth

proposed plan for moving GNU Crypto to Classpath

2005-12-27 Thread Raif S. Naffah
hello all, here is a proposed plan for the move: * create a gnu.classpath.crypto package hierarchy which will contain the following (GNU Crypto) sub-packages: - auth - hash - jce --renamed java - key - keyring - pki - prng --weak algos - sasl - sig - util * create a new

Re: [GNU Crypto] Re: [Jessie-discuss] Re: RFC: merging GNU Crypto and Jessie

2005-12-28 Thread Raif S. Naffah
hello Anthony, On Monday 12 December 2005 20:52, Anthony Green wrote: On Mon, 2005-12-12 at 20:48 +1100, Raif S. Naffah wrote: would adding a second Provider --that supplies the strong stuff; i.e. ciphers, modes, padding, etc..-- living in its own package sub-directory/hierarchy

Re: New GNU Classpath developer Raif Naffah

2006-01-03 Thread Raif S. Naffah
hello Mark and Audrius, On Tuesday 03 January 2006 07:23, Mark Wielaard wrote: ... I am happy to announce that Raïf decided to become one of our active hackers... ... ...Please post a patch and ChangeLog entry to add yourself to the AUTHORS file to the classpath-patches mailinglist. You

Re: Using a workspace-based VM in Eclipse

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 01:55, Tom Tromey wrote: Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony This worked pretty well for me, thanks. I wasn't able to get Anthony cacao via cvs (server down?), so I used jamvm. The only Anthony gotcha I had is that jamvm requires jikes to

a crazy idea -- the Book

2006-01-14 Thread Raif S. Naffah
hello all, with every visit to the bookstore i see new titles about java, swing, etc. most of them being just printed collections of already public APIs. Classpath is more than just a bunch of APIs, and if there's a book worth reading about Java (and free VMs) it would be about what this

Re: [Bug classpath/25202] javax.security.auth.login.LoginException: no configured modules for

2006-01-14 Thread Raif S. Naffah
On Sunday 15 January 2006 12:23, Casey Marshall wrote: On Jan 14, 2006, at 4:56 PM, raif at swiftdsl dot com dot au wrote: On Sunday 15 January 2006 11:21, csm at gnu dot org wrote: On Jan 14, 2006, at 3:02 PM, raif at swiftdsl dot com dot au wrote: On Sunday 15 January 2006 09:29, csm at

[The Book]

2006-01-17 Thread Raif S. Naffah
On Sunday 15 January 2006 07:51, i wrote: ... Classpath is more than just a bunch of APIs, and if there's a book worth reading about Java (and free VMs) it would be about what this project, its team of collaborators and hackers, and user VMs. i'm not talking about people but software: what

Re: gnu classpath and crypto SealedObject usage

2006-01-26 Thread Raif S. Naffah
hello tabun, On Thursday 26 January 2006 16:59, [EMAIL PROTECTED] wrote: Hi there, I'm attempting to use a SealedObject with gcj please post a minimal code that causes the exception to occur. TIA + cheers; rsn pgpr1szE5CGBw.pgp Description: PGP signature

Re: RFC: jessie-nio branch, keytool

2006-02-27 Thread Raif S. Naffah
hello Casey, On Monday 27 February 2006 08:42, Casey Marshall wrote: ... Also, in GNU Crypto we were working on a replacement for `keytool;' do we want to merge that into Classpath, too? i personally think it should be added to the gnu.classpath.tools. there are also two other tools that

implementing javax.security.auth.kerberos

2006-02-27 Thread Raif S. Naffah
hello all, looking at the latest JAPI comparisons with JDK 1.4, i noticed we're missing the above. if anyone is already working on them let me know, otherwise i'll start implementing these missing classes. cheers; rsn pgp7xVamJfHyi.pgp Description: PGP signature

Re: implementing javax.security.auth.kerberos

2006-02-28 Thread Raif S. Naffah
hello all, On Tuesday 28 February 2006 07:14, Mark Wielaard wrote: On Tue, 2006-02-28 at 07:04 +1100, Raif S. Naffah wrote: if anyone is already working on them let me know, otherwise i'll start implementing these missing classes. Jeff started on this. See: http://lists.gnu.org/archive

milestone for release 1. was Next release

2006-02-28 Thread Raif S. Naffah
hello all, what is the expected milestone (definition and how to measure it) to reach before releasing a version 1 --or 1.4 whatever that final number will be? cheers; rsn pgpedKocpYsKX.pgp Description: PGP signature

Re: milestone for release 1. was Next release

2006-03-01 Thread Raif S. Naffah
hello Mark, On Wednesday 01 March 2006 22:23, Mark Wielaard wrote: On Wed, 2006-03-01 at 05:51 +1100, Raif S. Naffah wrote: what is the expected milestone (definition and how to measure it) to reach before releasing a version 1 --or 1.4 whatever that final number will be? According

RFI: Manifest line endings is platform independant

2006-03-04 Thread Raif S. Naffah
hello there, while working on the jarsigner tool, i am seeing the Manifest file being generated by both JDKs 1.4 and 1.5, is using a 0x0D0A as its line endings, even when the jar file containing this manifest was generated on a linux platform. this is not the case with our implementation of

Re: jarsigner tool

2006-03-23 Thread Raif S. Naffah
hello Mark, On Thursday 23 March 2006 22:06, Mark Wielaard wrote: On Thu, 2006-03-23 at 21:16 +1100, Raif S. Naffah wrote: ...i'd like a second opinion on a legal-related issue. the tool reads and uses private and public cryptographic data from a keystore that is in a proprietary format

Re: jarsigner tool

2006-03-23 Thread Raif S. Naffah
hello Roman, On Thursday 23 March 2006 23:18, Roman Kennke wrote: ...A jarsigner can well be implemented without JKS and have a Provider plugged in for different keystore formats. This would be done via the java.security.KeyStore.getInstance() method AFAICS. I think this is what Sun's

keytool. was: jarsigner tool

2006-03-28 Thread Raif S. Naffah
hello Mark, On Wednesday 29 March 2006 03:45, Mark Wielaard wrote: ... I will send an email to FSF legal about using a (reimplementation) of the JKS format. Done and answered. We are free to reimplement this. File formats and algorithms aren't copyrightable, so any code we write to

Re: keytool. was: jarsigner tool

2006-03-29 Thread Raif S. Naffah
hello Casey, On Wednesday 29 March 2006 12:01, Casey Marshall wrote: On Mar 28, 2006, at 11:56 AM, Raif S. Naffah wrote: ... Note that there is a beginning of a keytool implementation in GNU Crypto CVS. Some of the basic functions work (list, export, and import, I think), so it may

Re: Current Release Status for 0.91

2006-04-27 Thread Raif S. Naffah
hello Andrew, On Friday 28 April 2006 01:57, Andrew John Hughes wrote: On Thu, 27 Apr 2006 16:14:28 +0100 Andrew John Hughes [EMAIL PROTECTED] wrote: On Thu, 27 Apr 2006 16:01:51 +0100 Andrew John Hughes [EMAIL PROTECTED] wrote: ... Running Mauve against HEAD gave 44279 PASSes and 562

Re: Room for more block ciphers?

2006-06-01 Thread Raif S. Naffah
hello Morgon, On Wednesday 31 May 2006 21:59, Morgon Kanter wrote: Hello, Somewhat recently, the gnu-crypto project got merged into Classpath. As I live in a cave underground and only come out once every few months, I was unaware of this and working on a few new block cipher implementations

Re: Using Eclipse on OS X

2006-06-02 Thread Raif S. Naffah
On Saturday 03 June 2006 06:33, Casey Marshall wrote: Hi. I'm trying to use Eclipse to hack on Classpath on OS X, and have run into the immediate problem of `INSTALL' conflicting with `install,' since my boot disk is a case-insensitive HFS+ volume (the first is the INSTALL file that all GNU

Re: GOST cipher related added.

2006-06-04 Thread Raif S. Naffah
hello Morgon, the first thing to do if you plan on contributing code to the project is to ensure that copyright assignment papers, for GNU Classpath, are signed. i don't know if you have already done so, but in case you haven't, Mark Wielaard should be able to guide you in that process. On

Re: Mauve reports

2006-06-09 Thread Raif S. Naffah
hello Roman, On Friday 09 June 2006 00:13, Roman Kennke wrote: FYI: I have set up my old Mauve report script on builder.classpath.org to generate nice HTML for the Mauve results: http://builder.classpath.org/mauve/mauvereport.cgi very useful. thanks for doing this. This really is only a

Re: [crypto] OAEP AONT (gnu/javax/crypto/mode/OAE.java)

2006-06-15 Thread Raif S. Naffah
hello John, On Friday 16 June 2006 00:57, John Pritchard wrote: dear reader, attached is an OAEP AONT, ready for your comments or cvs thanks for your contribution! i do have some comments: * it would be very helpful to include in the class documentation web references (HREFs) to cited

Re: [crypto] OAEP AONT (gnu/javax/crypto/mode/OAE.java)

2006-06-16 Thread Raif S. Naffah
hello John, On Saturday 17 June 2006 00:35, John Pritchard wrote: Raif, thanks for your comments. the doc references have been linked, thanks. the Init links have been changed to Doc ones, yes but that does not help! linking @see references to anchors in the class's javadoc does not

Re: Crypto components as external JCE provider

2006-06-22 Thread Raif S. Naffah
On Thursday 22 June 2006 08:36, Vivek Lakshmanan wrote: Hi All, A few of us have been discussing extracting the crypto components in classpath as an external JCE provider especially for use with Java 1.4.x based VMs (PR27649 for those looking for the whole story). This will also help those

Re: Crypto components as external JCE provider

2006-06-22 Thread Raif S. Naffah
hello Michael, On Thursday 22 June 2006 21:24, Michael Koch wrote: On Thu, Jun 22, 2006 at 08:07:19PM +1000, Raif S. Naffah wrote: On Thursday 22 June 2006 08:36, Vivek Lakshmanan wrote: ... 4) Code in these packages (especially the JCE provider packages) will only use Java 1.4.x

Re: diffie-hellman problem

2006-06-27 Thread Raif S. Naffah
hello Christian, On Tuesday 27 June 2006 08:25, Christian Thalinger wrote: Hi! I'm trying to run an application which uses a lot of crypto stuff and I ran into some problems. A friend of mine told me to try some tests, like this one:

Re: diffie-hellman problem

2006-06-27 Thread Raif S. Naffah
hello Christian, On Tuesday 27 June 2006 19:45, Christian Thalinger wrote: On Tue, 2006-06-27 at 19:35 +1000, Raif S. Naffah wrote: i'll have a closer look at it and will let you know. btw. i presume you're using the CVS HEAD? Yes, right. found the problem; should be able to check

Re: [cp-patches] FYI: X peers

2006-07-01 Thread Raif S. Naffah
hello Michael, On Saturday 01 July 2006 20:05, Michael Koch wrote: On Sat, Jul 01, 2006 at 10:33:10AM +0200, Roman Kennke wrote: Am Samstag, den 01.07.2006, 09:24 +1000 schrieb Raif S. Naffah: On Friday 30 June 2006 01:27, Roman Kennke wrote: I checked in the Escher-based X peers

Re: RSA-OAEP support in classpath-crypto

2006-07-07 Thread Raif S. Naffah
hello John, On Thursday 06 July 2006 23:04, John Pritchard wrote: ... Having a look at Pads again last night, there's no way for a Pad to get configured the only attribute that can currently be configured on an IPad is the pad block size. usually when an algorithm of a certain type offers

Re: RSA-OAEP support in classpath-crypto

2006-07-11 Thread Raif S. Naffah
hello John. On Tuesday 11 July 2006 00:23, John Pritchard wrote: hi raif, Having a look at Pads again last night, there's no way for a Pad to get configured we can also add an additional initialisation method --init(Map attributes)-- to the padding interface to cater for this new

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-03 Thread Raif S. Naffah
hello Mario, On Friday 04 August 2006 09:32, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 09.12 +1000, Raif S. Naffah ha scritto: i'm getting a segmentation fault caused by /usr/lib/libgconf-2.so.4 (FC5) when trying to run jamvm with Classpath (both CVS Head)... anybody else is seeing

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-03 Thread Raif S. Naffah
On Friday 04 August 2006 09:49, Raif S. Naffah wrote: On Friday 04 August 2006 09:32, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 09.12 +1000, Raif S. Naffah ha scritto: i'm getting a segmentation fault caused by /usr/lib/libgconf-2.so.4 (FC5) when trying to run jamvm with Classpath

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-03 Thread Raif S. Naffah
On Friday 04 August 2006 10:53, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 10.13 +1000, Raif S. Naffah ha scritto: On Friday 04 August 2006 09:49, Raif S. Naffah wrote: On Friday 04 August 2006 09:32, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 09.12 +1000, Raif S. Naffah ha

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-03 Thread Raif S. Naffah
hello Mario, On Friday 04 August 2006 11:09, Raif S. Naffah wrote: On Friday 04 August 2006 10:53, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 10.13 +1000, Raif S. Naffah ha scritto: On Friday 04 August 2006 09:49, Raif S. Naffah wrote: On Friday 04 August 2006 09:32, Mario Torre

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-04 Thread Raif S. Naffah
ciao Mario, On Friday 04 August 2006 20:29, Mario Torre wrote: ... For the configure patch (any non trivial commit), I need approval so I have not committed it also. I wait feedback :) i'm attaching another alternative to the default-preferences-peer option which covers all existing three

Re: SIGSEGV caused by libgconf-2.so.4

2006-08-04 Thread Raif S. Naffah
ciao Mario, On Saturday 05 August 2006 02:22, Mario Torre wrote: Il giorno ven, 04/08/2006 alle 22.48 +1000, Raif S. Naffah ha scritto: --enable-default-preferences-peer=peer type or class name specify one of: gconf [default] for a GConf based backend, file

possible problem with gcjh (long)

2006-09-06 Thread Raif S. Naffah
hello there, i'm trying to generate the header file for a java class using: $ gcjh --version gcjh (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)... $ gcjh -jni -classpath . -o OC_IC.h OC$IC but i get an (almost) empty file (OC_IC.h.1). using javah (JDK5), with the following command, i get what i

Re: possible problem with gcjh (long)

2006-09-07 Thread Raif S. Naffah
On Thursday 07 September 2006 08:43, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif $ gcjh -jni -classpath . -o OC_IC.h OC$IC ... Try OC\$IC and you will get a different result. indeed. Raif $ /opt/jdk1.5.0_08/bin/javah -jni -classpath . -o OC_IC.h OC$IC I'd

Re: possible problem with gcjh (long)

2006-09-07 Thread Raif S. Naffah
On Friday 08 September 2006 02:58, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif i'm attaching an OC$.java source and the generated header using Raif gcjh. same behaviour --the dollar symbol is replaced by its Raif unicode codepoint. Could you send the header file

Re: Classpath and gnu-crypto

2006-09-19 Thread Raif S. Naffah
hello Daniel, On Wednesday 20 September 2006 03:35, Daniel Franganillo wrote: ... 1 - Class: import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.security.KeyPair; import java.security.Security; import gnu.crypto.key.rsa.RSAKeyPairGenerator;

Re: native methods in inner classes (long)

2006-09-20 Thread Raif S. Naffah
On Wednesday 20 September 2006 07:36, Christian Thalinger wrote: On Tue, 2006-09-19 at 23:08 +0200, Christian Thalinger wrote: On Wed, 2006-09-20 at 06:02 +1000, Raif S. Naffah wrote: * with both cacao and jamvm, even with the second signature, running the code causes

Re: native methods in inner classes (long)

2006-09-21 Thread Raif S. Naffah
On Thursday 21 September 2006 06:43, Robert Lougher wrote: On 9/20/06, Robert Lougher [EMAIL PROTECTED] wrote: Anyway, I'll check a patch in for JamVM tonight. Committed... and it works! thanks + cheers; rsn pgpuQR8oHuNjo.pgp Description: PGP signature

Re: possible problem with gcjh (long)

2006-09-22 Thread Raif S. Naffah
hello Tom, On Thursday 07 September 2006 08:43, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: ... Raif $ /opt/jdk1.5.0_08/bin/javah -jni -classpath . -o OC_IC.h OC$IC I'd guess that javah is also reading inner classes... gcjh will probably never do this, I'm afraid

Re: gkeytool error

2006-10-20 Thread Raif S. Naffah
On Friday 20 October 2006 19:35, Haoyang Lin wrote: ... I did the same as you said. but the errors are still the same as before errors: java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main No stacktrace available Caused by: java.lang.ClassNotFoundException:

Re: Exporting the private key from gnu keystore

2007-06-04 Thread Raif S. Naffah
hello Felix, On Wed May 30 2007 21:14:28 Felix Seeger wrote: ... I created a key/csr with keytool. Since Debian installed keytool in a $PATH directory I have used gnu keytool which Sun Java cannot use... Is there way to convert the keystore into the sun format, i don't know of such tools.

[cp-patches] ensure LOCALHOST is used when localhost name is unsuable

2005-12-30 Thread Raif S. Naffah
hello all, pls. find attached a patch to do the above. sometimes, the parameter localhost (to the InetAddress.getAllByName(String) method) is an empty string which causes an UnknownHostException to be thrown. the patch ensures that if this is the case LOCALHOST is used instead. cheers; rsn

Re: [cp-patches] ensure LOCALHOST is used when localhost name is unsuable

2006-01-01 Thread Raif S. Naffah
hello Mark, On Monday 02 January 2006 00:50, Mark Wielaard wrote: Hi Raif, On Tue, 2005-12-27 at 10:19 +1100, Raif S. Naffah wrote: pls. find attached a patch to do the above. sometimes, the parameter localhost (to the InetAddress.getAllByName(String) method) is an empty string which

Re: [cp-patches] ensure names are trimmed

2006-01-01 Thread Raif S. Naffah
hello Mark, On Monday 02 January 2006 01:02, Mark Wielaard wrote: Hi Raif, On Tue, 2005-12-27 at 11:31 +1100, Raif S. Naffah wrote: pls. find attached a patch for security related classes. the patch ensures that names of provider, service and (message digest) algorithm are trimmed

[cp-patches] java.security.Security

2006-01-02 Thread Raif S. Naffah
hello there, this is a patch for the above class. the corresponding ChangeLog entry follows: 2006-01-03 raif [EMAIL PROTECTED] * java/security/Security.java (getProvider): Ensures provider's name is not null, not an empty string, and is trimmed before usage. cheers; rsn

Re: [cp-patches] java.security.Security

2006-01-03 Thread Raif S. Naffah
hello Mark, On Tuesday 03 January 2006 07:42, Mark Wielaard wrote: Hi, On Tue, 2006-01-03 at 01:34 +1100, Raif S. Naffah wrote: 2006-01-03 raif [EMAIL PROTECTED] * java/security/Security.java (getProvider): Ensures provider's name is not null, not an empty string, and is trimmed

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-05 Thread Raif S. Naffah
hello Mark and Casey, (i'm cc-ing Tom on this) On Friday 06 January 2006 06:45, Casey Marshall wrote: On Jan 5, 2006, at 3:58 AM, Mark Wielaard wrote: On Sun, 2005-12-25 at 17:06 -0800, Casey Marshall wrote: I've moved GNU Crypto and Jessie into my Classpath tree, approximately as I

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
hello, On Saturday 07 January 2006 08:30, Thomas Fitzsimmons wrote: On Sun, 2005-12-25 at 17:06 -0800, Casey Marshall wrote: Hi, I've moved GNU Crypto and Jessie into my Classpath tree, approximately as I proposed to do earlier. The patch to Classpath, and a tarball of all the new

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 07:12, Casey Marshall wrote: On Jan 6, 2006, at 12:50 AM, Mark Wielaard wrote: Hi, On Thu, 2006-01-05 at 15:07 -0800, Casey Marshall wrote: We just shove exportable algorithms and providers under `gnu/java/ security,' and non-exportable algorithms and

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 11:32, Casey Marshall wrote: On Jan 6, 2006, at 1:12 PM, Raif S. Naffah wrote: On Saturday 07 January 2006 05:48, Casey Marshall wrote: On Jan 6, 2006, at 12:41 AM, Raif S. Naffah wrote: On Friday 06 January 2006 10:07, Casey Marshall wrote: After thinking

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 12:58, Casey Marshall wrote: On Jan 6, 2006, at 5:41 PM, Raif S. Naffah wrote: On Saturday 07 January 2006 11:32, Casey Marshall wrote: You have to do that if you want to present a unified factory interface to (e.g.) all PRNG implementations. But we don't have

[cp-patches] fix for PR25202

2006-01-14 Thread Raif S. Naffah
ChangeLog --- ChangeLog 14 Jan 2006 11:14:43 - 1.6064 +++ ChangeLog 14 Jan 2006 20:03:38 - @@ -1,3 +1,16 @@ +2006-01-15 Raif S. Naffah [EMAIL PROTECTED] + + * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class. + * gnu/javax/security/auth/login/ConfigFileParser.java: New class

[cp-patches] patch (revised) for PR25202

2006-01-15 Thread Raif S. Naffah
20:03:38 - @@ -1,3 +1,15 @@ +2006-01-15 Raif S. Naffah [EMAIL PROTECTED] + + * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class. + * gnu/javax/security/auth/login/ConfigFileParser.java: New class. + * gnu/javax/security/auth/login/GnuConfiguration.java: New class. + * javax

[cp-patches] Re: RFC: GNU Crypto and Jessie (again)

2006-01-23 Thread Raif S. Naffah
hello Casey, On Monday 23 January 2006 16:31, Casey Marshall wrote: On Jan 22, 2006, at 3:19 PM, Mark Wielaard wrote: On Sat, 2006-01-21 at 19:06 -0800, Casey Marshall wrote: I've finished splitting GNU Crypto along weak and strong lines, reformatted the code in GNU Crypto, and added the

[cp-patches] Re: RFC: GNU Crypto and Jessie (again)

2006-01-25 Thread Raif S. Naffah
hello Casey, On Wednesday 25 January 2006 15:49, Casey Marshall wrote: On Jan 24, 2006, at 1:18 AM, Raif S. Naffah wrote: On Tuesday 24 January 2006 06:28, Casey Marshall wrote: On Jan 23, 2006, at 9:34 AM, Raif S. Naffah wrote: ... i see that the utility class PRNG has been removed

Re: [cp-patches] FYI: Registry update and HMac cloneability

2006-01-28 Thread Raif S. Naffah
On Sunday 29 January 2006 00:10, Mark Wielaard wrote: Hi Raif, On Sat, 2006-01-28 at 13:51 +1100, Raif S. Naffah wrote: 2006-01-28 Raif S. Naffah [EMAIL PROTECTED] * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable. That give the following compile error (with jikes

Re: [cp-patches] FYI: Registry update and HMac cloneability

2006-01-28 Thread Raif S. Naffah
On Sunday 29 January 2006 04:54, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif + public Object clone() Raif + { Raif +HMac result = new HMac((IMessageDigest) underlyingHash.clone()); Raif +result.ipadHash = this.ipadHash; Raif +result.opadHash

Re: [cp-patches] FYI: Registry update and HMac cloneability

2006-01-28 Thread Raif S. Naffah
hello all, On Sunday 29 January 2006 04:43, Raif S. Naffah wrote: On Sunday 29 January 2006 00:10, Mark Wielaard wrote: ... BTW. Why do ipadHash and opadHash cloned? IMessageDigests aren't immutable so shouldn't they be cloned? you're right... and On Sunday 29 January 2006 04:54, Tom

Re: [cp-patches] FYI: Registry update and HMac cloneability

2006-01-28 Thread Raif S. Naffah
hello David, On Sunday 29 January 2006 10:15, David Gilbert wrote: Raif S. Naffah wrote: ... i've added to Mauve a new TestOfHMacCloneability (under gnu.testlet.javax.crypto.mac)... One comment regarding the Mauve tests: to keep things as simple as possible for people using Mauve to test

[cp-patches] FYI: Prime2 patch

2006-01-29 Thread Raif S. Naffah
hello there, this patch fixes a bug in the Euler criterion test implementation, removed some unused methods and makes the BigInteger.isProbablePrime the main (for the time being) primality test. 2006-01-30 Raif S. Naffah [EMAIL PROTECTED] * gnu/java/security/util/Prime2.java

[cp-patches] FYI: BaseMac and HMac cloning

2006-01-30 Thread Raif S. Naffah
hello there, the attached patch ensures cloning of HMac implementations. ChangeLog entry follows: 2006-01-30 Raif S. Naffah [EMAIL PROTECTED] * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and the ipad buffer. * gnu/javax/crypto/mac/BaseMac.java

Re: [cp-patches] Use gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi for DSS/DSA

2006-02-01 Thread Raif S. Naffah
hello Mark, sorry for the late reply. On Monday 30 January 2006 22:55, Mark Wielaard wrote: Hi Raif, On Mon, 2006-01-30 at 19:57 +1100, Raif S. Naffah wrote: this patch designates gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi as the implementation of DSS (alias DSA), effectively

Re: [cp-patches] Use gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi for DSS/DSA

2006-02-02 Thread Raif S. Naffah
On Thursday 02 February 2006 02:42, Casey Marshall wrote: On Jan 30, 2006, at 3:55 AM, Mark Wielaard wrote: Hi Raif, On Mon, 2006-01-30 at 19:57 +1100, Raif S. Naffah wrote: this patch designates gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi as the implementation of DSS (alias DSA

[cp-patches] default PRNG

2006-02-02 Thread Raif S. Naffah
setup: STRICT_DEFAULTS. by default this is false, for backward compatibility. it's added to allow fulfilling a JCE requirement of throwing an exception when default parameters are requested but not available. the ChangeLog entry follows: 2006-02-02 Raif S. Naffah [EMAIL PROTECTED

Re: [cp-patches] java/security/KeyPairGenerator.java

2006-02-03 Thread Raif S. Naffah
On Friday 03 February 2006 07:16, Mark Wielaard wrote: On Thu, 2006-02-02 at 21:41 +1100, Raif S. Naffah wrote: ... 2006-02-02 Raif S. Naffah [EMAIL PROTECTED] * java/security/KeyPairGenerator.java (getInstance): Test for instanceof KeyPairGenerator before KeyPairGeneratorSpi

[cp-patches] FYI. was: default PRNG

2006-02-03 Thread Raif S. Naffah
On Thursday 02 February 2006 21:37, Raif S. Naffah wrote: ... this patch ...replaces the new SecureRandom() occurrences with the use of an instance field (or in two cases where the class has only static methods, with a class field) set to an instance of a default PRNG (a seeded MDGenerator

[cp-patches] DSSKeyPairGenerator JCE Adapter

2006-02-03 Thread Raif S. Naffah
. DSSKeyPairGeneratorSpi (in gnu/java.security.jce.sig) now implements the java.security.interfaces.DSAKeyPairGenerator. 2006-02-04 Raif S. Naffah [EMAIL PROTECTED] * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement DSAKeyPairGenerator. (initialize(int,SecureRandom

Re: [cp-patches] DSSKeyPairGenerator JCE Adapter

2006-02-03 Thread Raif S. Naffah
On Saturday 04 February 2006 11:34, Casey Marshall wrote: On Feb 3, 2006, at 1:31 PM, Raif S. Naffah wrote: hello there, this patch makes the keypair-generators wrapped in gnu.java.security.jce.sig.KeyPairGeneratorAdapter extend the java.security.KeyPairGenerator rather than

Re: [cp-patches] DSSKeyPairGenerator JCE Adapter

2006-02-04 Thread Raif S. Naffah
hello all, On Saturday 04 February 2006 20:52, Mark Wielaard wrote: On Fri, 2006-02-03 at 16:34 -0800, Casey Marshall wrote: Looks wrong to me; you usually break lines after `,' or `+' in long expressions like this, not after the `(' (Emacs will break the formatting here, and will indent

[cp-patches] Re: FYI: Fixup ChangeLog

2006-02-04 Thread Raif S. Naffah
hello Mark, On Saturday 04 February 2006 23:46, Mark Wielaard wrote: Hi, The latest ChangeLog entry from Raif had a string of A0A0A0A0A0A0A0A0 characters instead of a tab... Raif, could you see what produces those characters in your entries? yes. i think i know how they got there.

Re: [cp-patches] DSSKeyPairGenerator JCE Adapter

2006-02-04 Thread Raif S. Naffah
hello Mark, On Sunday 05 February 2006 00:03, Mark Wielaard wrote: On Sat, 2006-02-04 at 22:19 +1100, Raif S. Naffah wrote: ... // --- --- // gnu.java.security.key.IKeyPairCodec interface implementation

Re: [cp-patches] DSSKeyPairGenerator JCE Adapter

2006-02-06 Thread Raif S. Naffah
hello Mark, On Monday 06 February 2006 09:53, Mark Wielaard wrote: Hi Raif, On Sun, 2006-02-05 at 09:12 +1100, Raif S. Naffah wrote: if (!(key instanceof DSSPublicKey)) throw new InvalidParameterException(key); Officially there is a space after each operator, so also

[cp-patches] Eclipse GNU style

2006-02-06 Thread Raif S. Naffah
hello there, this is a patch for the srcipts/eclipse-gnu.xml style specs that does the following: * force a line split on extends and implements clauses. * force a whitespace after unary operators. * does not force a new-line after a @param tag. * force a new-line at the end of a .java file.

[cp-patches] Use of OID strings

2006-02-06 Thread Raif S. Naffah
hello there, this is a patch that fixes a wrong OID string used in GnuDSAPublicKey and replaces OID strings use in both the DSA and RSA public and private keys (under the gnu.java.secuity.provider hierarchy by their Registry equivalent. ChangeLog entry is: 2006-02-06 Raif S. Naffah [EMAIL

Re: [cp-patches] Use of OID strings

2006-02-06 Thread Raif S. Naffah
On Monday 06 February 2006 20:40, Raif S. Naffah wrote: ... this is a patch that fixes a wrong OID string... the previous patch did not include the RSA changes. the attached patch is the correct one. cheers; rsn Index: EncodedKeyFactory.java

Re: [cp-patches] Eclipse GNU style

2006-02-06 Thread Raif S. Naffah
On Tuesday 07 February 2006 03:54, Tom Tromey wrote: Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif this is a patch for the srcipts/eclipse-gnu.xml style specs that does Raif the following: FWIW, with Eclipse 3.1 I don't think we need this file any more. We have the style checked

  1   2   3   4   >