Skip to content

Some TLS notebooks are outdated #3073

@cs-862

Description

@cs-862

Brief description

The notebooks 1 to 3 in doc/notebooks/tls are not working properly. Below more details, where every notebook fails:

notebook1_x509.ipynb (first error in [17]):
Error message: AttributeError: 'PrivKeyRSA' object has no attribute 'key'

notebook2_tls_protected (first error in [4]):
Error message AttributeError: certs

notebook3_tls_compromised (first error in [3]):
Error message AttributeError: 'TLS_RSA_WITH_AES_128_CBC_SHA' object has no attribute '_key_block_len_v1_0'

notebook4_tls13 (first errror in [6]):
Error message TypeError: 'NoneType' object is not callable

Environment

  • Scapy version: 2.4.4.dev275
  • Python version: 3.9.1
  • Operating System: ManjaroLinux 20.2.1

How to reproduce

Open the .ipynb-files mentioned above with jupyter notebook and run it by restarting the kernel.

As I am a new scapy-user I am not sure, if there are problems with the TLS layer or if the simply the notebooks must be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions