Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3922 > unrolled thread
| Started by | Iñaki Baz Castillo <ibc@aliax.net> |
|---|---|
| First post | 2011-05-04 06:16 -0500 |
| Last post | 2011-05-08 18:21 -0500 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.ruby
Documentation about ruby-openssl Iñaki Baz Castillo <ibc@aliax.net> - 2011-05-04 06:16 -0500
Re: Documentation about ruby-openssl Brian Candler <b.candler@pobox.com> - 2011-05-05 03:22 -0500
Re: Documentation about ruby-openssl Iñaki Baz Castillo <ibc@aliax.net> - 2011-05-05 05:36 -0500
Re: Documentation about ruby-openssl "Javier H." <devcindario@gmail.com> - 2011-05-08 18:21 -0500
| From | Iñaki Baz Castillo <ibc@aliax.net> |
|---|---|
| Date | 2011-05-04 06:16 -0500 |
| Subject | Documentation about ruby-openssl |
| Message-ID | <BANLkTi=7ofQ798rbyu0LFnU3ACGQ7XZ8HA@mail.gmail.com> |
Hi, is there somewhere good documentation about ruby-openssl API? or any good tutorial? The RDOC is hard to read: http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html Thanks a lot. PD: Is there any other alternative to ruby-openssl? -- Iñaki Baz Castillo <ibc@aliax.net>
[toc] | [next] | [standalone]
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Date | 2011-05-05 03:22 -0500 |
| Message-ID | <182f894937db45c13c9bcdc822f1baec@ruby-forum.com> |
| In reply to | #3922 |
"Iñaki Baz Castillo" <ibc@aliax.net> wrote in post #996577: > Hi, is there somewhere good documentation about ruby-openssl API? or > any good tutorial? The RDOC is hard to read: > > http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html Probably best just to look at some code which uses it. Net::HTTPS would be a good start for a TLS client. For TLS server, I did some reverse-engineering to build ruby-ldapserver, and now I use that as my reference implementation :-) > PD: Is there any other alternative to ruby-openssl? Depends what you want to do. ruby's ext/openssl is just a thin wrapper around the openssl library. If you want to do things like open and accept TLS sessions, it's your main option. I don't know if alternatives like GNU-TLS have been wrapped for ruby. However, if you want to do things like symmetric encryption, there are quite a few other libraries. -- Posted via http://www.ruby-forum.com/.
[toc] | [prev] | [next] | [standalone]
| From | Iñaki Baz Castillo <ibc@aliax.net> |
|---|---|
| Date | 2011-05-05 05:36 -0500 |
| Message-ID | <BANLkTikPZB5EOx0D7x1BcV0_9S6NDX7Ezg@mail.gmail.com> |
| In reply to | #3976 |
2011/5/5 Brian Candler <b.candler@pobox.com>: > Iñaki Baz Castillo" <ibc@aliax.net> wrote in post #996577: >> Hi, is there somewhere good documentation about ruby-openssl API? or >> any good tutorial? The RDOC is hard to read: >> >> http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html > > Probably best just to look at some code which uses it. Net::HTTPS would > be a good start for a TLS client. For TLS server, I did some > reverse-engineering to build ruby-ldapserver, and now I use that as my > reference implementation :-) Then I'll check it :) >> PD: Is there any other alternative to ruby-openssl? > > Depends what you want to do. > > ruby's ext/openssl is just a thin wrapper around the openssl library. If > you want to do things like open and accept TLS sessions, it's your main > option. I don't know if alternatives like GNU-TLS have been wrapped for > ruby. > > However, if you want to do things like symmetric encryption, there are > quite a few other libraries. I just want openssl to check certificates (verify that they are signed by a CA and so). I've already tested ruby-openssl a bit doing such stuff (loading a cert, loading a CA, veriy the cert with the public key of the CA... it seems to work ok) :) -- Iñaki Baz Castillo <ibc@aliax.net>
[toc] | [prev] | [next] | [standalone]
| From | "Javier H." <devcindario@gmail.com> |
|---|---|
| Date | 2011-05-08 18:21 -0500 |
| Message-ID | <0441cf0602a8d7a97bc3cd45c68aafa1@ruby-forum.com> |
| In reply to | #3922 |
Hello, "PD: Is there any other alternative to ruby-openssl?" http://tiny.ly/KPRe Best regards Javier -- Posted via http://www.ruby-forum.com/.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.ruby
csiph-web