diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-04-23 19:42:10 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-04-23 19:42:10 +0000 |
commit | d3a5cca1a17c9ac79c9b132e10121614c0916f09 (patch) | |
tree | 23fc3d99b64111dc35a78eb92b3e0e95684efdbd /pkgs/tools | |
parent | 454b9875d4852028585477cb69dbdef288666350 (diff) | |
download | nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar.gz nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar.bz2 nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar.lz nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar.xz nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.tar.zst nixlib-d3a5cca1a17c9ac79c9b132e10121614c0916f09.zip |
Added pinentry (now needed to generate gnupg2 keys)
There are different versions (qt/gtk and console) Shall we strive for a solution working out of the box (see comments in gnupg2) I think a gui pinentry is more suitable because it also works invoked from guil email clients svn path=/nixpkgs/trunk/; revision=11695
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/pinentry/default.nix | 17 | ||||
-rw-r--r-- | pkgs/tools/security/gnupg2/default.nix | 6 |
2 files changed, 22 insertions, 1 deletions
diff --git a/pkgs/tools/misc/pinentry/default.nix b/pkgs/tools/misc/pinentry/default.nix new file mode 100644 index 000000000000..4ee840069752 --- /dev/null +++ b/pkgs/tools/misc/pinentry/default.nix @@ -0,0 +1,17 @@ +args: +args.stdenv.mkDerivation { + name = "pinentry-0.7.2"; + + src = args.fetchurl { + url = http://gentoo.chem.wisc.edu/gentoo/distfiles/pinentry-0.7.2.tar.gz; + sha256 = "0s6n5n4bxg95rmwa3mw3r49dabf8yh6fkpfi8mbl7i85dgpibnzv"; + }; + + buildInputs =(with args; [glib pkgconfig x11 gtk]); + + meta = { + description = "input interface for passwords needed by gnupg"; + homepage = "don't know, gentoo lists http://www.gnupg.org/aegypten/"; + license = "GPL2"; + }; +} diff --git a/pkgs/tools/security/gnupg2/default.nix b/pkgs/tools/security/gnupg2/default.nix index f6e22bec51d4..b5025a0a56bb 100644 --- a/pkgs/tools/security/gnupg2/default.nix +++ b/pkgs/tools/security/gnupg2/default.nix @@ -1,4 +1,8 @@ -args: with args; +# remmeber to +# echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf +# and install pinentry as well + +args: with args stdenv.mkDerivation { name = "gnupg-2.0.8"; src = fetchurl { |