aboutsummaryrefslogtreecommitdiffstats
path: root/ToDo
blob: 810806da9daa635269e675f7466534f5096c960b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
TODO list for
'OpenSSL for Ruby 2' project

-----------------------------------------------------------------------
OpenSSL::
  [DONE] Move all Errors as child of OpenSSLError
  * Implement Ruby 1.8 style of creating instances (see StringIO)
  * Detailed object inspection (ie. all params for RSA)
  * How to support HW crypto engines?
  [DONE] Rename ANY classes to uniq ones
  * Support more detailed requies (like: require 'openssl/crypto', require 'openssl/ssl')?
  * WRITE TEST CASES!
  * Use RDoc and write documentation to sources?
  * Prune openssl_missing.[ch]
  * Add SMIME, PKCS#8
  * Is there any need to implement BIO? (Wrap BIO to Ruby's IO?)
  
  BN::
    [DONE] Move initialize to Cspace
    [DONE] Rethink type= (String or Integer?) [Integer!]
    [DONE] Speed up math. ops by the Thread uniq BN_CTX [No - 1 global is OK (Ruby is not thread safe => Don't be afraid of this one)]
    [DONE] Convert BN#to_s to Ruby-like behaviour
    * introduce BN#pack for MPI, BIN (and call it from BN#to_s and BN#initialize)?
    * DON'T FORGET TO ADD SUPPORT FOR BIN, AND MPI BACK!
    * Merge #rand and #rand_range into #rand
    * Merge #pseudo_rand and #pseudo_rand_range into #pseudo_rand
    
  Cipher::
    [DONE] Use Factory (Cipher.new("DES_EDE3_CBC"))?

  Config::
    [DONE] Port it to new (0.9.7) interface
    
  Digest::
    [DONE] Use Factory (Digest.new("SHA1"))? [Used exactly like this: OpenSSL::Digest::Digest.new("SHA1")]
    
  HMAC::
    * Move it to Digest module?
    
  PKCS7::
    * Support attributes ((signed_)attributes)

  PKey::
    * Factory? RSA#initialize -> PKey.new("RSA")?

  SSL::
    * Support more conns via 1 SSL_CTX?

  X509::
    * Rethink X509::Attribute, and X509::Extension