[ActiveLock-Development] CVS: activelock2/src modActiveLock.bas,1.9,1.10
Brought to you by:
ialkan
From: Thanh H. T. <th...@us...> - 2003-08-04 13:50:56
|
Update of /cvsroot/activelock/activelock2/src In directory sc8-pr-cvs1:/tmp/cvs-serv3832 Modified Files: modActiveLock.bas Log Message: Updated vbdox regarding rsa_createkey() bug. Index: modActiveLock.bas =================================================================== RCS file: /cvsroot/activelock/activelock2/src/modActiveLock.bas,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- modActiveLock.bas 4 Aug 2003 03:58:00 -0000 1.9 +++ modActiveLock.bas 4 Aug 2003 13:50:51 -0000 1.10 @@ -42,9 +42,16 @@ ' / MODULE TO DO LIST / ' /////////////////////////////////////////////////////////////////////// ' -' @bug rsa_encrypt() sometimes causes crash. This is related a bug in -' rsa_generate(). Sometimes, rsa_generate() generates a bad keyset, and -' this causes the encryption routines to crash. +' @bug rsa_createkey() sometimes causes crash. This is due to a bug in +' ALCrypto.dll in which a bad keyset is sometimes generated +' (either caused by <code>rsa_generate()</code> or one of <code>rsa_private_key_blob()</code> +' and <code>rsa_public_key_blob()</code>--we're not sure which is the culprit yet. +' This causes the <code>rsa_createkey()</code> call encryption routines to crash. +' The work-around for the time being is to keep regenerating the keyset +' until eventually you'll get a valid keyset that no longer causes a crash. +' You only need to go through this keyset generation step once. +' Once you have a valid keyset, you should store it inside your app for later use. +' ' /////////////////////////////////////////////////////////////////////// ' / MODULE CHANGE LOG / |