summaryrefslogtreecommitdiffstats
path: root/ipa-python/ipa-python.spec.in
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-08-07 16:14:37 -0400
committerSimo Sorce <ssorce@redhat.com>2008-08-11 18:30:50 -0400
commit5cbc453d89af0ef79b7c99849778f1982abeda05 (patch)
tree9384cf201866d68d39e2382618c49c2290f6abf2 /ipa-python/ipa-python.spec.in
parent599fe1a0f5c046da6f99448ac43599b2681069d5 (diff)
downloadfreeipa-5cbc453d89af0ef79b7c99849778f1982abeda05.tar.gz
freeipa-5cbc453d89af0ef79b7c99849778f1982abeda05.tar.xz
freeipa-5cbc453d89af0ef79b7c99849778f1982abeda05.zip
Add encrypt_file and decrypt_file utility functions.
We will use them to encrypt the replica file so that we can transport it over more safely. It contains sensitive data, by encrypting it we assure that even if a distracted admin leaves it around it cannot be accessed without knowing the access passphrase (usually the Directory Manager password) Along the way fix also ipautil.run which was buggy and not passing in correctly stdin. Add dependency for gnupg in spec file
Diffstat (limited to 'ipa-python/ipa-python.spec.in')
-rwxr-xr-xipa-python/ipa-python.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-python/ipa-python.spec.in b/ipa-python/ipa-python.spec.in
index 7d270b4f0..774464951 100755
--- a/ipa-python/ipa-python.spec.in
+++ b/ipa-python/ipa-python.spec.in
@@ -10,7 +10,7 @@ Source0: http://www.freeipa.org/downloads/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
-Requires: python-kerberos
+Requires: python-kerberos gnupg
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}