Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Convert-PEM
perl-Convert-PEM.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Convert-PEM.spec of Package perl-Convert-PEM
# # spec file for package perl-Convert-PEM # # 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-Convert-PEM Version: 0.08 Release: 0 %define cpan_name Convert-PEM Summary: Read/write encrypted ASN.1 PEM files License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Convert-PEM/ #Source: http://www.cpan.org/authors/id/B/BT/BTROTT/Convert-PEM-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::ErrorHandler) BuildRequires: perl(Convert::ASN1) >= 0.10 BuildRequires: perl(Crypt::DES_EDE3) BuildRequires: perl(Digest::MD5) Requires: perl(Class::ErrorHandler) Requires: perl(Convert::ASN1) >= 0.10 Requires: perl(Crypt::DES_EDE3) Requires: perl(Digest::MD5) %{perl_requires} %description _Convert::PEM_ reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this: -----BEGIN DH PARAMETERS----- MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM= -----END DH PARAMETERS----- The string beginning 'MB4C...' is the Base64-encoded, ASN.1-encoded "object." An encrypted file would have headers describing the type of encryption used, and the initialization vector: -----BEGIN DH PARAMETERS----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,C814158661DC1449 AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA== -----END DH PARAMETERS----- The two headers ('Proc-Type' and 'DEK-Info') indicate information about the type of encryption used, and the string starting with 'AFAZ...' is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object." The initialization vector ('C814158661DC1449') is chosen randomly. %prep %setup -q -n %{cpan_name}-%{version} # 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 %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes README %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