unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50647] [PATCH 0/3] Updates to python-passlib.
@ 2021-09-17 17:54 Vinicius Monego
  2021-09-17 17:55 ` [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib Vinicius Monego
  2021-10-08 18:54 ` bug#50647: [PATCH 0/3] Updates to python-passlib Vinicius Monego
  0 siblings, 2 replies; 5+ messages in thread
From: Vinicius Monego @ 2021-09-17 17:54 UTC (permalink / raw)
  To: 50647; +Cc: Vinicius Monego

Vinicius Monego (3):
  gnu: Remove python2-passlib.
  gnu: python-passlib: Use python-bcrypt.
  gnu: Remove python-py-bcrypt.

 gnu/packages/python-crypto.scm | 41 +++-------------------------------
 1 file changed, 3 insertions(+), 38 deletions(-)

-- 
2.30.2





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib.
  2021-09-17 17:54 [bug#50647] [PATCH 0/3] Updates to python-passlib Vinicius Monego
@ 2021-09-17 17:55 ` Vinicius Monego
  2021-09-17 17:55   ` [bug#50647] [PATCH 2/3] gnu: python-passlib: Use python-bcrypt Vinicius Monego
  2021-09-17 17:55   ` [bug#50647] [PATCH 3/3] gnu: Remove python-py-bcrypt Vinicius Monego
  2021-10-08 18:54 ` bug#50647: [PATCH 0/3] Updates to python-passlib Vinicius Monego
  1 sibling, 2 replies; 5+ messages in thread
From: Vinicius Monego @ 2021-09-17 17:55 UTC (permalink / raw)
  To: 50647; +Cc: Vinicius Monego

* gnu/packages/python-crypto.scm (python2-passlib): Remove variable.
---
 gnu/packages/python-crypto.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index cec57f9fda..cbf563af42 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
 ;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
-;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;;
@@ -171,9 +171,6 @@ useful for a wide range of tasks, from verifying a hash found in /etc/shadow,
 to providing full-strength password hashing for multi-user application.")
     (license license:bsd-3)))
 
-(define-public python2-passlib
-  (package-with-python2 python-passlib))
-
 (define-public python-py-bcrypt
   (package
     (name "python-py-bcrypt")
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#50647] [PATCH 2/3] gnu: python-passlib: Use python-bcrypt.
  2021-09-17 17:55 ` [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib Vinicius Monego
@ 2021-09-17 17:55   ` Vinicius Monego
  2021-09-17 17:55   ` [bug#50647] [PATCH 3/3] gnu: Remove python-py-bcrypt Vinicius Monego
  1 sibling, 0 replies; 5+ messages in thread
From: Vinicius Monego @ 2021-09-17 17:55 UTC (permalink / raw)
  To: 50647; +Cc: Vinicius Monego

py-bcrypt is unmaintained and support will be dropped in passlib 1.8. The
recommended option is bcrypt.

* gnu/packages/python-crypto.scm (python-passlib)[propagated-inputs]: Remove
python-py-bcrypt. Add python-bcrypt.
[arguments]<#:phases>: Don't return #t.
---
Source: https://passlib.readthedocs.io/en/stable/install.html#optional-libraries

 gnu/packages/python-crypto.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index cbf563af42..bfc97e53b3 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -154,13 +154,13 @@ Password Scheme\"} by Niels Provos and David Mazieres.")
     (native-inputs
      `(("python-nose" ,python-nose)))
     (propagated-inputs
-     `(("python-py-bcrypt" ,python-py-bcrypt)))
+     `(("python-bcrypt" ,python-bcrypt)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-before 'check 'set-PYTHON_EGG_CACHE
            ;; Some tests require access to "$HOME/.cython".
-           (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t)))))
+           (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp"))))))
     (home-page "https://bitbucket.org/ecollins/passlib")
     (synopsis "Comprehensive password hashing framework")
     (description
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#50647] [PATCH 3/3] gnu: Remove python-py-bcrypt.
  2021-09-17 17:55 ` [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib Vinicius Monego
  2021-09-17 17:55   ` [bug#50647] [PATCH 2/3] gnu: python-passlib: Use python-bcrypt Vinicius Monego
@ 2021-09-17 17:55   ` Vinicius Monego
  1 sibling, 0 replies; 5+ messages in thread
From: Vinicius Monego @ 2021-09-17 17:55 UTC (permalink / raw)
  To: 50647; +Cc: Vinicius Monego

* gnu/packages/python-crypto.scm (python-py-bcrypt, python2-py-bcrypt): Remove
variables.
---
 gnu/packages/python-crypto.scm | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index bfc97e53b3..1cddc56f1b 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -171,38 +171,6 @@ useful for a wide range of tasks, from verifying a hash found in /etc/shadow,
 to providing full-strength password hashing for multi-user application.")
     (license license:bsd-3)))
 
-(define-public python-py-bcrypt
-  (package
-    (name "python-py-bcrypt")
-    (version "0.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "py-bcrypt" version))
-       (sha256
-        (base32
-         "0y6smdggwi5s72v6p1nn53dg6w05hna3d264cq6kas0lap73p8az"))))
-    (build-system python-build-system)
-    (home-page "https://code.google.com/p/py-bcrypt")
-    (synopsis
-     "Bcrypt password hashing and key derivation")
-    (description
-     "A python wrapper of OpenBSD's Blowfish password hashing code.  This
-system hashes passwords using a version of Bruce Schneier's Blowfish block
-cipher with modifications designed to raise the cost of off-line password
-cracking and frustrate fast hardware implementation.  The computation cost of
-the algorithm is parametrised, so it can be increased as computers get faster.
-The intent is to make a compromise of a password database less likely to
-result in an attacker gaining knowledge of the plaintext passwords (e.g. using
-John the Ripper).")
-    ;; "sha2.c" is under BSD-3;
-    ;; "blowfish.c" and "bcrypt.c" are under BSD-4;
-    ;; the rest is under ISC.
-    (license (list license:isc license:bsd-3 license:bsd-4))))
-
-(define-public python2-py-bcrypt
-  (package-with-python2 python-py-bcrypt))
-
 (define-public python-pyblake2
   (package
     (name "python-pyblake2")
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#50647: [PATCH 0/3] Updates to python-passlib.
  2021-09-17 17:54 [bug#50647] [PATCH 0/3] Updates to python-passlib Vinicius Monego
  2021-09-17 17:55 ` [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib Vinicius Monego
@ 2021-10-08 18:54 ` Vinicius Monego
  1 sibling, 0 replies; 5+ messages in thread
From: Vinicius Monego @ 2021-10-08 18:54 UTC (permalink / raw)
  To: 50647-done

Pushed as fee1a41f9572de5c04d46e6c8e03a442d7f10d4c. Closing.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-08 18:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 17:54 [bug#50647] [PATCH 0/3] Updates to python-passlib Vinicius Monego
2021-09-17 17:55 ` [bug#50647] [PATCH 1/3] gnu: Remove python2-passlib Vinicius Monego
2021-09-17 17:55   ` [bug#50647] [PATCH 2/3] gnu: python-passlib: Use python-bcrypt Vinicius Monego
2021-09-17 17:55   ` [bug#50647] [PATCH 3/3] gnu: Remove python-py-bcrypt Vinicius Monego
2021-10-08 18:54 ` bug#50647: [PATCH 0/3] Updates to python-passlib Vinicius Monego

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).