From 3e9aa5cff31eee3b7c8780bfcc4e6070d57beeee Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 10 Aug 2018 02:37:19 +0200 Subject: gnu: password-store: Update to 1.7.3. * gnu/packages/password-utils.scm (password-store): Update to 1.7.3. --- gnu/packages/password-utils.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 9ac30420b7..b9a0a2de2e 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -358,7 +358,7 @@ any X11 window.") (define-public password-store (package (name "password-store") - (version "1.7.2") + (version "1.7.3") (source (origin (method url-fetch) (uri @@ -366,7 +366,7 @@ any X11 window.") name "-" version ".tar.xz")) (sha256 (base32 - "1sl0d7nc85c6c2bmmmyb8rpmn47vhkj831l153mjlkawjvhwas27")))) + "1x53k5dn3cdmvy8m4fqdld4hji5n676ksl0ql4armkmsds26av1b")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3 From 62ab60aad622610f18f12926ba09cddd30b62b44 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 10 Aug 2018 02:35:45 +0200 Subject: gnu: password-store: Use HTTPS home page. * gnu/packages/password-utils.scm (password-store)[home-page]: Use HTTPS. --- gnu/packages/password-utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index b9a0a2de2e..a4d7c33aac 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -422,7 +422,7 @@ any X11 window.") ("which" ,which) ("xclip" ,xclip) ("xdotool" ,xdotool))) - (home-page "http://www.passwordstore.org/") + (home-page "https://www.passwordstore.org/") (synopsis "Encrypted password manager") (description "Password-store is a password manager which uses GnuPG to store and retrieve passwords. The tool stores each password in its own -- cgit v1.2.3 From c10aa27866e160b2b5c9bc4d46f2ceda93d049f4 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 23 Jul 2018 22:56:40 +0200 Subject: gnu: Add hashcat. * gnu/packages/password-utils.scm (hashcat): New variable. --- gnu/packages/password-utils.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index a4d7c33aac..fd2663b950 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2018 Konrad Hinsen ;;; Copyright © 2018 Thomas Sigurdsen ;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -61,6 +62,7 @@ #:use-module (gnu packages man) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) + #:use-module (gnu packages opencl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-web) @@ -697,3 +699,33 @@ rotating passwords on various web services. It makes it easier to rotate your passwords, one at a time or in bulk, when security events or routine upkeep of your online accounts makes it necessary.") (license license:expat))) + +(define-public hashcat + (package + (name "hashcat") + (version "4.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hashcat.net/files/hashcat-" + version ".tar.gz")) + (sha256 + (base32 + "170i2y32ykgzb1qf1wz3klwn31c09bviz4x3bnrwia65adqrj8xx")))) + (native-inputs + `(("opencl-headers" ,opencl-headers))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ;no tests + #:make-flags (list (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://hashcat.net/hashcat/") + (synopsis "Advanced password recovery utility") + (description "Hashcat is an password recovery utility, supporting five +unique modes of attack for over 200 highly-optimized hashing algorithms. +Hashcat currently supports CPUs, GPUs, and other hardware accelerators on +Linux, Windows, and macOS, and has facilities to help enable distributed +password cracking.") + (license license:expat))) -- cgit v1.2.3 From eb4ffe9b872cc2939e24d6bb16b260dd912ff536 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 31 Jul 2018 12:08:42 +0200 Subject: gnu: Add hashcat-utils. * gnu/packages/password-utils.scm (hashcat-utils): New variable. --- gnu/packages/password-utils.scm | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index fd2663b950..341a9a140c 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -63,6 +63,7 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages opencl) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-web) @@ -729,3 +730,54 @@ Hashcat currently supports CPUs, GPUs, and other hardware accelerators on Linux, Windows, and macOS, and has facilities to help enable distributed password cracking.") (license license:expat))) + +(define-public hashcat-utils + (package + (name "hashcat-utils") + (version "1.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/hashcat/hashcat-utils/releases/download/v" + version "/hashcat-utils-1.8.7z")) + (sha256 + (base32 + "1x80rngjz7gkhwplhw1iqr0wzb6hjkrjfld2kz9kmgp5dr9nys1p")))) + (native-inputs + `(("p7zip" ,p7zip))) + (inputs + `(("perl" ,perl))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no tests + #:make-flags (list "CC=gcc" + ;; Upstream bug(?): "make all" seems to remove the + ;; Perl scripts from the source. + "native") + #:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key source #:allow-other-keys) + (invoke "7z" "x" source) + (chdir (string-append "hashcat-utils-" ,version "/src")) + #t)) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (string-append (assoc-ref outputs "out") "/bin"))) + (mkdir-p out) + (for-each (lambda (file) + (copy-file file (string-append out "/" (basename file ".bin")))) + (find-files "." "\\.bin$")) + (for-each (lambda (file) + (copy-file file (string-append out "/" (basename file ".pl")))) + (find-files "../bin" "\\.pl$")) + #t)))))) + (home-page "https://github.com/hashcat/hashcat-utils/") + (synopsis "Small utilities that are useful in advanced password cracking") + (description "Hashcat-utils are a set of small utilities that are useful +in advanced password cracking. They all are packed into multiple stand-alone +binaries. All of these utils are designed to execute only one specific +function. Since they all work with @code{STDIN} and @code{STDOUT} you can +group them into chains.") + (license license:expat))) -- cgit v1.2.3 From e9ce64250a41d402e0031bd13f96cc6c9b44bbb7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 10 Aug 2018 02:36:51 +0200 Subject: gnu: password-store: Use INSTALL-FILE. * gnu/packages/password-utils.scm (password-store)[arguments]: Substitute a more concise INSTALL-FILE invocation for COPY-FILE. --- gnu/packages/password-utils.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 341a9a140c..06b2873dd2 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -386,9 +386,9 @@ any X11 window.") #t)) (add-after 'install 'install-passmenu (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (copy-file "contrib/dmenu/passmenu" - (string-append out "/bin/passmenu")) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "contrib/dmenu/passmenu" bin) #t))) (add-after 'install 'wrap-path (lambda* (#:key inputs outputs #:allow-other-keys) -- cgit v1.2.3 From 037d1851116fed5e9bf901abe923bff49078e2dd Mon Sep 17 00:00:00 2001 From: Amirouche Date: Thu, 9 Aug 2018 21:32:38 +0200 Subject: gnu: argon2: Install pkgconfig file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/password-utils.scm (argon2)[arguments]: Patch libargon2.pc. Add phase to install it. Signed-off-by: Clément Lassieur --- gnu/packages/password-utils.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 06b2873dd2..b9653693c6 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2018 Thomas Sigurdsen ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018 Amirouche Boubekki ;;; ;;; This file is part of GNU Guix. ;;; @@ -461,8 +462,18 @@ through the pass command.") (let ((out (assoc-ref outputs "out"))) (substitute* "Makefile" (("PREFIX = /usr") (string-append "PREFIX = " out))) + (substitute* "libargon2.pc" + (("prefix=/usr") (string-append "prefix=" out)) + (("@HOST_MULTIARCH@") "") + (("@UPSTREAM_VER@") ,version)) #t))) - (delete 'configure)))) + (delete 'configure) + (add-after 'install 'install-argon2.pc + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "libargon2.pc" + (string-append out "/lib/pkgconfig")) + #t)))))) (home-page "https://www.argon2.com/") (synopsis "Password hashing library") (description "Argon2 provides a key derivation function that was declared -- cgit v1.2.3 From 0e5d66abf6906d32a64dd8f9d8fce5c3ac743ff6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 24 Aug 2018 04:23:24 +0200 Subject: gnu: keepassxc: Update to 2.3.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/password-utils.scm (keepassxc): Update to 2.3.4. [arguments]: Remove obsolete ‘patch-sources’ phase. --- gnu/packages/password-utils.scm | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'gnu/packages/password-utils.scm') diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index b9653693c6..a63fd9bb36 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -100,7 +100,7 @@ human.") (define-public keepassxc (package (name "keepassxc") - (version "2.3.3") + (version "2.3.4") (source (origin (method url-fetch) @@ -109,27 +109,17 @@ human.") version "-src.tar.xz")) (sha256 (base32 - "1m8alsp39vk21zgcvy5zswk0dc1xmajbwnccg7n0lndsi7pqbzyg")))) + "02kq0a7a7hpw824n03apma00yq1c6dds224g15mrnnqqjn4af90c")))) (build-system cmake-build-system) (arguments '(#:configure-flags '("-DWITH_XC_NETWORKING=YES" "-DWITH_XC_BROWSER=YES" - "-DWITH_XC_SSHAGENT=YES") - #:phases - (modify-phases %standard-phases - ;; should be fixed in 2.3.3+, see: - ;; https://github.com/keepassxreboot/keepassxc/pull/1964 - (add-after 'unpack 'patch-sources - (lambda _ - (substitute* "src/gui/entry/EditEntryWidget.cpp" - (("#include ") "#include -#include ")) - #t))))) + "-DWITH_XC_SSHAGENT=YES"))) (inputs `(("argon2" ,argon2) - ("curl" ,curl) ; XC_NETWORKING + ("curl" ,curl) ; XC_NETWORKING ("libgcrypt" ,libgcrypt) - ("libsodium" ,libsodium) ; XC_BROWSER + ("libsodium" ,libsodium) ; XC_BROWSER ("libxi" ,libxi) ("libxtst" ,libxtst) ("qtbase" ,qtbase) @@ -144,7 +134,7 @@ manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key-file which can be stored on an external storage device. The databases are encrypted using the algorithms AES or Twofish.") - ;; Non functional parts use various licences. + ;; Non-functional parts use various licences. (license license:gpl3))) (define-public keepassx -- cgit v1.2.3