Giter Site home page Giter Site logo

dspruell / tls-probe Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 16 KB

Simple utility for collecting connection and certificate details from remote SSL/TLS service

Home Page: https://pypi.org/project/tls-probe/

License: ISC License

Python 100.00%
probe ssl tls

tls-probe's People

Contributors

dspruell avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

tls-probe's Issues

Update to handle deprecated naïve datetime properties

tls-probe 1.1.0

/opt/shared/pipx/venvs/tls-probe/lib/python3.11/site-packages/tls_probe.py:85: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc.
  "not_valid_before": str(cert_data.not_valid_before),
/opt/shared/pipx/venvs/tls-probe/lib/python3.11/site-packages/tls_probe.py:86: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
  "not_valid_after": str(cert_data.not_valid_after),

TimeoutError is unhandled

% tls-probe macromedia.com 443                                        
Traceback (most recent call last):
  File "/Users/user/.local/bin/tls-probe", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/user/.local/pipx/venvs/tls-probe/lib/python3.11/site-packages/tls_probe.py", line 117, in cli
    conn_info = get_sock_info(addr, json=args.json, validate=args.validate)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/.local/pipx/venvs/tls-probe/lib/python3.11/site-packages/tls_probe.py", line 56, in get_sock_info
    with socket.create_connection(addr) as sock:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/socket.py", line 851, in create_connection
    raise exceptions[0]
  File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/socket.py", line 836, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.