Page MenuHomeSolus

Remove python2 support for python-pbkdf2
ClosedPublic

Authored by algent on Jul 31 2020, 9:38 PM.
Tags
None
Referenced Files
F11047654: D9347.diff
Thu, Aug 10, 3:42 PM
F11020364: D9347.diff
Mon, Aug 7, 4:13 AM
F11013815: D9347.diff
Fri, Aug 4, 5:39 PM
F10938657: D9347.id.diff
Thu, Jul 13, 4:51 PM
F10852726: D9347.id22536.diff
Jun 13 2023, 4:05 AM
F10849083: D9347.id22610.diff
Jun 11 2023, 6:20 PM
F10846404: D9347.id22630.diff
Jun 11 2023, 4:37 AM
F10845533: D9347.id22534.diff
Jun 11 2023, 12:49 AM
Subscribers

Details

Summary

This package is required only by electrum which is built with python3.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Run electrum and check wallet.
  • Run example:
>>> from pbkdf2 import crypt
>>> crypt("secret")
'$p5k2$$fJXmQUFV$P8Ame5C6UICUUoE/div12KfsSBsIcf7a'
>>> crypt("secret", "XXXXXXXX")
'$p5k2$$XXXXXXXX$L9mVVdq7upotdvtGvXTDTez3FIu3z0uG'
>>> crypt("secret", "XXXXXXXX", 400)  # 400 iterations (the default for crypt)
'$p5k2$$XXXXXXXX$L9mVVdq7upotdvtGvXTDTez3FIu3z0uG'
>>> crypt("spam", iterations=400)
'$p5k2$$KRViI6xT$iAVt/MstaC3z8PAg7WTm3skd6vKuphIB'
>>> crypt("spam", iterations=1000)    # 1000 iterations
'$p5k2$3e8$ymj2XjKg$iBVfVzm696MdFtRdYzfR3fVvL96kSQ/P'

Diff Detail

Repository
R2640 python-pbkdf2
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

JoshStrobl added a subscriber: JoshStrobl.
JoshStrobl added inline comments.
package.yml
9

That isn't really better. It was fine the way it was.

This revision now requires changes to proceed.Aug 5 2020, 3:39 PM
algent marked an inline comment as done.

Make summary as it was.

This revision is now accepted and ready to land.Aug 6 2020, 4:01 PM
This revision was automatically updated to reflect the committed changes.