Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892051 - net-analyzer/scapy-2.5.0 fails tests: Exception: Unable to import public key
Summary: net-analyzer/scapy-2.5.0 fails tests: Exception: Unable to import public key
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 07:33 UTC by Agostino Sarubbo
Modified: 2025-03-20 10:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,245.23 KB, text/plain)
2023-01-26 07:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-26 07:33:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/scapy-2.5.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-26 07:33:55 UTC
Created attachment 849219 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-26 07:33:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


AttributeError: 'PrivKeyECDSA' object has no attribute 'key'
AttributeError: 'PrivKeyRSA' object has no attribute 'export'
AttributeError: 'PrivKeyRSA' object has no attribute 'isIssuerCert'
AttributeError: 'PrivKeyRSA' object has no attribute 'issuer_str'
AttributeError: 'PrivKeyRSA' object has no attribute 'key'
AttributeError: 'PrivKeyRSA' object has no attribute '_modulusLen'
AttributeError: 'PrivKeyRSA' object has no attribute 'notAfter_str_simple'
AttributeError: 'PrivKeyRSA' object has no attribute 'notBefore_str_simple'
AttributeError: 'PrivKeyRSA' object has no attribute 'pubKey'
AttributeError: 'PrivKeyRSA' object has no attribute 'remainingDays'
AttributeError: 'PrivKeyRSA' object has no attribute 'serial'
AttributeError: 'PrivKeyRSA' object has no attribute 'show'
AttributeError: 'PrivKeyRSA' object has no attribute 'sigAlg'
AttributeError: 'PrivKeyRSA' object has no attribute 'subject_str'
AttributeError: 'PrivKeyRSA' object has no attribute 'version'
AttributeError: 'PubKeyECDSA' object has no attribute 'pubkey'
ImportError: Cannot execute crypto-related method! Please install python-cryptography v1.7 or later.
NameError: name 'c0' is not defined
NameError: name 'c2' is not defined
NameError: name 'c_tosign' is not defined
NameError: name 'x' is not defined
NameError: name 'x_privNum' is not defined
NameError: name 'x_pubNum' is not defined
NameError: name 'y' is not defined
scapy.asn1.ber.BER_BadTag_Decoding_Error: BERcodec_INTEGER: Got tag [48/0x30] while expecting <ASN1Tag INTEGER[2]>
Comment 3 Larry the Git Cow gentoo-dev 2025-03-20 10:53:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b993103c187687b4552c7bdc5596ed641ba4bc

commit 10b993103c187687b4552c7bdc5596ed641ba4bc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-20 06:28:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-20 10:51:34 +0000

    net-analyzer/scapy: add 2.6.1
    
    Closes: https://bugs.gentoo.org/892051
    Closes: https://bugs.gentoo.org/910000
    Closes: https://bugs.gentoo.org/915645
    Closes: https://bugs.gentoo.org/923088
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/scapy/Manifest                        |  1 +
 .../scapy-2.6.1-missing-autorun-test-marker.patch  | 10 +++
 .../scapy/files/scapy-2.6.1-skip-test.patch        | 20 +++++
 net-analyzer/scapy/scapy-2.5.0.ebuild              |  6 +-
 net-analyzer/scapy/scapy-2.6.1.ebuild              | 86 ++++++++++++++++++++++
 5 files changed, 121 insertions(+), 2 deletions(-)