gnu: Add python-zxcvbn.
* gnu/packages/python-crypto.scm (python-zxcvbn): New variable.
This commit is contained in:
		
							parent
							
								
									4451d08828
								
							
						
					
					
						commit
						e4dbc25794
					
				
					 1 changed files with 30 additions and 0 deletions
				
			
		| 
						 | 
					@ -1760,3 +1760,33 @@ supply a handful of python functions as methods to a class.")
 | 
				
			||||||
    (description "This package provides a Python ECDSA library, optimized for
 | 
					    (description "This package provides a Python ECDSA library, optimized for
 | 
				
			||||||
speed but without C extensions.")
 | 
					speed but without C extensions.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-zxcvbn
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-zxcvbn")
 | 
				
			||||||
 | 
					    (version "4.4.28")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)        ;for tests
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                    (url "https://github.com/dwolfhub/zxcvbn-python")
 | 
				
			||||||
 | 
					                    (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0xzlsqc9h0llfy19w4m39jgfcnvzqviv8jhgwn3r75kip97i5mvs"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (home-page "https://github.com/dwolfhub/zxcvbn-python")
 | 
				
			||||||
 | 
					    (synopsis "Realistic password strength estimator Python library")
 | 
				
			||||||
 | 
					    (description "This is a Python implementation of the @code{zxcvbn} library
 | 
				
			||||||
 | 
					created at Dropbox.  The original library, written for JavaScript, can be
 | 
				
			||||||
 | 
					found @url{https://github.com/dropbox/zxcvbn, here}.  This port includes
 | 
				
			||||||
 | 
					features such as:
 | 
				
			||||||
 | 
					@enumerate
 | 
				
			||||||
 | 
					@item Accepts user data to be added to the dictionaries that are tested
 | 
				
			||||||
 | 
					against (name, birthdate, etc.)
 | 
				
			||||||
 | 
					@item Gives a score to the password, from 0 (terrible) to 4 (great).
 | 
				
			||||||
 | 
					@item Provides feedback on the password and ways to improve it.
 | 
				
			||||||
 | 
					@item Returns time estimates on how long it would take to guess the password
 | 
				
			||||||
 | 
					in different situations.
 | 
				
			||||||
 | 
					@end enumerate")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue