a7462a
Summary: An utility for manipulating storage encryption keys and passphrases
a7462a
Name: volume_key
a7462a
Version: 0.3.11
77a91d
Release: 5%{?dist}
a7462a
# lib/{SECerrs,SSLerrs}.h are both licensed under MPLv1.1, GPLv2 and LGPLv2
a7462a
License: GPLv2 and (MPLv1.1 or GPLv2 or LGPLv2)
a7462a
Group: Applications/System
a7462a
URL: https://pagure.io/volume_key/
a7462a
Requires: volume_key-libs%{?_isa} = %{version}-%{release}
a7462a
a7462a
Source0: https://releases.pagure.org/volume_key/volume_key-%{version}.tar.xz
a7462a
# Add support for opening all types of LUKS devices (not just LUKS1)
a7462a
# Resolves: rhbz#1626974
a7462a
Patch0: volume_key-0.3.11-support_LUKS_all.patch
a7462a
BuildRequires: cryptsetup-luks-devel, gettext-devel, glib2-devel, /usr/bin/gpg2
a7462a
BuildRequires: gpgme-devel, libblkid-devel, nss-devel, python3-devel
a7462a
# Needed by %%check:
a7462a
BuildRequires: nss-tools
a7462a
a7462a
%description
a7462a
This package provides a command-line tool for manipulating storage volume
a7462a
encryption keys and storing them separately from volumes.
a7462a
a7462a
The main goal of the software is to allow restoring access to an encrypted
a7462a
hard drive if the primary user forgets the passphrase.  The encryption key
a7462a
back up can also be useful for extracting data after a hardware or software
a7462a
failure that corrupts the header of the encrypted volume, or to access the
a7462a
company data after an employee leaves abruptly.
a7462a
a7462a
%package devel
a7462a
Summary: A library for manipulating storage encryption keys and passphrases
a7462a
Group: Development/Libraries
a7462a
Requires: volume_key-libs%{?_isa} = %{version}-%{release}
a7462a
a7462a
%description devel
a7462a
This package provides libvolume_key, a library for manipulating storage volume
a7462a
encryption keys and storing them separately from volumes.
a7462a
a7462a
The main goal of the software is to allow restoring access to an encrypted
a7462a
hard drive if the primary user forgets the passphrase.  The encryption key
a7462a
back up can also be useful for extracting data after a hardware or software
a7462a
failure that corrupts the header of the encrypted volume, or to access the
a7462a
company data after an employee leaves abruptly.
a7462a
a7462a
%package libs
a7462a
Summary: A library for manipulating storage encryption keys and passphrases
a7462a
Group: System Environment/Libraries
a7462a
Requires: /usr/bin/gpg2
a7462a
a7462a
%description libs
a7462a
This package provides libvolume_key, a library for manipulating storage volume
a7462a
encryption keys and storing them separately from volumes.
a7462a
a7462a
The main goal of the software is to allow restoring access to an encrypted
a7462a
hard drive if the primary user forgets the passphrase.  The encryption key
a7462a
back up can also be useful for extracting data after a hardware or software
a7462a
failure that corrupts the header of the encrypted volume, or to access the
a7462a
company data after an employee leaves abruptly.
a7462a
a7462a
%package -n python3-volume_key
a7462a
%{?python_provide:%python_provide python3-volume_key}
a7462a
Summary: Python bindings for libvolume_key
a7462a
Group: System Environment/Libraries
a7462a
Requires: volume_key-libs%{?_isa} = %{version}-%{release}
a7462a
a7462a
%description -n python3-volume_key
a7462a
This package provides Python bindings for libvolume_key, a library for
a7462a
manipulating storage volume encryption keys and storing them separately from
a7462a
volumes.
a7462a
a7462a
The main goal of the software is to allow restoring access to an encrypted
a7462a
hard drive if the primary user forgets the passphrase.  The encryption key
a7462a
back up can also be useful for extracting data after a hardware or software
a7462a
failure that corrupts the header of the encrypted volume, or to access the
a7462a
company data after an employee leaves abruptly.
a7462a
a7462a
volume_key currently supports only the LUKS volume encryption format.  Support
a7462a
for other formats is possible, some formats are planned for future releases.
a7462a
a7462a
%prep
a7462a
%setup -q
a7462a
%patch0 -p1
a7462a
a7462a
%build
a7462a
%configure
a7462a
make %{?_smp_mflags}
a7462a
a7462a
%install
a7462a
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
a7462a
77a91d
%find_lang volume_key
77a91d
a7462a
%check
a7462a
make check || { \
a7462a
echo "======================== ./test-suite.log ========================"; \
a7462a
cat ./test-suite.log; \
a7462a
echo "=================================================================="; \
a7462a
exit 1; \
a7462a
}
a7462a
a7462a
%clean
a7462a
rm -rf $RPM_BUILD_ROOT
a7462a
a7462a
%ldconfig_scriptlets libs
a7462a
a7462a
%files
a7462a
%defattr(-,root,root,-)
a7462a
%doc README contrib
a7462a
%{_bindir}/volume_key
a7462a
%{_mandir}/man8/volume_key.8*
a7462a
a7462a
%files devel
a7462a
%defattr(-,root,root,-)
a7462a
%{_includedir}/volume_key
a7462a
%exclude %{_libdir}/libvolume_key.la
a7462a
%{_libdir}/libvolume_key.so
a7462a
a7462a
%files libs -f volume_key.lang
a7462a
%defattr(-,root,root,-)
a7462a
%doc AUTHORS COPYING ChangeLog NEWS
a7462a
%{_libdir}/libvolume_key.so.*
a7462a
a7462a
%files -n python3-volume_key
a7462a
%defattr(-,root,root,-)
a7462a
%exclude %{python3_sitearch}/_volume_key.la
a7462a
%{python3_sitearch}/_volume_key.so
a7462a
%{python3_sitearch}/volume_key.py*
a7462a
%{python3_sitearch}/__pycache__/volume_key.*
a7462a
a7462a
%changelog
77a91d
* Wed Aug 14 2019 Jiri Kucera <jkucera@redhat.com> - 0.3.11-5
77a91d
- Place %%find_lang to proper place
77a91d
  Resolves: #1665135
