From nmav at hellug.gr Thu Mar 2 23:02:07 2000 From: nmav at hellug.gr (Nikos Mavroyanopoulos) Date: Fri, 3 Mar 2000 00:02:07 +0200 Subject: gnutls_send Message-ID: <20000303000207.A19379@i-net.paiko.gr> I've almost finished the gnutls_send function. I've tested the output in a file descriptor. I'll really test it when i finished the gnutls_receive, and then i'll check it against other implementations. Is there any cvs repository so i can send the code there? If there are problems getting that, i can contact the local linux group. They'll probably give us space. [ For the hmac implementation i'm currently using libmhash. ] -- Nikos Mavroyanopoulos mailto:nmav at hellug.gr From wk at gnupg.org Fri Mar 3 11:23:22 2000 From: wk at gnupg.org (Werner Koch) Date: Fri, 3 Mar 2000 11:23:22 +0100 Subject: gnutls_send In-Reply-To: <20000303000207.A19379@i-net.paiko.gr>; from nmav@hellug.gr on Fri, Mar 03, 2000 at 12:02:07AM +0200 References: <20000303000207.A19379@i-net.paiko.gr> Message-ID: <20000303112322.Q32442@djebel.gnupg.de> On Fri, 3 Mar 2000, Nikos Mavroyanopoulos wrote: > Is there any cvs repository so i can send the code there? If there are > problems getting that, i can contact the local linux group. They'll probably > give us space. Nikos, please send me a ssh v2 public key in private mail and I create an account for you. Then I will create a CVS module for you. Werner From nmav at hellug.gr Wed Mar 8 12:12:02 2000 From: nmav at hellug.gr (Nikos Mavroyanopoulos) Date: Wed, 8 Mar 2000 13:12:02 +0200 Subject: cvs Message-ID: <20000308131202.A5965@i-net.paiko.gr> A description of the existing code: gnutls.h: There are all the declarations mentioned in the rfc (at least the needed ones, for receiving-sending). gnutls_plaintext.c: converts data to a gnutls_plaintext packet gnutls_compress.c: converts a gnutls_plaintext packet to a gnutls_compressed one gnutls_cipher.c: converts a gnutls_compressed packet to a gnutls_ciphertext one test.c: opens a file descriptor (ciphertext file) and uses gnutls_send to write data. gnutls.c: contains the initialization functions the PRF and gnutls_send/recv the recv is not ready yet. to convert data to a gnutls_ciphertext packet i do the following: _gnutls_text2TLSPlaintext(type, >xt, data, Size); /* data -> plaintext packet */ _gnutls_TLSPlaintext2TLSCompressed(state, &gcomp, gtxt); /* plaintext packet -> compressed */ _gnutls_freeTLSPlaintext(gtxt); /* destroys the plaintext packet */ _gnutls_TLSCompressed2TLSCiphertext( state, &gcipher, gcomp); /* compressed -> ciphertext */ _gnutls_freeTLSCompressed(gcomp); /* destroys the compressed packet */ This scheme may not be good. Do you have any other idea? -- Nikos Mavroyanopoulos mailto:nmav at hellug.gr From wk at gnupg.org Thu Mar 9 12:41:59 2000 From: wk at gnupg.org (Werner Koch) Date: Thu, 9 Mar 2000 12:41:59 +0100 Subject: CVS is online Message-ID: <20000309124159.L27044@djebel.gnupg.de> Hi, anon CVS for gnutls is reay for use: cvs -z3 -d :pserver:anonymous at ftp.guug.de:/home/koch/cvs login use the password "anonymous". To check out the the complete archive use: cvs -z3 -d :pserver:anonymous at ftp.guug.de:/home/koch/cvs checkout gnutls You must run buildgen.sh before doing the ./configure, as this creates some needed while which are not in the CVS. autogen.sh should checks that you have all required tools installed. Any questions please to this ML. Werner From wk at gnupg.org Wed Mar 15 13:54:06 2000 From: wk at gnupg.org (Werner Koch) Date: Wed, 15 Mar 2000 13:54:06 +0100 Subject: cvs.gnupg.org Message-ID: <20000315135405.D30386@djebel.gnupg.de> Hi, just want to let you know that you can browse the CVS now at: http://cvs.gnupg.org/ Werner From nmav at hellug.gr Fri Mar 17 14:05:48 2000 From: nmav at hellug.gr (Nikos Mavroyanopoulos) Date: Fri, 17 Mar 2000 15:05:48 +0200 Subject: [nmav@hellug.gr: Re: cvs.gnupg.org] Message-ID: <20000317150548.A619@i-net.paiko.gr> I thought i've forwarded to the list, but i couldn't find it to the lists.gnupg.org, so i'm sending it now. ----- Forwarded message from Nikos Mavroyanopoulos ----- Date: Wed, 15 Mar 2000 19:39:33 +0200 From: Nikos Mavroyanopoulos To: Werner Koch Subject: Re: cvs.gnupg.org User-Agent: Mutt/1.1.5i In-Reply-To: <20000315135405.D30386 at djebel.gnupg.de>; from wk at gnupg.org on Wed, Mar 15, 2000 at 01:54:06PM +0100 X-Operating-System: Debian GNU/Linux On Wed, Mar 15, 2000 at 01:54:06PM +0100, Werner Koch wrote: > Hi, > just want to let you know that you can browse the CVS now at: > http://cvs.gnupg.org/ I've added doc/HACKING which explains how the existing code works, and README files, which explain what to do to compile. The test program no longer tests anything:) I've almost finished the recv() and send() functions, and it seems that i have to move to the difficult part the handshake() function. If anybody can help here i'd appreciate. That function is needed in order to test against other implementations, and find bugs and implementation mistakes. > Werner -- Nikos Mavroyanopoulos mailto:nmav at hellug.gr ----- End forwarded message ----- -- Nikos Mavroyanopoulos mailto:nmav at hellug.gr From nmav at hellug.gr Wed Mar 29 14:15:31 2000 From: nmav at hellug.gr (Nikos Mavroyanopoulos) Date: Wed, 29 Mar 2000 15:15:31 +0300 Subject: handshake() Message-ID: <20000329151531.A13858@i-net.paiko.gr> Some part of the handshake protocol is completed. There is some capability to exchange messages and alerts etc. There is still no key exchange algorithm, but i'll add the anonymous diffie-hellman soon (Is this supported in libgcrypt Werner?). After that i'll add the capability to resume previous connections. -- Nikos Mavroyanopoulos mailto:nmav at hellug.gr From wk at gnupg.org Wed Mar 29 14:26:14 2000 From: wk at gnupg.org (Werner Koch) Date: Wed, 29 Mar 2000 14:26:14 +0200 Subject: handshake() In-Reply-To: <20000329151531.A13858@i-net.paiko.gr>; from nmav@hellug.gr on Wed, Mar 29, 2000 at 03:15:31PM +0300 References: <20000329151531.A13858@i-net.paiko.gr> Message-ID: <20000329142614.Q20405@djebel.gnupg.de> On Wed, 29 Mar 2000, Nikos Mavroyanopoulos wrote: > Some part of the handshake protocol is completed. There is some capability > to exchange messages and alerts etc. There is still no key > exchange algorithm, but i'll add the anonymous diffie-hellman soon (Is > this supported in libgcrypt Werner?). After that i'll add the capability > to resume previous connections. I decided not to do this because DH is really easy and I have no clean interface yet. See the GSTI code on how to do it. Werner -- Werner Koch OpenPGP key 621CC013 OpenIT GmbH i.G. tel +49 211 465357 Birkenstr. 12 email info at openit.de D-40233 D?sseldorf http://www.openit.de