Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 611592

Summary: dev-python/edpwd: removal (was: support dev-python/pycryptodome)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 611568    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-03 23:15:40 UTC
See tracker.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-26 16:08:51 UTC
In [3]: edpwd.ed.encrypt('test', 'aaa')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-b20e220fbcfa> in <module>()
----> 1 edpwd.ed.encrypt('test', 'aaa')

/usr/lib64/python2.7/site-packages/edpwd/ed.pyc in encrypt(key, password)
     17     if not password or type(password) != str:
     18         raise Exception("Please provide a valid password")
---> 19     obj = Blowfish.new(key)
     20     length = str(len(password))
     21     if len(password) <= 9:

TypeError: new() takes at least 2 arguments (1 given)


Looks like it's missing the mode constant.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-27 14:21:14 UTC
No revdeps. It uses ECB mode which is a bad idea. Upstream statement:

[16:15:16] <mgorny> tampakrap: does edpwd have any real use?
[16:15:28] <tampakrap> nope feel free to kill it

Let's treeclean it.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-27 14:56:18 UTC
commit 36379e9501e73930d7ee679ad92250e0b4e172a0
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon Mar 27 16:23:23 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon Mar 27 16:24:52 2017

    package.mask: Last rite dev-python/edpwd
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-15 09:46:41 UTC
commit cc7da255846bbb2196dcd718b2af71a2c1d90a71
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon May 15 11:14:38 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon May 15 11:42:12 2017

    dev-python/edpwd: Remove last-rited pkg, #611592