Issue #4423 has been updated by Martin Bosslet. Assignee changed from Hiroshi NAKAMURA to Martin Bosslet ---------------------------------------- Feature #4423: [ext/openssl] Allow encryption for PEM-encoding Elliptic Curve private keys http://redmine.ruby-lang.org/issues/4423 Author: Martin Bosslet Status: Assigned Priority: Normal Assignee: Martin Bosslet Category: ext Target version: 1.9.3 =begin There has already been some #if 0-excluded code that would actually take care of this, but it has not been implemented yet. The attached patch allows to encrypt PEM-encoded private keys, Cipher and password are ignored in the case of public keys (rather than raising an error). The motivation for this patch is that it would provide uniform behavior of all three public key systems supported in Ruby, RSA, DSA (who already support PEM encryption) and now also Elliptic Curve. RDoc has been supplemented. Regards, Martin =end -- http://redmine.ruby-lang.org