ruby/ext
Kazuki Yamaguchi fae6fd07fe [ruby/openssl] [DOC] prefer PKey#private_to_pem and #public_to_pem in RDoc
Suggest the use of OpenSSL::PKey::PKey#private_to_pem and #public_to_pem
in the top-level documentation. For new programs, these are recommended
over OpenSSL::PKey::RSA#export (also aliased as #to_s and #to_pem)
unless there is a specific reason to use it, i.e., unless the PKCS#1
output format specifically is required.

The output format of OpenSSL::PKey::RSA#export depends on whether the
key is a public key or a private key, which is very counter-intuitive.

Additionally, when called with arguments to encrypt a private key, as in
this example, OpenSSL's own, non-standard format is used. The man page
of PEM_write_bio_PrivateKey_traditional(3) in OpenSSL 1.1.1 or later
states that it "should only be used for compatibility with legacy
programs".

56312038d6
2023-08-16 14:48:40 +09:00
..
-test- [Feature #19757] Add new API rb_data_define 2023-07-13 17:55:55 +09:00
bigdecimal [ruby/bigdecimal] Update to_s doc examples 2023-07-05 20:15:53 +00:00
cgi/escape [ruby/cgi] Add TruffleRuby support and add it in CI 2023-05-29 19:33:38 +00:00
continuation Update the depend files 2023-02-28 09:09:00 -08:00
coverage [Feature #19719] Universal Parser 2023-06-12 18:23:48 +09:00
date Update the depend files 2023-02-28 09:09:00 -08:00
digest Update the depend files 2023-02-28 09:09:00 -08:00
erb/escape [ruby/erb] Skip using the extension for truffleruby as well 2022-11-27 06:30:48 +00:00
etc [ruby/etc] Declare getlogin even if unistd.h is not available 2023-07-12 16:22:54 +00:00
fcntl [ruby/fcntl] Expose Fcntl::VERSION 2023-04-21 04:21:05 +00:00
fiddle [ruby/fiddle] Include stdbool.h explicitly 2023-08-02 18:17:20 +09:00
io Restores the changes in io-console without breaking backwards compatibility. (#7882) 2023-06-01 17:43:45 +09:00
json [flori/json] Re-generate parser.c 2023-07-19 00:02:58 +09:00
monitor rb_bug prints a newline after the message 2023-05-20 21:43:30 +09:00
nkf [ruby/nkf] Bump up nkf-0.1.3 2023-05-25 09:11:36 +00:00
objspace [Feature #19719] Universal Parser 2023-06-12 18:23:48 +09:00
openssl [ruby/openssl] [DOC] prefer PKey#private_to_pem and #public_to_pem in RDoc 2023-08-16 14:48:40 +09:00
pathname [ruby/pathname] Expose Pathname::VERSION 2023-04-14 12:42:36 +09:00
psych [ruby/psych] Extract accessor methods without forwardable 2023-07-05 10:11:36 +00:00
pty Hide the usage of rb_io_t where possible. (#7880) 2023-06-01 14:23:30 +09:00
rbconfig/sizeof Update the depend files 2023-02-28 09:09:00 -08:00
ripper Fix #line directive filename of ripper.c 2023-07-16 19:27:08 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Don't check for null pointer in calls to free 2023-06-30 09:13:31 -04:00
stringio Implement StringIO#pread (#56) 2023-08-02 18:18:17 +09:00
strscan [ruby/strscan] Fix indentation in strscan.c 2023-07-28 10:12:52 -04:00
syslog [ruby/syslog] Improve the version extraction 2023-04-25 01:51:26 +00:00
win32 Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
win32ole [ruby/win32ole] Reuse WIN32OLE_VERSION for gem version 2023-04-21 04:46:10 +00:00
zlib [ruby/zlib] Zlib.gunzip should not fail with utf-8 strings 2023-08-10 20:12:21 +00:00
.document Remove removed files from ext/.document [ci skip] 2023-01-18 11:57:00 +09:00
extmk.rb Use File::NULL instead of hard coded null device names 2023-07-10 19:21:47 +09:00
Setup Clean up removed directories in ext/Setup* [ci skip] 2023-01-18 12:02:27 +09:00
Setup.atheos racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00
Setup.nt racc/cparse is extracted from ruby/ruby repository 2023-06-08 18:05:07 +09:00