aboutsummaryrefslogtreecommitdiffstats
path: root/ext/digest
Commit message (Collapse)AuthorAgeFilesLines
* Move pure ruby files under the ext/gemname/lib directory.Hiroshi SHIBATA2021-10-141-0/+0
|
* Fix libraries under digestNobuyoshi Nakada2021-10-122-0/+266
|
* [ruby/digest] Bump version to 3.1.0.pre2Akinori MUSHA2021-10-121-1/+1
| | | | https://github.com/ruby/digest/commit/5184207611
* [ruby/digest] Bump version to 3.1.0.pre1Akinori MUSHA2021-10-121-1/+1
| | | | https://github.com/ruby/digest/commit/56679008cf
* [ruby/digest] include jarsPavel Rosický2021-10-121-1/+1
| | | | https://github.com/ruby/digest/commit/c15cbcd978
* [ruby/digest] Bump version to 3.1.0.pre0Akinori MUSHA2021-10-121-1/+1
| | | | https://github.com/ruby/digest/commit/594cc4d548
* [ruby/digest] Place common parts in lib and engine specific parts under ↵Akinori MUSHA2021-10-129-340/+17
| | | | | | ext/**/lib https://github.com/ruby/digest/commit/8d7496c3be
* [ruby/digest] relicence under the Ruby license and the BSD 2-clausePavel Rosický2021-10-121-5/+1
| | | | https://github.com/ruby/digest/commit/154d461e91
* [ruby/digest] jruby supportPavel Rosický2021-10-127-12/+75
| | | | https://github.com/ruby/digest/commit/2e9dc14693
* [ruby/digest] Move digest.rb back under ext as the extension bundled libraryNobuyoshi Nakada2021-10-121-10/+25
| | | | https://github.com/ruby/digest/commit/026ba7f361
* [ruby/digest] Also drop to support Ruby 2.4Hiroshi SHIBATA2021-07-281-1/+1
| | | | https://github.com/ruby/digest/commit/360a7de366
* [ruby/digest] Use Gemfile instead of ↵Hiroshi SHIBATA2021-07-281-4/+0
| | | | | | Gem::Specification#add_development_dependency https://github.com/ruby/digest/commit/460a6f807e
* [ruby/digest] Drop to support Ruby 2.3Hiroshi SHIBATA2021-07-281-1/+1
| | | | https://github.com/ruby/digest/commit/23dc9c7425
* [ruby/digest] gemspec: Avoid distributing extraneous filesOlle Jonsson2021-07-281-1/+1
| | | | https://github.com/ruby/digest/commit/0a451e0c94
* [ruby/digest] gemspec: Explicitly have 0 executablesOlle Jonsson2021-07-281-1/+1
| | | | https://github.com/ruby/digest/commit/086d54ba94
* [ruby/digest] Experiment: Use a .pre version in gemspecOlle Jonsson2021-07-281-1/+1
| | | | | | This makes it slightly more explicit that this is not a definite new version. https://github.com/ruby/digest/commit/2bb5bb78a3
* [ruby/digest] Experiment: bump patch versionOlle Jonsson2021-07-281-1/+1
| | | | | | This is a test, to see if the build failures are about the shipped Ruby master version of this gem. https://github.com/ruby/digest/commit/d2606b2cce
* Suppress array-parameter warnings by gcc 11Nobuyoshi Nakada2021-06-131-6/+6
|
* Removed unused macro HAVE_CONFIG_HNobuyoshi Nakada2021-04-285-9/+0
| | | | It seems like a vestige of ext/md5.
* NDEBUG is ignored since Ruby 3.0Nobuyoshi Nakada2021-04-281-1/+4
|
* Fix some typos by spell checkerRyuta Kamizono2021-04-261-1/+1
|
* dependency updates卜部昌平2021-04-136-10/+0
|
* [ruby/digest] Remove .gitignore and .travis.yml from gemspecKenta Murata2020-12-211-6/+8
| | | | https://github.com/ruby/digest/commit/7b57b73f46
* [digest] Version 3.0.0Kenta Murata2020-12-191-1/+1
| | | | https://github.com/ruby/digest/commit/4bbd247a32
* [digest] Make digest Ractor safeKenta Murata2020-12-191-0/+4
| | | | | | https://github.com/ruby/digest/commit/c13a024b85 https://github.com/ruby/digest/commit/9edca3f8be https://github.com/ruby/digest/commit/378b56b6ca
* [digest] Added rb_digest_make_metadata to wrap metadataNobuyoshi Nakada2020-12-195-15/+12
| | | | https://github.com/ruby/digest/commit/7046fe6005
* [ruby/digest] LICENSEHiroshi SHIBATA2020-12-031-1/+1
| | | | https://github.com/ruby/digest/commit/aa048ce345
* [ruby/digest] Fixup d981714348f71177132426e3ac19598e1b2e8f5dHiroshi SHIBATA2020-12-031-4/+4
| | | | https://github.com/ruby/digest/commit/502a12587c
* digest: remove OpenSSL engineKazuki Yamaguchi2020-12-0216-171/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenSSL engine of Digest uses the low-level API of OpenSSL, whose use has been discouraged for years for multiple reasons. A long-standing issue on a FIPS-enabled system is that using ::Digest results in crashing the Ruby process, because the low-level API lacks the mechanism to report an error (the policy violation) and thus kills the process as a last resort[1][2]. Also, the upcoming OpenSSL 3.0 will deprecate it for future removal[3]. Compiling with -Wdeprecated-declarations will start to emit warnings. A proper fix for this is to make it use the EVP API instead. This is a non-trivial work as it requires backwards-incompatible changes to the framework interface of Digest::Base and rb_digest_metadata_t. It is more than 15 years ago that the openssl library became part of the standard library. It has implemented the exactly same functionality as OpenSSL::Digest, in fact, as a subclass of Digest::Class. There is not much point in having an identical code in the digest library. Let's just get rid of OpenSSL within digest. This leaves the C implementations and the CommonCrypto engine for Apple systems. A patch is being prepared for the openssl library to provide ::Digest constants for better performance[4]. [1] https://bugs.ruby-lang.org/issues/6946 [2] https://bugs.ruby-lang.org/issues/13681 [3] https://www.openssl.org/docs/OpenSSL300Design.html [4] https://github.com/ruby/openssl/pull/377
* Update dependencies for macOSNobuyoshi Nakada2020-10-214-52/+711
|
* Followed up with 708413807ae958afb79257b18475424e0a8a4a56Hiroshi SHIBATA2020-10-191-1/+12
| | | | | | * Added sync task for digest * Update doc/* for default gems * Update the latest version of gemspec
* Revisit to promote digest to default gems.Hiroshi SHIBATA2020-10-191-0/+34
| | | | This reverts commit f39021be7e0eac20ef7f06592769955ea482470f.
* sed -i '/rmodule.h/d'卜部昌平2020-08-276-6/+0
|
* sed -i '/r_cast.h/d'卜部昌平2020-08-276-6/+0
|
* sed -i '\,2/extern.h,d'卜部昌平2020-08-276-6/+0
|
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-116-840/+840
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-116-840/+840
| | | | This shall fix compile errors.
* Suppress -Wshorten-64-to-32 warningsNobuyoshi Nakada2020-04-081-3/+3
|
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-086-0/+912
| | | Split ruby.h
* digest: do not depend on ext/openssl/deprecation.rbKazuki Yamaguchi2020-03-101-2/+1
| | | | | | | | | | | | | | | | ext/openssl/deprecation.rb has been removed in ext/openssl upstream[1]. It was originally introduced to detect and prevent linking against Apple's bundled (and very outdated) version of OpenSSL. It is long gone and the header files do not exist in current versions of macOS. The dependency in ext/digest was introduced by commit 26e258c807c2. Note that the original issue[2] is resolved without this dependency. The commit also added the pkg_config("openss") call to match what ext/openssl does. [1] https://github.com/ruby/openssl/pull/333 [2] https://bugs.ruby-lang.org/issues/6379
* Suppress deprecation warnings of MD5 from Xcode 11.1Nobuyoshi Nakada2019-10-121-0/+7
|
* Check metadata a bit moreNobuyoshi Nakada2019-08-231-0/+12
|
* Hoisted out get_digest_obj_metadataNobuyoshi Nakada2019-08-231-7/+13
|
* Hoisted out rb_id_metadataNobuyoshi Nakada2019-08-223-4/+8
|
* Hoisted out rb_digest_namespaceNobuyoshi Nakada2019-08-225-12/+11
|
* Separated initializing IDsNobuyoshi Nakada2019-08-211-2/+6
|
* Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada2019-07-146-0/+6
|
* Prefer relative directory from srcdir to top_srcdirnobu2019-02-145-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use $(hdrdir) for include/ruby.h, as well as r67033nobu2019-02-115-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed moving toplevel header since r12501nobu2019-02-081-1/+1
| | | | | | | Moving public headers was 12-years ago, no depend files would expect ruby.h in the top source directory now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e