Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Crypt-RSA
perl-Crypt-RSA.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Crypt-RSA.spec of Package perl-Crypt-RSA
# # spec file for package perl-Crypt-RSA # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Crypt-RSA Version: 1.99 Release: 0 %define cpan_name Crypt-RSA Summary: RSA public-key cryptosystem. License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Crypt-RSA/ Source: http://www.cpan.org/authors/id/V/VI/VIPUL/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Loader) >= 2.00 BuildRequires: perl(Convert::ASCII::Armour) BuildRequires: perl(Crypt::Blowfish) BuildRequires: perl(Crypt::CBC) BuildRequires: perl(Crypt::Primes) >= 0.38 BuildRequires: perl(Crypt::Random) >= 0.34 BuildRequires: perl(Data::Buffer) BuildRequires: perl(Digest::MD2) BuildRequires: perl(Digest::SHA1) BuildRequires: perl(Math::Pari) >= 2.001804 BuildRequires: perl(Sort::Versions) BuildRequires: perl(Tie::EncryptedHash) Requires: perl(Class::Loader) >= 2.00 Requires: perl(Convert::ASCII::Armour) Requires: perl(Crypt::Blowfish) Requires: perl(Crypt::CBC) Requires: perl(Crypt::Primes) >= 0.38 Requires: perl(Crypt::Random) >= 0.34 Requires: perl(Data::Buffer) Requires: perl(Digest::MD2) Requires: perl(Digest::SHA1) Requires: perl(Math::Pari) >= 2.001804 Requires: perl(Sort::Versions) Requires: perl(Tie::EncryptedHash) %{perl_requires} %description Crypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key cryptosystem. It uses Math::Pari(3), a perl interface to the blazingly fast PARI library, for big integer arithmetic and number theoretic computations. Crypt::RSA provides arbitrary size key-pair generation, plaintext-aware encryption (OAEP) and digital signatures with appendix (PSS). For compatibility with SSLv3, RSAREF2, PGP and other applications that follow the PKCS #1 v1.5 standard, it also provides PKCS #1 v1.5 encryption and signatures. Crypt::RSA is structured as bundle of modules that encapsulate different parts of the RSA cryptosystem. The RSA algorithm is implemented in Crypt::RSA::Primitives(3). Encryption schemes, located under Crypt::RSA::ES, and signature schemes, located under Crypt::RSA::SS, use the RSA algorithm to build encryption/signature schemes that employ secure padding. (See the note on Security of Padding Schemes.) The key generation engine and other functions that work on both components of the key-pair are encapsulated in Crypt::RSA::Key(3). Crypt::RSA::Key::Public(3) & Crypt::RSA::Key::Private(3) provide mechanisms for storage & retrival of keys from disk, decoding & encoding of keys in certain formats, and secure representation of keys in memory. Finally, the Crypt::RSA module provides a convenient, DWIM wrapper around the rest of the modules in the bundle. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 # MANUAL BEGIN sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL # MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc ARTISTIC Changes COPYING MANIFEST.skip README TODO %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor