From: Jamis Buck Date: 2004-06-14T08:50:21+09:00 Subject: Re: OpenSSL: patch GOTOU Yuuzou wrote: > Thanks a lot. Your patch seems a good solution. It will be > applied when the CVS service's back. > > But a question. In ossl_pkey_dh.c, you made > dh_bignum_accessors without using OSSL_PKEY_BN and > DEF_OSSL_PKEY_BN. Does these macro have any problem? Hah! Forget I did that. I wrote those before I discovered the OSSL_PKEY_BN macros. I discovered them later and then used them (in the rsa and dsa modules). If you'd like, I'll fix the ossl_pkey_dh.c file and resubmit the patch. Let me know. > Cipher#update and Cipher#final return a String; it is a set > of streamable interface. I feel that Cipher#crypt may be > added if you need a block specific interface. > [snip] Hmm. I tried all that, and it wouldn't give me the answer that the ssh server expected. Using Cipher#crypt, however, did (and it should, since it is modeled from the OpenSSH code). >>Still, I have a very hacked-together SSH client in >>Ruby now, using the routines provided by this patch. > > I look forward to reading it:) I'm refactoring all of the (Net::SSH) code now, to make it more robust. I'm hoping to have something worthwhile to report in a few weeks. Thanks! -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis ruby -h | ruby -e 'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'