Announcement

Collapse
No announcement yet.

[MVM:BUG] crypto functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [MVM:BUG] crypto functions



    Several cryptographic functions do not seem to work as suggested:

    1) x509_load('certfilename', l.x509)
    Although the function apparently recognizes if the specified file is an X509
    certificate or not (correctly returns 1 or 0 accordingly), instead of
    pulling the X509 certificate into the l.x509 variable, it only assigns the
    value "1" to it. That is, of course, worthless, since it then cannot be used
    in other crypto functions, such as for example the x509_rsa_publickey()

    Tested with both - a generated X509 certificate and an original one copied
    from the cert/ distribution directory


    2) rsa_generate_keypair('pubkey.rsa','privkey.rsa',10 24,50,'pass')

    This function only creates two empty files and the process stays hanging
    without timing out (ignoring globaltimeout). Experimenting with different
    bit and modulo length (including zeros) makes no difference.


    Tested on several machines with Miva Empresa v4.14, v4.15 and v5.00, and
    with OpenSSL versions 0.9.6g and 0.9.7d.


    Ivo
    http://mivo.truxoft.com



Working...
X