Bug 248307 - devel/py-rauth: Add Cryptodome support (Break dependency on security/py-pycrypto)
Summary: devel/py-rauth: Add Cryptodome support (Break dependency on security/py-pycry...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-07-27 19:15 UTC by John W. O'Brien
Modified: 2022-12-31 01:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (koobs)


Attachments
devel/py-rauth: Break dependency on security/py-pycrypto (3.03 KB, patch)
2020-07-27 19:15 UTC, John W. O'Brien
john: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2020-07-27 19:15:00 UTC
Created attachment 216817 [details]
devel/py-rauth: Break dependency on security/py-pycrypto

Changelog
=========

*   Teach rauth.oauth to recognize the applicable internals of PyCryptodome's implementation of Crypto.PublicKey.RSA
*   Replace security/py-pycrypto with security/py-pycryptodome in TEST_DEPENDS


QA
==

portlint: OK
poudriere: OK -- testport on 12.1-RELEASE amd64 w/py27, py35, py36, py37 (default), and py38
nosetests: PASS


Notes
=====

Submitted upstream:

https://github.com/litl/rauth/issues/210
https://github.com/litl/rauth/pull/211
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2022-03-07 19:54:55 UTC
Maintainer reset.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2022-12-31 00:44:34 UTC
Over to new maintainer.

@Moin, it looks like a similar but different fix was applied in 8c88b908be62f556910ef10e11458410492a990d ?
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-12-31 01:14:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f786734023235ec6cff1af08ff0d9c03c31e496

commit 9f786734023235ec6cff1af08ff0d9c03c31e496
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-31 01:08:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-31 01:13:26 +0000

    devel/py-rauth: Add Cryptodome support

    PR:             248307
    Reported by:    john@saltant.com

 devel/py-rauth/Makefile                          |  1 +
 devel/py-rauth/files/patch-rauth__oauth.py (new) | 29 ++++++++++++++++++++++++
 devel/py-rauth/files/patch-setup.py              |  2 +-
 3 files changed, 31 insertions(+), 1 deletion(-)
Comment 4 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-12-31 01:14:57 UTC
Somehow I missed this bug and had a different solution to the problem. However I have merged the changes accordingly.