summaryrefslogtreecommitdiffstats
path: root/lib/openssl/pkey.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Marshal support to PKey objectsBart de Water2020-04-191-0/+17
|
* Prefer `frozen_string_literal: true`.Samuel Williams2020-02-061-1/+1
|
* pkey/ec: add support for octet string encoding of EC pointky/pkey-ec-point-octet-stringKazuki Yamaguchi2017-12-141-1/+23
| | | | | | | | | | | | | Add a new method named PKey::EC#to_octet_string that returns the octet string representation of the curve point. PKey::EC::Point#to_bn, which have already existed and is similar except that an instance of OpenSSL::BN is returned, is rewritten in Ruby. PKey::EC::Point#initialize now takes String as the second argument in the PKey::EC::Point.new(group, encoded_point) form. Also, update the tests to use #to_octet_string instead of #to_bn for better readability.
* ssl: move default DH parameters from OpenSSL::PKey::DHtopic/ssl-move-default-dh-paramsKazuki Yamaguchi2017-01-241-41/+0
| | | | They should belong to OpenSSL::SSL rather than OpenSSL::PKey::DH.
* pkey: fixup documentKazuki Yamaguchi2016-08-221-0/+3
|
* support 2048 bit length DH-keySHIBATA Hiroshi2016-01-151-0/+12
|
* Remove 512-bit DH groupTony Arcieri2016-01-071-8/+0
| | | | | | 512-bit DH keys are severely weak and have been implicated in recent attacks: https://weakdh.org/
* sync code from upstreamSHIBATA Hiroshi2015-12-301-0/+1
|
* Sync with ruby trunkZachary Scott2015-09-231-0/+36