From nmav at gnutls.org Mon Jun 9 11:16:03 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Mon Jun 9 11:16:03 2003 Subject: [gnutls-dev] Re: [Help-gnutls] gnutls-srpcrypt creates an empty tpasswd. In-Reply-To: <1055146320.3090.11.camel@localhost.localdomain> References: <1055146320.3090.11.camel@localhost.localdomain> Message-ID: <20030609091830.GA2654@gnutls.org> On Mon, Jun 09, 2003 at 05:12:02PM +0900, Hiroshi Hayakawa wrote: > Hi all, > After installing all stuffs under /usr/local as the default, > I used gnutls-srpcrypt to generate tpasswd.conf and tpasswd. > >gnutls-srpcrypt --passwd ./tpasswd --passwd-conf ./tpasswd.conf -u test > Enter passwd: (I entered a string here.) > Segmentation fault I've just identified the problem. A patch is below: Index: gnutls/src/crypt.c diff -u gnutls/src/crypt.c:2.21 gnutls/src/crypt.c:2.21.2.1 --- gnutls/src/crypt.c:2.21 Sun Dec 1 20:50:10 2002 +++ gnutls/src/crypt.c Mon Jun 9 11:10:11 2003 @@ -494,7 +494,6 @@ if (put==0) { fprintf(fd, "%s:%s:%u\n", username, cr, iindex); } - free(cr); fclose(fd); fclose(fd2); > Thanks, > Hiro -- Nikos Mavroyanopoulos From nmav at gnutls.org Tue Jun 10 10:24:01 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Tue Jun 10 10:24:01 2003 Subject: [gnutls-dev] gnutls 0.8.8 Message-ID: <20030610082655.GA7831@gnutls.org> I've just released gnutls 0.8.8. The changes since the last release are the following bug fixes: - Corrected a bug in the record layer buffering, which affected the case where external pull function was used. Report and patch by Sergey Poznyakoff . - Corrected a bug in gnutls-srpcrypt where a non allocated variable was freed. [ As you may have noticed there were no releases of the development branch. I'm quite pressed now and the thing I was working on (PKCS12) was a really boring job. I hope to return within the summer. ] -- Nikos Mavroyanopoulos From nmav at gnutls.org Mon Jun 30 03:51:15 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Mon Jun 30 03:51:15 2003 Subject: [gnutls-dev] gnutls 0.8.9 Message-ID: <20030629163913.GA21798@gnutls.org> I've just released gnutls 0.8.9. This is a binary incompatible version. The changes since 0.8.8 are: - Corrected a null pointer dereference in gnutls_certificate_get_ours(). Report and Patch by Steve Langasek . - The gnutls_transport_ptr type was changed to a pointer type (void*). (programs would need recompile, since the library version has changed) -- Nikos Mavroyanopoulos From nmav at gnutls.org Mon Jun 30 03:56:01 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Mon Jun 30 03:56:01 2003 Subject: [gnutls-dev] gnutls 0.9.6 Message-ID: <20030628194911.GA25810@gnutls.org> gnutls 0.9.6 is out. This is mostly a demonstration of the new PKCS #12 API (should have bugs so please report them). - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id() functions which return a unique (per public key) ID. These can be used to check if the private key corresponds to a given certificate. - Corrections in the TLS layer openpgp certificate packet parser. - Corrected a bug in the record layer buffering, which affected the case where external pull function was used. Report and patch by Sergey Poznyakoff . - Corrected a bug in gnutls-srpcrypt where a non allocated variable was freed. - SRP programs are now built by default. - Added API to read and write to PKCS #12 structures. Prototypes in gnutls/pkcs12.h. - The gnutls_transport_ptr type was changed to a pointer type (void*). -- Nikos Mavroyanopoulos From nmav at gnutls.org Mon Jun 30 03:56:02 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Mon Jun 30 03:56:02 2003 Subject: [gnutls-dev] pkcs12 file Message-ID: <20030628195143.GA25841@gnutls.org> Hello, A pkcs12 file generated with the new gnutls API is attached in this mail. If you have any browsers (such as IE, netscape etc), please import it (password is "1234") and reexport it using the default options and the same password. Send me the output file so I can check whether we can parse files generated by those browsers. PS. Export browsers will not work since this is encrypted with 3DES. -- Nikos Mavroyanopoulos -------------- next part -------------- A non-text attachment was scrubbed... Name: out.p12 Type: application/octet-stream Size: 1805 bytes Desc: not available URL: