Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * ext/openssl: imported. | gotoyuzo | 2003-07-23 | 1 | -377/+0 |
| | | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e | ||||
* | Indents | Michal Rokos | 2003-07-22 | 1 | -1/+1 |
| | |||||
* | OpenSSL 0.9.6 compatibility | Michal Rokos | 2003-07-21 | 1 | -1/+4 |
| | |||||
* | Digest is Ruby compatible again, more examples are working | Michal Rokos | 2003-07-21 | 1 | -3/+3 |
| | |||||
* | call ossl_raise with NULL when no message is passed | Michal Rokos | 2003-07-09 | 1 | -14/+14 |
| | |||||
* | * cipher.h: replace ossl_cipher_get_EVP_CIPHER into GetCipherPtr | GOTOU Yuuzou | 2003-06-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * cipher.c: ditto. * ossl_pkey_rsa.c: use GetCipherPtr. * ossl_pkey_dsa.c: use GetCipherPtr. * ossl_ssl.c: SSLContext#initialize allows a Symbol as SSL type. * ossl_x509store.c: set verify callback on ex_data. * ossl_pkcs7.c: added some(many) features. - PKCS7::read_smime as a wrapper of SMIME_write_PKCS7 - PKCS7::write_smime as a wrapper of SMIME_write_PKCS7 - PKCS7::sign as a wrapper of PKCS7_sign - PKCS7::encrypt as a wrapper of PKCS7_ecnrypt - PKCS7::PKCS7#initialized disallow PKCS#7 type as argument. - PKCS7::PKCS7#type= to set PKCS#7 type. (NID_pkcs7_* can be specified by Symbol.) - PKCS7::PKCS7#type to get PKCS#7 type. - PKCS7::PKCS7#detached= to set detached. - PKCS7::PKCS7#detached? to query if the envelop is detached. - PKCS7::PKCS7#verify is as a wrapper of PKCS7_verify - PKCS7::PKCS7#decrypt is as a wrapper of PKCS7_decypt - PKCS7::PKCS7#data= is an alias of PKCS7::PKCS7#add_data - PKCS7::PKCS7#verify_data is temporarily disabled. - PKCS7::PKCS7#decode_data is temporarily disabled. - PKCS7_* constants are introduced. | ||||
* | fix-up copy_dup_framework for latest Ruby | Michal Rokos | 2003-05-21 | 1 | -2/+4 |
| | |||||
* | add ability to set padding | Technorama team | 2003-04-22 | 1 | -0/+18 |
| | |||||
* | minor fix | Technorama team | 2003-04-21 | 1 | -1/+1 |
| | |||||
* | Various updates | Michal Rokos | 2003-04-21 | 1 | -68/+64 |
| | |||||
* | add .reset, .key=, .iv=, remove crashing workaround | Technorama team | 2003-04-08 | 1 | -45/+86 |
| | |||||
* | Make OSSL2 work with Ruby1.6 too (currently #dup, #copy isn't working) | Michal Rokos | 2003-02-24 | 1 | -1/+2 |
| | |||||
* | Port to Ruby1.8 (alloc|copy) framework. | Michal Rokos | 2002-12-29 | 1 | -5/+5 |
| | |||||
* | * Indent by 4 spaces, 1 tab has the width of 8 spaces. | GOTOU Yuuzou | 2002-12-17 | 1 | -190/+186 |
| | |||||
* | implement #become for Ruby 1.7.3 dup, clone interface | Michal Rokos | 2002-09-05 | 1 | -1/+18 |
| | |||||
* | ossl_bn.c: Fix pot mem leak when using NUM2INT | Michal Rokos | 2002-07-23 | 1 | -5/+5 |
| | |||||
* | change all rb_raise and OSSL_Raise to ossl_raise | Michal Rokos | 2002-06-12 | 1 | -15/+19 |
| | | | | | fix: Cipher#final cannot be called without preceding Cipher#(en|de)crypt Config ported to OpenSSL 0.9.7 interface | ||||
* | Added new methods to Cipher, Digest, HMAC; HMAC fix | Michal Rokos | 2002-06-11 | 1 | -0/+31 |
| | |||||
* | Cipher: fix fault in initialize (condition in GetCipher was too tight) | Michal Rokos | 2002-06-08 | 1 | -1/+4 |
| | |||||
* | X509Attr, X509Cert, X509CRL, X509Ext, X509Name, X509Req, X509Revoked, ↵ | Michal Rokos | 2002-06-07 | 1 | -7/+6 |
| | | | | X509Store port to 1.8 and new class creation fixups | ||||
* | HMAC and SPKI cleanups & ports | Michal Rokos | 2002-06-05 | 1 | -1/+1 |
| | |||||
* | BN, Cipher, Config, Digest cleanup | Michal Rokos | 2002-06-04 | 1 | -20/+23 |
| | |||||
* | Config reviewed | Michal Rokos | 2002-06-04 | 1 | -3/+3 |
| | |||||
* | Cipher moved to Factory style | Michal Rokos | 2002-06-04 | 1 | -497/+59 |
| | |||||
* | Initial revision | Michal Rokos | 2002-06-04 | 1 | -33/+37 |
| | |||||
* | * Macros fixupsossl1-ossl2-branch-point | Michal Rokos | 2002-04-07 | 1 | -5/+4 |
| | | | | | | | | | | * X509ExtFactory cleanup * fixed strptime warning on Linux * X509::Certificate#version has been changed! !!! WARNING !!! x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...) p x509.version -> 2, means that it is X509v3 !!! WARNING !!! | ||||
* | * Cipher IV fixup | Michal Rokos | 2002-03-11 | 1 | -4/+12 |
| | |||||
* | * Big internal cleanup (all structs with only 1 member rearranged) | Michal Rokos | 2002-03-11 | 1 | -0/+1 |
| | | | | * improved getting time_t from cTime | ||||
* | * WARNING! All to_str methods are not used any longer (use to_text instead) | Michal Rokos | 2002-03-05 | 1 | -5/+5 |
| | | | | | * made an aliases to_pem as to_s * more relaxed params checking - everywhere where string was needed it is OK that obj implements to_s method | ||||
* | * More benevolent checks (Check_SafeStr(x) -> Check_Type(x, T_STRING) | Michal Rokos | 2002-02-23 | 1 | -5/+5 |
| | | | | (where we don't care) | ||||
* | * transition from rb_raise to OSSL_Raise (where possible) | Michal Rokos | 2002-02-13 | 1 | -11/+11 |
| | | | | | * some mem checks * preliminary DH key support | ||||
* | * fixed and improved verify_callbacks in ossl_(ssl|x509store).c | Michal Rokos | 2002-01-10 | 1 | -5/+5 |
| | | | | * enhanced ossl_x509store.rb examples | ||||
* | * OpenSSL::Cipher::BITx constant == x (so BIT40 = 40,...) | Michal Rokos | 2002-01-10 | 1 | -13/+13 |
| | |||||
* | * added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*) | Michal Rokos | 2002-01-10 | 1 | -43/+145 |
| | | | | | | | * added AES cipher when compiled under OpenSSL-SNAPSHOT * added warnings if the OpenSSL is compiled without some feature * handle NO_RSA, NO_DSA in openssl.rb * incremented version in ossl_version.h | ||||
* | * Further checking (Check_SafeStr, memory leaks) | Michal Rokos | 2002-01-04 | 1 | -35/+25 |
| | |||||
* | * Memory checking | Michal Rokos | 2001-12-21 | 1 | -0/+11 |
| | |||||
* | * fixed unusual usage of ## preprocessing sequence. | GOTOU Yuuzou | 2001-12-21 | 1 | -3/+3 |
| | |||||
* | * added bn methods (thanks to UNKNOWN <oss-ruby@technorama.net> | Michal Rokos | 2001-12-13 | 1 | -21/+35 |
| | | | | * simplify ossl_digest sources | ||||
* | - BN added (only proof of concept) | Michal Rokos | 2001-11-21 | 1 | -32/+64 |
| | | | | | - indent changed - rand.h to ossl.h added | ||||
* | - HMAC added | Michal Rokos | 2001-11-20 | 1 | -46/+43 |
| | | | | | | | | - Config came back - API changed in PKCS7 (param. order) - API changed in Cipher (can't add data in .new) - indentation changed (only half of files, 2nd half to do) - some API doc added to README | ||||
* | Released as 0.0.9 | Michal Rokos | 2001-11-18 | 1 | -0/+1 |
| | |||||
* | Initial revision | Michal Rokos | 2001-11-16 | 1 | -0/+542 |