summaryrefslogtreecommitdiff
path: root/ext/digest
Commit message (Collapse)AuthorAgeFilesLines
* Update the depend filesMatt Valentine-House2023-02-286-10/+0
|
* Remove intern/gc.h from Make depsMatt Valentine-House2023-02-276-10/+0
|
* Extract include/ruby/internal/attr/packed_struct.hNobuyoshi Nakada2023-02-086-0/+10
| | | | | | | | | Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the macros bellow: * `RBIMPL_ATTR_PACKED_STRUCT_BEGIN` * `RBIMPL_ATTR_PACKED_STRUCT_END` * `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN` * `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
* [ruby/digest] Bump version to 3.1.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/digest/commit/fad16582ea
* Update dependencies for bc28acc347eace4d02bbb4b672655216f7dd3a81Nobuyoshi Nakada2022-11-053-0/+3
|
* [ruby/digest] Use CommonDigest by default if availableNobuyoshi Nakada2022-10-291-1/+1
| | | | https://github.com/ruby/digest/commit/cce9ada85e
* Revert "* expand tabs. [ci skip]"Hiroshi SHIBATA2022-07-308-1033/+1033
| | | | This reverts commit 8a65cf3b61c60e4cb886f59a73ff6db44364bfa9.
* * expand tabs. [ci skip]git2022-07-308-1033/+1033
| | | | | Tabs were expanded because the file did not have any tab indentation in unedited lines. Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
* [ruby/digest] Revert tab-expansion in external filesNobuyoshi Nakada2022-07-308-1033/+1033
| | | | https://github.com/ruby/digest/commit/5ca2b5b91e
* Expand tabs [ci skip]Takashi Kokubun2022-07-2112-1042/+1042
| | | | [Misc #18891]
* [Feature #18249] Update dependenciesPeter Zhu2022-02-226-0/+10
|
* [Feature #18491] Drop support for HP-UXPeter Zhu2022-01-181-1/+1
| | | | | IA64 support was dropped in ticket #15894, so we can drop support for HP-UX.
* Import digest v3.1.0 from ruby/digestAkinori MUSHA2021-12-243-19/+6
|
* Install ruby/digest.h when from ext/digestNobuyoshi Nakada2021-12-231-0/+4
|
* Update dependenciesNobuyoshi Nakada2021-11-216-34/+24
|
* Prevent "already initialized constant Digest::VERSION"Yusuke Endoh2021-11-171-2/+5
| | | | | | | | | | | http://rubyci.s3.amazonaws.com/ubuntu1804/ruby-master/log/20211117T033003Z.log.html.gz ``` installing default gems from ext: /home/chkbuild/chkbuild/tmp/build/20211117T033003Z/lib/ruby/gems/3.1.0 /home/chkbuild/chkbuild/tmp/build/20211117T033003Z/ruby/ext/digest/lib/digest/version.rb:4: warning: already initialized constant Digest::VERSION /home/chkbuild/chkbuild/tmp/build/20211117T033003Z/ruby/.ext/common/digest/version.rb:4: warning: previous definition of VERSION was here ``` This hack is copied from ext/psych/psych.gemspec
* Merge digest-3.0.3.pre3 and ↵Hiroshi SHIBATA2021-11-165-6/+23
| | | | https://github.com/ruby/digest/commit/efd76821b8a467c193c753104c29b476debbb2c9
* [ruby/digest] Abort loading if being loaded by gem/bundle pre Ruby 3.0.3Akinori MUSHA2021-11-161-14/+12
| | | | https://github.com/ruby/digest/commit/efd76821b8
* [ruby/digest] Avoid null pointer subtraction in digest/md5xtkoba2021-11-161-1/+1
| | | | | | | | Fixes warning on Clang 13. Fixes [Bug #18076] https://github.com/ruby/digest/commit/32135c7487
* Removed redundant digest namespaceHiroshi SHIBATA2021-10-142-0/+0
|
* separate pure ruby location under the digest/* extensionsHiroshi SHIBATA2021-10-142-0/+0
|
* 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