77a91d
77a91d
* Tue Jan 08 2019 Jiri Kucera <jkucera@redhat.com> - 0.3.11-4
a7462a
- fixed License
a7462a
- Requires: /usr/bin/gpg2 in libs subpackage
a7462a
- Added support for opening all types of LUKS devices
a7462a
  Resolves: #1626974
a7462a
a7462a
* Thu Aug 09 2018 Jiri Kucera <jkucera@redhat.com> - 0.3.11-3
a7462a
- Added %%check
a7462a
  Resolves: #1614420
a7462a
a7462a
* Tue Jul 24 2018 Jiri Kucera <jkucera@redhat.com> - 0.3.11-2
a7462a
- added missing licenses
a7462a
- update to gpg2
a7462a
a7462a
* Thu Jul 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.3.11-1
a7462a
- Update to 3.11
a7462a
- Change to Python 3
a7462a
a7462a
* Fri Jul 13 2018 Petr Viktorin <pviktori@redhat.com> - 0.3.9-20
a7462a
- Allow Python 2 for build
a7462a
a7462a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-19
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a7462a
a7462a
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-18
a7462a
- Switch to %%ldconfig_scriptlets
a7462a
a7462a
* Tue Nov 7 2017 Miloslav Trmač <mitr@redhat.com> - 0.3.9-17
a7462a
- Update for libcryptsetup ABI change
a7462a
a7462a
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.9-16
a7462a
- Python 2 binary package renamed to python2-volume_key
a7462a
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
a7462a
a7462a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-15
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7462a
a7462a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-14
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a7462a
a7462a
* Mon May 29 2017 Miloslav Trmač <mitr@redhat.com> - 0.3.9-13
a7462a
- Point URL: and Source: to the new home at pagure.io
a7462a
  Resolves: 1456378
a7462a
a7462a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-12
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7462a
a7462a
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.9-11
a7462a
- Rebuild for gpgme 1.18
a7462a
a7462a
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-10
a7462a
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a7462a
a7462a
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-9
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7462a
a7462a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-8
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7462a
a7462a
* Tue Jan 13 2015 Miloslav Trmač <mitr@redhat.com> - 0.3.9-7
a7462a
- Don't #include <config.h> in libvolume_key.h
a7462a
  Patch by Vratislav Podzimek <vpodzime@redhat.com>.
