diff options
Diffstat (limited to 'dev-perl/Crypt-OpenSSL-RSA')
4 files changed, 0 insertions, 182 deletions
diff --git a/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.310.0.ebuild b/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.310.0.ebuild deleted file mode 100644 index e0afd471198f..000000000000 --- a/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.310.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DIST_AUTHOR=TODDR -DIST_VERSION=0.31 -inherit perl-module - -DESCRIPTION="RSA encoding and decoding using the OpenSSL libraries" - -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-perl/Crypt-OpenSSL-Bignum - dev-perl/Crypt-OpenSSL-Random - dev-libs/openssl:0= -" -DEPEND=" - dev-libs/openssl:0= -" -BDEPEND="${RDEPEND} - >=dev-perl/Crypt-OpenSSL-Guess-0.110.0 - virtual/perl-ExtUtils-MakeMaker - test? ( - virtual/perl-Test - ) -" -PERL_RM_FILES=( - t/z_kwalitee.t - t/z_perl_minimum_version.t - t/z_meta.t - t/z_pod-coverage.t - t/z_pod.t -) -mydoc="rfc*.txt" - -src_compile() { - mymake=( - "OPTIMIZE=${CFLAGS}" - ) - perl-module_src_compile -} diff --git a/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.320.0.ebuild b/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.320.0.ebuild deleted file mode 100644 index f94a55113d11..000000000000 --- a/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.320.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_AUTHOR=TODDR -DIST_VERSION=0.32 -inherit perl-module - -DESCRIPTION="RSA encoding and decoding using the OpenSSL libraries" - -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-perl/Crypt-OpenSSL-Bignum - dev-perl/Crypt-OpenSSL-Random - dev-libs/openssl:0= -" -DEPEND=" - dev-libs/openssl:0= -" -BDEPEND="${RDEPEND} - >=dev-perl/Crypt-OpenSSL-Guess-0.110.0 - virtual/perl-ExtUtils-MakeMaker - test? ( - virtual/perl-Test - ) -" - -PATCHES=( - "${FILESDIR}/${P}-openssl-3.0.0.patch" -) - -PERL_RM_FILES=( - t/z_kwalitee.t - t/z_perl_minimum_version.t - t/z_meta.t - t/z_pod-coverage.t - t/z_pod.t -) -mydoc="rfc*.txt" diff --git a/dev-perl/Crypt-OpenSSL-RSA/Manifest b/dev-perl/Crypt-OpenSSL-RSA/Manifest index 51bd9ed6e820..dc78a978b4d1 100644 --- a/dev-perl/Crypt-OpenSSL-RSA/Manifest +++ b/dev-perl/Crypt-OpenSSL-RSA/Manifest @@ -1,8 +1,3 @@ -AUX Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch 2854 BLAKE2B 7aeb7a91b974b7117d278e74cb68a8525fb43f3169158388ef1ae79dda75178b6fd1d798921ba2677f99671b0bb690432b3627426bf71732318017a7bfd307c3 SHA512 1a32525d51959e0fd28d0504996f536cec7eb5b54a23cf657ffecc03a13c533e270926c95546a1a0197dceda1809d7440d594d7d6e345fb422644825b735d3ff -DIST Crypt-OpenSSL-RSA-0.31.tar.gz 25856 BLAKE2B 172d48cd6cc0f3df2c1c1684897d8ee376663cb366a1e28c13e4af603b2b985d542f83284112be5e4717a3a13a512926b4413b5a8f08f7ed613cd9929683cce9 SHA512 e00d25fc1d39253ea2d7d6ee478403d2b38bd9125602baf5815672fb9e81674ff58bbb47539e425526db1988ebc1a40837372cf42ffd466cb532efa2e450ccab -DIST Crypt-OpenSSL-RSA-0.32.tar.gz 24805 BLAKE2B 419b6a2e778fa10a6d68a6932d0b816f1c8ea4db0cd283efef4a4e684ea3468bd1133ce8825b388d1e3a4b4a990253aa44af892e4f89d71b46917f0cd7cb1fbb SHA512 2972611a8fa4e9c44fd09c9e7fa32f0abd377230f14dcdfa99edab87bba2199c6a0cab4d1e08bdf3057959c0efd3343eb989e46f4befd572b15540e59f1e3c64 DIST Crypt-OpenSSL-RSA-0.33.tar.gz 29010 BLAKE2B 4a25d93a351b51fcab3df75a14aedf9b039cc5f5692c2e7fb32c616da25a83917619683dbbc0d4f8c38cfa80e73b5af138c91a24a72be8830c37df06bcba539c SHA512 7bfa802ec41925ec9fa6937c5eea0d21f6f554a1d1d57ed679ed03b260cf08c0a397df11880de6d67abacfd843ad2c4f28b20ac58d80e183c2a83c91deb926bf -EBUILD Crypt-OpenSSL-RSA-0.310.0.ebuild 846 BLAKE2B c8940ee931f45736cf7d158154cdde4c76a6c64474f3183bb8cb39dd1164032dfa8d1e73d43b1ad666865a07135842de49b6d4930f9fbff83ad1867a7f437653 SHA512 be73ffbc70a235ab89d273908709fbee87158c49406f958af453e81264f9911eee067621700e3dd5d0193c7b9357942188a790ae73ddb995c03969f4ba3c0b35 -EBUILD Crypt-OpenSSL-RSA-0.320.0.ebuild 781 BLAKE2B ba094335acfc3f1126c59118c8f3efb6b993278527cb476a72e2cd5cdb77c751c2f4bf724a70a203a09c2cd09b5ab33c873b07ad326d9ca9b992a6833d0bbe69 SHA512 dbe496417cc2de68ec12372f99c3d99672ed87510bba9db63638b1059eb049447bea740369786d6a7f3d0bcaaed3ca86dc9321ce58d64f889fcba5634df08980 EBUILD Crypt-OpenSSL-RSA-0.330.0.ebuild 775 BLAKE2B 68f743b4bcec76c297f24e0d07387c9e74c39419ff35478e50a2b5848dffd8cd2902910cea9c1ade1d74c1f5f4da519b0d17ac433d5a35fc73731bd4e7e533db SHA512 8c3d03de33a4494757ab885fe3a1955d211ff910bbf4f5b3c6d2682481bd39f0caa6360e08750aea09cb7d62f42ac89eb974b13e0f7100306a580f0a75fd0730 MISC metadata.xml 473 BLAKE2B 4b4edaf1e75a51ec6696b1073d7a6f3b81eecd4930838f2d78a4238eb68d6d5b3cfc05a79d771591f923ba977d9f4fcc02e98b81e11231d5d94748fd05f14d10 SHA512 90592f41868c5f670834b3f49aaa890dae9d2a61af238d72d2d5bf99545c9bcc7e4e86a8149937582080ba0c8d0f56160117a02b56ce5bccf67c57b6f4ade33b diff --git a/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch b/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch deleted file mode 100644 index 970562beb702..000000000000 --- a/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch +++ /dev/null @@ -1,89 +0,0 @@ - -Source: -https://gitlab.com/redhat/centos-stream/rpms/perl-Crypt-OpenSSL-RSA/-/blob/c9s/perl-Crypt-OpenSSL-RSA-openssl30.patch - - -diff --git a/README b/README -index c7d4bb7..3da6d1d 100644 ---- a/README -+++ b/README -@@ -10,7 +10,6 @@ SYNOPSIS - Crypt::OpenSSL::Random::random_seed($good_entropy); - Crypt::OpenSSL::RSA->import_random_seed(); - $rsa_pub = Crypt::OpenSSL::RSA->new_public_key($key_string); -- $rsa_pub->use_sslv23_padding(); # use_pkcs1_oaep_padding is the default - $ciphertext = $rsa->encrypt($plaintext); - - $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($key_string); -@@ -140,10 +139,6 @@ Instance Methods - all new applications. It is the default mode used by - "Crypt::OpenSSL::RSA". - -- use_sslv23_padding -- Use PKCS #1 v1.5 padding with an SSL-specific modification that -- denotes that the server is SSL3 capable. -- - use_md5_hash - Use the RFC 1321 MD5 hashing algorithm by Ron Rivest when signing - and verifying messages. -@@ -168,7 +163,7 @@ Instance Methods - pkcs1_oaep_padding - at most 42 bytes less than this size. - -- pkcs1_padding or sslv23_padding -+ pkcs1_padding - at most 11 bytes less than this size. - - no_padding -diff --git a/RSA.pm b/RSA.pm -index 31e6949..1b63e99 100644 ---- a/RSA.pm -+++ b/RSA.pm -@@ -34,8 +34,7 @@ Crypt::OpenSSL::RSA - RSA encoding and decoding, using the openSSL libraries - Crypt::OpenSSL::Random::random_seed($good_entropy); - Crypt::OpenSSL::RSA->import_random_seed(); - $rsa_pub = Crypt::OpenSSL::RSA->new_public_key($key_string); -- $rsa_pub->use_sslv23_padding(); # use_pkcs1_oaep_padding is the default -- $ciphertext = $rsa->encrypt($plaintext); -+ $ciphertext = $rsa->encrypt($plaintext); - - $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($key_string); - $plaintext = $rsa->encrypt($ciphertext); -@@ -220,11 +219,6 @@ an empty encoding parameter. This mode of padding is recommended for - all new applications. It is the default mode used by - C<Crypt::OpenSSL::RSA>. - --=item use_sslv23_padding -- --Use C<PKCS #1 v1.5> padding with an SSL-specific modification that --denotes that the server is SSL3 capable. -- - =item use_md5_hash - - Use the RFC 1321 MD5 hashing algorithm by Ron Rivest when signing and -@@ -267,7 +261,7 @@ the text to be encrypted should be: - - at most 42 bytes less than this size. - --=item pkcs1_padding or sslv23_padding -+=item pkcs1_padding - - at most 11 bytes less than this size. - -diff --git a/RSA.xs b/RSA.xs -index d474d11..711e4e7 100644 ---- a/RSA.xs -+++ b/RSA.xs -@@ -640,12 +640,6 @@ use_pkcs1_oaep_padding(p_rsa) - CODE: - p_rsa->padding = RSA_PKCS1_OAEP_PADDING; - --void --use_sslv23_padding(p_rsa) -- rsaData* p_rsa; -- CODE: -- p_rsa->padding = RSA_SSLV23_PADDING; -- - # Sign text. Returns the signature. - - SV* |