summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/security/apg
diff options
context:
space:
mode:
authorАлександр Цамутали <astsmtl@yandex.ru>2013-02-17 17:44:54 +0400
committerАлександр Цамутали <astsmtl@yandex.ru>2013-02-17 17:44:54 +0400
commitde8a9d676ed7c94ad0741e7e02a6eeda53efebe6 (patch)
tree7275a5c8bb14cc7822bbeb8cce5afd5e9adbc667 /pkgs/tools/security/apg
parent9885d040331a9f01fdda4df0ac76e73868667790 (diff)
tools/security/apg: New nixpkg.
Diffstat (limited to 'pkgs/tools/security/apg')
-rw-r--r--pkgs/tools/security/apg/default.nix66
1 files changed, 66 insertions, 0 deletions
diff --git a/pkgs/tools/security/apg/default.nix b/pkgs/tools/security/apg/default.nix
new file mode 100644
index 000000000000..7eeb491374a3
--- /dev/null
+++ b/pkgs/tools/security/apg/default.nix
@@ -0,0 +1,66 @@
+{ stdenv, fetchurl }:
+stdenv.mkDerivation rec {
+ name = "apg-2.2.3";
+ src = fetchurl {
+ url = "http://www.adel.nursat.kz/apg/download/${name}.tar.gz";
+ sha256 = "1fkxpaifv925i385krsyslrig42ksws5y19hfq5asn1rwv6zmjb9";
+ };
+ configurePhase = ''
+ substituteInPlace Makefile --replace /usr/local "$out"
+ '';
+ preInstall = ''
+ export CHOWNPROG=true
+ export CHGRPPROG=true
+ '';
+
+ meta = {
+ description = "A tool set for random password generation.";
+ longDescription = ''
+ APG (Automated Password Generator) is the tool set for random
+ password generation.
+
+ Standalone version
+
+ Generates some random words of required type and prints them
+ to standard output.
+
+ Network version
+
+ APG server: When client's request is arrived generates some
+ random words of predefined type and send them to client over
+ the network (according to RFC0972).
+
+ APG client: Sends the password generation request to the APG
+ server, wait for generated Passwords arrival and then prints
+ them to the standard output.
+
+ Advantages
+
+ * Built-in ANSI X9.17 RNG (Random Number Generator) (CAST/SHA1)
+ * Built-in password quality checking system (it has support for
+ Bloom filter for faster access)
+ * Two Password Generation Algorithms:
+ 1. Pronounceable Password Generation Algorithm (according to
+ NIST FIPS 181)
+ 2. Random Character Password Generation Algorithm with 35
+ configurable modes of operation
+ * Configurable password length parameters
+ * Configurable amount of generated passwords
+ * Ability to initialize RNG with user string
+ * Support for /dev/random
+ * Ability to crypt() generated passwords and print them as
+ additional output
+ * Special parameters to use APG in script
+ * Ability to log password generation requests for network version
+ * Ability to control APG service access using tcpd
+ * Ability to use password generation service from any type of box
+ (Mac, WinXX, etc.) that connected to network
+ * Ability to enforce remote users to use only allowed type of
+ password generation
+ '';
+ homepage = http://www.adel.nursat.kz/apg/;
+ license = stdenv.lib.licenses.bsd3;
+ maintainers = with stdenv.lib.maintainers; [ astsmtl ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}