a7462a
a7462a
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-6
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a7462a
a7462a
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-5
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7462a
a7462a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-4
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a7462a
a7462a
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-3
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7462a
a7462a
* Thu Nov 22 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.9-2
a7462a
- Fix a crash when trying to use passphrase encryption in FIPS mode
a7462a
a7462a
* Sat Sep 22 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.9-1
a7462a
- Update to volume_key-0.3.9
a7462a
a7462a
* Mon Aug  6 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-4
a7462a
- Use BuildRequires: /usr/bin/gpg instead of gnupg, for compatibility with RHEL
a7462a
a7462a
* Mon Jul 23 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-3
a7462a
- Add Requires: /usr/bin/gpg
a7462a
  Resolves: #842074
a7462a
a7462a
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-2
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7462a
a7462a
* Sat Mar  3 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-1
a7462a
- Update to volume_key-0.3.8
a7462a
a7462a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-3
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a7462a
a7462a
* Fri Oct 14 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.7-2
a7462a
- Rebuild with newer libcryptsetup
a7462a
a7462a
* Wed Aug 24 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.7-1
a7462a
- Update to volume_key-0.3.7
a7462a
a7462a
* Fri Jun 10 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.6-2
a7462a
- Fix a typo
a7462a
  Resolves: #712256
a7462a
a7462a
* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.6-1
a7462a
- Update to volume_key-0.3.6
a7462a
a7462a
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-3
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7462a
a7462a
* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.5-2
a7462a
- Use %%{?_isa} in Requires:
a7462a
a7462a
* Wed Nov 24 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.5-1
a7462a
- Update to volume_key-0.3.5
a7462a
a7462a
* Mon Oct 18 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-4
a7462a
- Tell the user if asking for the same passphrase again
a7462a
  Resolves: #641111
a7462a
- Check certificate file before interacting with the user
a7462a
  Resolves: #643897
a7462a
a7462a
* Fri Oct  8 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-3
a7462a
- Make it possible to interrupt password prompts
a7462a
  Resolves: #641111
a7462a
a7462a
* Wed Sep 29 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-2
a7462a
- Clarify which block device should be passed as an argument
a7462a
  Resolves: #636541
a7462a
- Recognize SSL error messages from NSS as well
a7462a
  Resolves: #638732
a7462a
a7462a
* Fri Aug 27 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-1
a7462a
- Update to volume_key-0.3.4
a7462a
a7462a
* Mon Jul 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-4
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a7462a
a7462a
* Thu Jul 22 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-3
a7462a
- Fix build with new gpgme
a7462a
a7462a
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.3-2
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a7462a
a7462a
* Fri Mar 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-1
a7462a
- Update to volume_key-0.3.3
a7462a
a7462a
* Thu Mar  4 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.2-1
a7462a
- Update to volume_key-0.3.2
a7462a
- Drop no longer necessary references to BuildRoot:
a7462a
a7462a
* Fri Feb  5 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.1-2
a7462a
- Fix a crash when an empty passphrase is provided
a7462a
  Resolves: #558410
a7462a
a7462a
* Fri Dec 11 2009 Miloslav Trmač <mitr@redhat.com> - 0.3.1-1
a7462a
- Update to volume_key-0.3.1.
a7462a
a7462a
* Wed Sep 30 2009 Miloslav Trmač <mitr@redhat.com> - 0.3-1
a7462a
- Update to volume_key-0.3.
a7462a
- Drop bundled libcryptsetup.
a7462a
a7462a
* Sat Aug  8 2009 Miloslav Trmač <mitr@redhat.com> - 0.2-3
a7462a
- Handle changed "TYPE=crypto_LUKS" from libblkid
a7462a
- Preserve file timestamps during installation
a7462a
a7462a
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
a7462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a7462a
a7462a
* Tue Jun 30 2009 Miloslav Trmač <mitr@redhat.com> - 0.2-1
a7462a
- Initial build.