Giter Site home page Giter Site logo

stalkr / misc Goto Github PK

View Code? Open in Web Editor NEW
88.0 88.0 25.0 763 KB

Little bit of this, little bit of that

License: Apache License 2.0

Assembly 0.49% Shell 29.80% Python 22.34% Go 13.94% Perl 29.76% PHP 0.28% JavaScript 0.12% HTML 0.13% Makefile 0.05% C 2.89% ActionScript 0.08% Batchfile 0.11%

misc's People

Contributors

dependabot[bot] avatar stalkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

misc's Issues

Make http_pins.py Python3 friendly

Would be nice if you could port crypto/http_pins.py to Python3. Unfortunately I don't have an experience to fix non-trivial issues:

# python3 http_pins.py server.pem
server.pem:
Traceback (most recent call last):
  File "http_pins.py", line 97, in <module>
    main(sys.argv)
  File "http_pins.py", line 85, in main
    spki = extract_spki(cert)
  File "http_pins.py", line 30, in extract_spki
    out = proc.communicate()[0].strip().split('\n')
TypeError: a bytes-like object is required, not 'str'

One should always advertise at least two PKP pins

crypto/http_pins.py should generate at least two pins no matter what... even if the second one is based on invalid data; otherwise implementations following the RFC will disregard the pins.

Additionally, the second pin has to be non-related to the current trust chain (ie: you can't pin the end-certificate and the intermediary CA as both are used in the current trust chain)

chrome://net-internals#hsts is a good way of seeing what's working and what's not

LICENSE file missing

Hi,

Any chance of you making this client + server MIT licensed? Or perhaps BOOST licensed?

Thanks.

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.